Reputation: 1560
Recently, I made an account in play store.My App were working good, if debugged from eclipse but when I download the same uploaded app from play store it crashes with following error:
E/AndroidRuntime(13887): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/com.example.example-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
EDIT: The problem were arising when application installed from APK.
Upvotes: 1
Views: 974
Reputation: 1560
I was including appcombat v7 in wrong way. A correct way is given here.
Upvotes: 1
Reputation: 11930
It seem a common problem in some devices, based in: This answer you must try using:
keep class !android.support.v7.internal.view.menu.**,android.support.v7.** {*;}
instead:
-keep class android.support.v7.** {*;}
using proguard. More info in the link.
Upvotes: 1