To see guys I've been with this problem a long time, and I have not been able to fix it, I hope you can give me a little hand.
* I'm using eclipse moon
* Use LibGDX
* My app has ads
On very few devices my app crashes, in most the app works very well, the crash report is as follows:
09-11 19:31:59.656: E/AndroidRuntime(7022): FATAL EXCEPTION: main
09-11 19:31:59.656: E/AndroidRuntime(7022): java.lang.NoClassDefFoundError: android.support.v4.util.SimpleArrayMap
09-11 19:31:59.656: E/AndroidRuntime(7022): at com.google.android.gms.ads.internal.zzs.<init>(Unknown Source)
After reading some similar questions, some answers suggested adding android-support-v4.jar
Well, I added it in the following way, drag the jar to the lib
folder in proyecto-android
Then I clicked right on the proyecto-android
properties-> java build path-> Libraries- > Add Jars
and here I added the jar that I had put in the folder lib
And now the following error occurs:
[ 2016-09-11 19:33:41 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
[2016-09-11 19:33:41 - proyecto-android] Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536
Thanks in advance!