android-json-form-wizard icon indicating copy to clipboard operation
android-json-form-wizard copied to clipboard

NoClassDefFoundError

Open ryanhaidy opened this issue 6 years ago • 3 comments

I got an error in my sample project using this library that says:

FATAL EXCEPTION: main Process: com.garudainfinity.leumartsurvey, PID: 30819 java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity at com.garudainfinity.leumartsurvey.activities.SurveyListActivity.onClick(SurveyListActivity.java:156) at android.view.View.performClick(View.java:5214) at android.view.View$PerformClick.run(View.java:20978) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6134) 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:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

this is how i call the activity: intent = new Intent(this, JsonFormActivity.class); String json = "Your complete JSON"; intent.putExtra("json", json); startActivityForResult(intent, 1);

am i doing this wrong?

ryanhaidy avatar May 31 '18 08:05 ryanhaidy

the same happened to me

moanes1 avatar Oct 24 '18 17:10 moanes1

I got an error in my sample project using this library that says:

FATAL EXCEPTION: main Process: com.garudainfinity.leumartsurvey, PID: 30819 java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity at com.garudainfinity.leumartsurvey.activities.SurveyListActivity.onClick(SurveyListActivity.java:156) at android.view.View.performClick(View.java:5214) at android.view.View$PerformClick.run(View.java:20978) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6134) 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:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

this is how i call the activity: intent = new Intent(this, JsonFormActivity.class); String json = "Your complete JSON"; intent.putExtra("json", json); startActivityForResult(intent, 1);

am i doing this wrong?

Did u find the solution for this error?? Could u help me solving this issue?? @ryanhaidy

vijaysakthi avatar Nov 13 '18 11:11 vijaysakthi

@vijayrawatsan Could you help me solve this issue ?? ... java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity

vijaysakthi avatar Nov 14 '18 07:11 vijaysakthi