centsol / marketlicensing

Automatically exported from code.google.com/p/marketlicensing
Apache License 2.0
0 stars 0 forks source link

Android 4.4.2 "Unable to instantiate application com.android.vending.VendingApplication" #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call checkLicense in GoogleLVL
2. Check the LogCat
3.

What is the expected output? What do you see instead?
A license Check.  "Unfortunately license checker has stopped."

What version of the product are you using? On what operating system?
Platform Android 4.4.2 API Level 19 on Eclipse AVD w/ Google APIs 
    package="com.google.android.vending.licensing"
    android:versionCode="2"
    android:versionName="1.5">

Please provide any additional information below.

03-01 00:24:44.265: E/AndroidRuntime(1550): FATAL EXCEPTION: main
03-01 00:24:44.265: E/AndroidRuntime(1550): Process: com.android.vending, PID: 
1550
03-01 00:24:44.265: E/AndroidRuntime(1550): java.lang.RuntimeException: Unable 
to instantiate application com.android.vending.VendingApplication: 
java.lang.ClassNotFoundException: Didn't find class 
"com.android.vending.VendingApplication" on path: DexPathList[[zip file 
"/system/app/LicenseChecker.apk"],nativeLibraryDirectories=[/vendor/lib, 
/system/lib]]
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.LoadedApk.makeApplication(LoadedApk.java:516)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4317)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.ActivityThread.access$1500(ActivityThread.java:135)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.os.Handler.dispatchMessage(Handler.java:102)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.os.Looper.loop(Looper.java:136)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.ActivityThread.main(ActivityThread.java:5017)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
java.lang.reflect.Method.invoke(Method.java:515)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
dalvik.system.NativeStart.main(Native Method)
03-01 00:24:44.265: E/AndroidRuntime(1550): Caused by: 
java.lang.ClassNotFoundException: Didn't find class 
"com.android.vending.VendingApplication" on path: DexPathList[[zip file 
"/system/app/LicenseChecker.apk"],nativeLibraryDirectories=[/vendor/lib, 
/system/lib]]
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
java.lang.ClassLoader.loadClass(ClassLoader.java:497)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
java.lang.ClassLoader.loadClass(ClassLoader.java:457)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.Instrumentation.newApplication(Instrumentation.java:975)
03-01 00:24:44.265: E/AndroidRuntime(1550):     at 
android.app.LoadedApk.makeApplication(LoadedApk.java:511)
03-01 00:24:44.265: E/AndroidRuntime(1550):     ... 11 more

Original issue reported on code.google.com by troglite...@gmail.com on 1 Mar 2014 at 5:36

GoogleCodeExporter commented 8 years ago
yes same issue occur when i extended with application class in android 4.2.2

Original comment by narayan0...@gmail.com on 8 May 2014 at 5:42

GoogleCodeExporter commented 8 years ago
Any solution for this ????

Original comment by ashishsa...@gmail.com on 31 May 2014 at 11:33

GoogleCodeExporter commented 8 years ago
Is there a work around for this?  I don't get the stack trace in LogCat, but I 
always get the "Unfortunately, license checker has stopped." dialog when trying 
to use LVL in the emulator.  

Original comment by neal....@outlook.com on 28 Oct 2014 at 6:07

GoogleCodeExporter commented 8 years ago
I need a solution

Original comment by gghigg...@gec-it.com on 6 Mar 2015 at 10:22

GoogleCodeExporter commented 8 years ago
Come on Google! From what I've seen this is an issue for all devs. A fix is 
long overdue! Devs, please vote this issue up! 

Original comment by rwillis1...@gmail.com on 21 Mar 2015 at 2:18