uPhyca / stetho-realm

Realm module for Stetho
Other
738 stars 114 forks source link

java.lang.RuntimeException: Unable to instantiate application #72

Open clearnetinc opened 4 years ago

clearnetinc commented 4 years ago

I am trying to RUN my FLUTTER app and i keep getting error:

Launching lib\main.dart on TECNO LC6 in debug mode... ✓ Built build\app\outputs\flutter-apk\app-debug.apk. E/AndroidRuntime(32535): FATAL EXCEPTION: main E/AndroidRuntime(32535): Process: com.oneclick.errands, PID: 32535 E/AndroidRuntime(32535): java.lang.RuntimeException: Unable to instantiate application com.oneclick.errands.Application: java.lang.ClassNotFoundException: Didn't find class "com.oneclick.errands.Application" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.oneclick.errands-9wup51WXGNuAJqp8P2doyw==/base.apk"],nativeLibraryDirectories=[/data/app/com.oneclick.errands-9wup51WXGNuAJqp8P2doyw==/lib/arm, /data/app/com.oneclick.errands-9wup51WXGNuAJqp8P2doyw==/base.apk!/lib/armeabi-v7a, /system/lib]] E/AndroidRuntime(32535): at android.app.LoadedApk.makeApplication(LoadedApk.java:1069) E/AndroidRuntime(32535): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5923) E/AndroidRuntime(32535): at android.app.ActivityThread.access$1200(ActivityThread.java:213) E/AndroidRuntime(32535): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1685) E/AndroidRuntime(32535): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime(32535): at android.os.Looper.loop(Looper.java:193) E/AndroidRuntime(32535): at android.app.ActivityThread.main(ActivityThread.java:6758) E/AndroidRuntime(32535): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(32535): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:497) E/AndroidRuntime(32535): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:912) E/AndroidRuntime(32535): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.oneclick.errands.Application" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.oneclick.errands-9wup51WXGNuAJqp8P2doyw==/base.apk"],nativeLibraryDirectories=[/data/app/com.oneclick.errands-9wup51WXGNuAJqp8P2doyw==/lib/arm, /data/app/com.oneclick.errands-9wup51WXGNuAJqp8P2doyw==/base.apk!/lib/armeabi-v7a, /system/lib]] E/AndroidRuntime(32535): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) E/AndroidRuntime(32535): at java.lang.ClassLoader.loadClass(ClassLoader.java:379) E/AndroidRuntime(32535): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/AndroidRuntime(32535): at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:50) E/AndroidRuntime(32535): at androidx.core.app.CoreComponentFactory.instantiateApplication(CoreComponentFactory.java:52) E/AndroidRuntime(32535): at android.app.Instrumentation.newApplication(Instrumentation.java:1120) E/AndroidRuntime(32535): at android.app.LoadedApk.makeApplication(LoadedApk.java:1061) E/AndroidRuntime(32535): ... 9 more

Then it hangs on the last step. I even left it for 3hours n got impatient.

!!!HELP!!!