AppWerft / Ti.SpinKit

17 stars 6 forks source link

Module is crashing with PushWoosh module on Android 4.X.X #7

Open arifje opened 6 years ago

arifje commented 6 years ago

When this module is combined with the PushWoosh module it causes a crash when the app starts;

I/dalvikvm(24345): Failed resolving Lorg/appcelerator/kroll/KrollProxy; interface 8079 'Lorg/appcelerator/titanium/TiLifecycle$OnLifecycleEvent;'
W/dalvikvm(24345): Link of class 'Lorg/appcelerator/kroll/KrollProxy;' failed
W/dalvikvm(24345): Unable to resolve superclass of Lorg/appcelerator/kroll/KrollModule; (8019)
W/dalvikvm(24345): Link of class 'Lorg/appcelerator/kroll/KrollModule;' failed
W/dalvikvm(24345): Unable to resolve superclass of Lde/appwerft/spinkit/SpinKitModule; (8013)
W/dalvikvm(24345): Link of class 'Lde/appwerft/spinkit/SpinKitModule;' failed
I/dalvikvm(24345): Could not find method de.appwerft.spinkit.SpinKitModule.onAppCreate, referenced from method skoften.android.app.SkoftenApplication.onCreate
W/dalvikvm(24345): VFY: unable to resolve static method 49658: Lde/appwerft/spinkit/SpinKitModule;.onAppCreate (Lorg/appcelerator/titanium/TiApplication;)V
D/dalvikvm(24345): VFY: replacing opcode 0x71 at 0x0066
W/dalvikvm(24345): VFY: unable to find class referenced in signature (Lorg/appcelerator/titanium/TiRootActivity;)
W/dalvikvm(24345): VFY: Ljava/lang/Object; is not instance of Landroid/app/Activity;
W/dalvikvm(24345): VFY: bad arg 1 (into Landroid/app/Activity;)
W/dalvikvm(24345): VFY:  rejecting call to Lorg/appcelerator/titanium/TiVerify;.<init> (Landroid/app/Activity;Lorg/appcelerator/titanium/TiApplication;)V
W/dalvikvm(24345): VFY:  rejecting opcode 0x70 at 0x0002
W/dalvikvm(24345): VFY:  rejected Lskoften/android/app/SkoftenApplication;.verifyCustomModules (Lorg/appcelerator/titanium/TiRootActivity;)V
W/dalvikvm(24345): Verifier rejected class Lskoften/android/app/SkoftenApplication;
W/dalvikvm(24345): Class init failed in newInstance call (Lskoften/android/app/SkoftenApplication;)
D/AndroidRuntime(24345): Shutting down VM
W/dalvikvm(24345): threadid=1: thread exiting with uncaught exception (group=0x4191cda0)
E/AndroidRuntime(24345): FATAL EXCEPTION: main
E/AndroidRuntime(24345): Process: skoften.android.app, PID: 24345
E/AndroidRuntime(24345): java.lang.VerifyError: skoften/android/app/SkoftenApplication
E/AndroidRuntime(24345):        at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime(24345):        at java.lang.Class.newInstance(Class.java:1208)
E/AndroidRuntime(24345):        at android.app.Instrumentation.newApplication(Instrumentation.java:996)
E/AndroidRuntime(24345):        at android.app.Instrumentation.newApplication(Instrumentation.java:981)
E/AndroidRuntime(24345):        at android.app.LoadedApk.makeApplication(LoadedApk.java:511)
E/AndroidRuntime(24345):        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4702)
E/AndroidRuntime(24345):        at android.app.ActivityThread.access$1600(ActivityThread.java:174)
E/AndroidRuntime(24345):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1367)
E/AndroidRuntime(24345):        at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(24345):        at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime(24345):        at android.app.ActivityThread.main(ActivityThread.java:5593)
E/AndroidRuntime(24345):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(24345):        at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(24345):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime(24345):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime(24345):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  757):   Force finishing activity skoften.android.app/.SkoftenActivity

Running SDK 7.0.1.GA Platform: Android