Click here to Skip to main content
15,894,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi android enthusiast,
Whenever i try testing my app in the emilator it crashes showing the below error message in the logcat


(this=0x7f80610c00,w=480,h=800)
08-19 23:44:26.387 24407-24407/com.okeme.creoconsulting.unity I/art: Rejecting re-init on previously-failed class java.lang.Class<com.okeme.creoconsulting.unity.activity.welcome>
08-19 23:44:26.388 24407-24407/com.okeme.creoconsulting.unity D/AndroidRuntime: Shutting down VM
08-19 23:44:26.390 24407-24407/com.okeme.creoconsulting.unity E/UncaughtException: java.lang.NoClassDefFoundError: com.okeme.creoconsulting.unity.activity.Welcome
at com.okeme.creoconsulting.unity.activity.LoginActivity.goToSplash(LoginActivity.java:137)
at com.okeme.creoconsulting.unity.activity.LoginActivity.access$200(LoginActivity.java:33)
at com.okeme.creoconsulting.unity.activity.LoginActivity$1$1.run(LoginActivity.java:110)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5643)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
08-19 23:44:26.391 24407-24407/com.okeme.creoconsulting.unity E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.okeme.creoconsulting.unity, PID: 24407
java.lang.NoClassDefFoundError: com.okeme.creoconsulting.unity.activity.Welcome
at com.okeme.creoconsulting.unity.activity.LoginActivity.goToSplash(LoginActivity.java:137)
at com.okeme.creoconsulting.unity.activity.LoginActivity.access$200(LoginActivity.java:33)
at com.okeme.creoconsulting.unity.activity.LoginActivity$1$1.run(LoginActivity.java:110)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5643)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
08-19 23:44:33.037 24407-24457/com.okeme.creoconsulting.unity D/OpenGLRenderer: Flushing caches (mode 0)

I really need help concernong this, thanks in advance

What I have tried:

I have already google it but not getting direct solution
Posted
Updated 19-Aug-18 22:37pm

1 solution

Look at the error message instead of expecting Google to fix your code. It is quite clear that you are trying to run a class called Welcome, but the Java VM cannot find such a class in the program you are trying to run.
08-19 23:44:26.390 24407-24407/com.okeme.creoconsulting.unity E/UncaughtException: java.lang.NoClassDefFoundError: com.okeme.creoconsulting.unity.activity.Welcome
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900