Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError #42

Open
ryanhaidy opened this issue May 31, 2018 · 3 comments
Open

NoClassDefFoundError #42

ryanhaidy opened this issue May 31, 2018 · 3 comments

Comments

@ryanhaidy
Copy link

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?

@moanes1
Copy link

moanes1 commented Oct 24, 2018

the same happened to me

@vijaysakthi
Copy link

vijaysakthi commented Nov 13, 2018

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
Copy link

vijaysakthi commented Nov 14, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants