Android GCM saying class not found (java.lang.NoClassDefFoundError: GCM). I have put my google play-services in libs folder only. I have crossed checked it several times. Weird thing is its working in lollipop (API 21) but not working in jelly bean (API 17). Can any one please help me out. Thank you!
Related
I have upgraded my Android app from Quickblox Version 2.6.0 to 3.3.0. I am now experiencing the issue of missing audio on my video calls. It seems to be an outbound issue, as I have tested the app in interaction with the old version. In the logs i can see following error:
E/libjingle: (stunport.cc:283): Jingle:Port[0xb850ea58:audio:1:0:local:Net[lo:127.0.0.0/8:Loopback]]: UDP send of 96 bytes failed with error 22
Has anybody experienced an similar issue?
Coming back to this issue I shamefully have to admit, that I was missing the proper permission in the AndroidManifest. :P
<uses-permission android:name="android.permission.RECORD_AUDIO" />
The communication now works as expected. But I still see the errors in the logs. Can anybody shine some light on why they are occuring? Is this only network related (and not preventable)?
my app got rejected 2 times due to this issue:
"Specifically, we found that this app checks for all apps installed on this device by scanning all known URL schemes using a service called iHasApp"
My code doesn't have the iHasApp framework, i tried to search for it but i can't find it.
Your code must be using iHasApp and now a days apple is rejecting this kind of app. iHasApp misuses "canOpenURL:".
I'm trying to implement Device Single Sign-On for a couple applications I'm "experimenting" with. The apps are in the same WL 6.2 project and are based on the "Form Based Authentication" Tutorial on developers site.
Ignoring the obvious - that I mistyped something - I'm mostly baffled that it works in the iOS Simulator, but not on my iPhone. I realize that working on the iOS simulator is no guarantee for the real device.
Someone showed me a video on this topic using an Android device, so I suppose the large question is - should this work on an iPhone? If so, any thoughts on what to look for?
TIA
-bob-
From the comments, by user3530200:
i was "signing" the apps improperly in XCODE. Once I confirmed that
the ID prefix was the same, it started to work. Item 3 at this link. For reference, step 3 # http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/devref/t_enabling_simple_data_sharing_native_iOS.html
I have created a APP using GCM which works correctly on Android platform 4.1 and 4.03 (I.e. Gets a RegId and register itself in my server and can even recieve a GCM), but when I start the emulator for android 2.3 (API 10) then the app gets installed but never registered I.E never gets RegId. When I start (install) the application for the first time then it receives a GCM message which I do not understand where it comes from but I can see that the device is not registered in my server. I also used a HTC phone with 2.3.3 android software and stil same result. Can any one see what the problem might be?
On the emulator it should normally not work, because it will not have a google account tied to the device. It is requiered for a device to have a google account and Google Play installed to register for an id.
The phone on the other hand should work.
GCM will Work from Android 2.2.
Refer this tutorial it may help you,
http://androidv5.wordpress.com/2012/08/15/how-to-implement-google-cloud-messaging/
it works fine for me.
I am implementing the c2md, in phone android 2.2,
I have follow the all the steps from http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html
and use the php code from C2DM implementation PHP code ,i get response id=0:1323075593128502%2fd4838f00000031 but i can not get the notification of phone.also i have try with command prompt.
Does anyone idea where i have made the mistake.
Also register the account on google.
Firewall issue, probably? Try when the device is on 3G, as opposed to WiFi.