Facing error… in generating android dynamic form by defining json in particular format
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...
android json dynamic-forms github-projects
|
show 4 more comments
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...
android json dynamic-forms github-projects
You're going to need to supply the code. The class definition that it is attempting to invoke as well as the json conversion code you are using to make the json create a class. Lastly, I hope I'm reading this wrong, as a JSON parser should not be creating an Activity class. It should be creating data models that are used by Activities, but I'm assuming I'm reading your post wrong due to lack of details
– Sam
Nov 13 '18 at 14:03
if you looked at the github that i mentioned above and then if you look at my issue ..you would have understood i think. In that example they provided the sample JSON data and also the code to implement it to the form that i need...
– s.vijay
Nov 14 '18 at 4:19
Eventhough i followed their steps i get this error java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
– s.vijay
Nov 14 '18 at 4:20
Please ...Have a look at it and help me solve this issue @Sam
– s.vijay
Nov 14 '18 at 4:21
1
Sorry @s.vijay I took a quick look, but I don't see any immediate glaring issues. I would have to download the code and spend time on it that I don't have to offer. Usually this error happens when proguard removes it, (but it looks like your minifyEnabled is false, or if you don't have it in the manifest activity, but your sample project has it in there. So I'm not sure off a quick glance. Sorry, you have to confirm your library dependency is being pulled in properly and contains the jsonFormActivity. That's the best I can point you for now.
– Sam
Nov 14 '18 at 21:20
|
show 4 more comments
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...
android json dynamic-forms github-projects
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...
android json dynamic-forms github-projects
android json dynamic-forms github-projects
asked Nov 13 '18 at 12:55
s.vijays.vijay
165
165
You're going to need to supply the code. The class definition that it is attempting to invoke as well as the json conversion code you are using to make the json create a class. Lastly, I hope I'm reading this wrong, as a JSON parser should not be creating an Activity class. It should be creating data models that are used by Activities, but I'm assuming I'm reading your post wrong due to lack of details
– Sam
Nov 13 '18 at 14:03
if you looked at the github that i mentioned above and then if you look at my issue ..you would have understood i think. In that example they provided the sample JSON data and also the code to implement it to the form that i need...
– s.vijay
Nov 14 '18 at 4:19
Eventhough i followed their steps i get this error java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
– s.vijay
Nov 14 '18 at 4:20
Please ...Have a look at it and help me solve this issue @Sam
– s.vijay
Nov 14 '18 at 4:21
1
Sorry @s.vijay I took a quick look, but I don't see any immediate glaring issues. I would have to download the code and spend time on it that I don't have to offer. Usually this error happens when proguard removes it, (but it looks like your minifyEnabled is false, or if you don't have it in the manifest activity, but your sample project has it in there. So I'm not sure off a quick glance. Sorry, you have to confirm your library dependency is being pulled in properly and contains the jsonFormActivity. That's the best I can point you for now.
– Sam
Nov 14 '18 at 21:20
|
show 4 more comments
You're going to need to supply the code. The class definition that it is attempting to invoke as well as the json conversion code you are using to make the json create a class. Lastly, I hope I'm reading this wrong, as a JSON parser should not be creating an Activity class. It should be creating data models that are used by Activities, but I'm assuming I'm reading your post wrong due to lack of details
– Sam
Nov 13 '18 at 14:03
if you looked at the github that i mentioned above and then if you look at my issue ..you would have understood i think. In that example they provided the sample JSON data and also the code to implement it to the form that i need...
– s.vijay
Nov 14 '18 at 4:19
Eventhough i followed their steps i get this error java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
– s.vijay
Nov 14 '18 at 4:20
Please ...Have a look at it and help me solve this issue @Sam
– s.vijay
Nov 14 '18 at 4:21
1
Sorry @s.vijay I took a quick look, but I don't see any immediate glaring issues. I would have to download the code and spend time on it that I don't have to offer. Usually this error happens when proguard removes it, (but it looks like your minifyEnabled is false, or if you don't have it in the manifest activity, but your sample project has it in there. So I'm not sure off a quick glance. Sorry, you have to confirm your library dependency is being pulled in properly and contains the jsonFormActivity. That's the best I can point you for now.
– Sam
Nov 14 '18 at 21:20
You're going to need to supply the code. The class definition that it is attempting to invoke as well as the json conversion code you are using to make the json create a class. Lastly, I hope I'm reading this wrong, as a JSON parser should not be creating an Activity class. It should be creating data models that are used by Activities, but I'm assuming I'm reading your post wrong due to lack of details
– Sam
Nov 13 '18 at 14:03
You're going to need to supply the code. The class definition that it is attempting to invoke as well as the json conversion code you are using to make the json create a class. Lastly, I hope I'm reading this wrong, as a JSON parser should not be creating an Activity class. It should be creating data models that are used by Activities, but I'm assuming I'm reading your post wrong due to lack of details
– Sam
Nov 13 '18 at 14:03
if you looked at the github that i mentioned above and then if you look at my issue ..you would have understood i think. In that example they provided the sample JSON data and also the code to implement it to the form that i need...
– s.vijay
Nov 14 '18 at 4:19
if you looked at the github that i mentioned above and then if you look at my issue ..you would have understood i think. In that example they provided the sample JSON data and also the code to implement it to the form that i need...
– s.vijay
Nov 14 '18 at 4:19
Eventhough i followed their steps i get this error java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
– s.vijay
Nov 14 '18 at 4:20
Eventhough i followed their steps i get this error java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
– s.vijay
Nov 14 '18 at 4:20
Please ...Have a look at it and help me solve this issue @Sam
– s.vijay
Nov 14 '18 at 4:21
Please ...Have a look at it and help me solve this issue @Sam
– s.vijay
Nov 14 '18 at 4:21
1
1
Sorry @s.vijay I took a quick look, but I don't see any immediate glaring issues. I would have to download the code and spend time on it that I don't have to offer. Usually this error happens when proguard removes it, (but it looks like your minifyEnabled is false, or if you don't have it in the manifest activity, but your sample project has it in there. So I'm not sure off a quick glance. Sorry, you have to confirm your library dependency is being pulled in properly and contains the jsonFormActivity. That's the best I can point you for now.
– Sam
Nov 14 '18 at 21:20
Sorry @s.vijay I took a quick look, but I don't see any immediate glaring issues. I would have to download the code and spend time on it that I don't have to offer. Usually this error happens when proguard removes it, (but it looks like your minifyEnabled is false, or if you don't have it in the manifest activity, but your sample project has it in there. So I'm not sure off a quick glance. Sorry, you have to confirm your library dependency is being pulled in properly and contains the jsonFormActivity. That's the best I can point you for now.
– Sam
Nov 14 '18 at 21:20
|
show 4 more comments
1 Answer
1
active
oldest
votes
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.
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53281496%2ffacing-error-in-generating-android-dynamic-form-by-defining-json-in-particula%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
add a comment |
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.
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
add a comment |
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.
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.
answered Nov 15 '18 at 4:21
s.vijays.vijay
165
165
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
add a comment |
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Mark your answer as correct to notify others that the problem got solved.
– Reaz Murshed
Nov 15 '18 at 4:29
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
Sure...Thanks @ReazMurshed
– s.vijay
Nov 16 '18 at 4:19
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53281496%2ffacing-error-in-generating-android-dynamic-form-by-defining-json-in-particula%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You're going to need to supply the code. The class definition that it is attempting to invoke as well as the json conversion code you are using to make the json create a class. Lastly, I hope I'm reading this wrong, as a JSON parser should not be creating an Activity class. It should be creating data models that are used by Activities, but I'm assuming I'm reading your post wrong due to lack of details
– Sam
Nov 13 '18 at 14:03
if you looked at the github that i mentioned above and then if you look at my issue ..you would have understood i think. In that example they provided the sample JSON data and also the code to implement it to the form that i need...
– s.vijay
Nov 14 '18 at 4:19
Eventhough i followed their steps i get this error java.lang.NoClassDefFoundError: com.vijay.jsonwizard.activities.JsonFormActivity
– s.vijay
Nov 14 '18 at 4:20
Please ...Have a look at it and help me solve this issue @Sam
– s.vijay
Nov 14 '18 at 4:21
1
Sorry @s.vijay I took a quick look, but I don't see any immediate glaring issues. I would have to download the code and spend time on it that I don't have to offer. Usually this error happens when proguard removes it, (but it looks like your minifyEnabled is false, or if you don't have it in the manifest activity, but your sample project has it in there. So I'm not sure off a quick glance. Sorry, you have to confirm your library dependency is being pulled in properly and contains the jsonFormActivity. That's the best I can point you for now.
– Sam
Nov 14 '18 at 21:20