Facing error... in generating android dynamic form by defining json in particular format

132 views Asked by At

I want to generate dynamic form in android from JSON data (ie) defined in particular format.. I referred this example

https://github.com/vijayrawatsan/android-json-form-wizard

Please ..Have a look at that example. I followed exactly the same steps as in the link , added repositories and dependency files in my android project.

As i build my gradle file , it synced successfully. But, While running the app it throws error..

2018-11-13 17:23:46.250 10379-10379/com.kt.rvs E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.kt.rvs, PID: 10379
java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
    at com.kt.rvs.MainActivity$onCreate$1.onClick(MainActivity.kt:22)

This is the error and the issue i face

java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity

Please ..Help me solve this issue...

1

There are 1 answers

4
s.vijay On BEST ANSWER

I fixed this issue by importing the android-json-form-wizard library fully in my project by using Import library option in android studio tool, instead of importing through dependency implementation in gradle file.