i am using Android Studio 3.2v and i am getting this error when i run my main_activity

Multi tool use
Execution failed for task ':app:transformClassesWithInstantRunForDebug


add a comment |
Execution failed for task ':app:transformClassesWithInstantRunForDebug


Update your SDK and SDK Tools please.
– Ümañg ßürmån
Sep 30 '18 at 6:58
2
This answer may be helpful stackoverflow.com/questions/38206640/…
– Show Young Soyinka
Sep 30 '18 at 7:07
@Young Soyinka : tried this already it is not working
– prasad tikkas
Sep 30 '18 at 7:31
@Umang: Everything is upto date...
– prasad tikkas
Sep 30 '18 at 7:33
Tried almost everything still the error shown in the attached images is there.. Plz Help
– prasad tikkas
Sep 30 '18 at 7:33
add a comment |
Execution failed for task ':app:transformClassesWithInstantRunForDebug


Execution failed for task ':app:transformClassesWithInstantRunForDebug




edited Nov 23 '18 at 17:12
Catarina Ferreira
5771621
5771621
asked Sep 30 '18 at 6:46


prasad tikkasprasad tikkas
31
31
Update your SDK and SDK Tools please.
– Ümañg ßürmån
Sep 30 '18 at 6:58
2
This answer may be helpful stackoverflow.com/questions/38206640/…
– Show Young Soyinka
Sep 30 '18 at 7:07
@Young Soyinka : tried this already it is not working
– prasad tikkas
Sep 30 '18 at 7:31
@Umang: Everything is upto date...
– prasad tikkas
Sep 30 '18 at 7:33
Tried almost everything still the error shown in the attached images is there.. Plz Help
– prasad tikkas
Sep 30 '18 at 7:33
add a comment |
Update your SDK and SDK Tools please.
– Ümañg ßürmån
Sep 30 '18 at 6:58
2
This answer may be helpful stackoverflow.com/questions/38206640/…
– Show Young Soyinka
Sep 30 '18 at 7:07
@Young Soyinka : tried this already it is not working
– prasad tikkas
Sep 30 '18 at 7:31
@Umang: Everything is upto date...
– prasad tikkas
Sep 30 '18 at 7:33
Tried almost everything still the error shown in the attached images is there.. Plz Help
– prasad tikkas
Sep 30 '18 at 7:33
Update your SDK and SDK Tools please.
– Ümañg ßürmån
Sep 30 '18 at 6:58
Update your SDK and SDK Tools please.
– Ümañg ßürmån
Sep 30 '18 at 6:58
2
2
This answer may be helpful stackoverflow.com/questions/38206640/…
– Show Young Soyinka
Sep 30 '18 at 7:07
This answer may be helpful stackoverflow.com/questions/38206640/…
– Show Young Soyinka
Sep 30 '18 at 7:07
@Young Soyinka : tried this already it is not working
– prasad tikkas
Sep 30 '18 at 7:31
@Young Soyinka : tried this already it is not working
– prasad tikkas
Sep 30 '18 at 7:31
@Umang: Everything is upto date...
– prasad tikkas
Sep 30 '18 at 7:33
@Umang: Everything is upto date...
– prasad tikkas
Sep 30 '18 at 7:33
Tried almost everything still the error shown in the attached images is there.. Plz Help
– prasad tikkas
Sep 30 '18 at 7:33
Tried almost everything still the error shown in the attached images is there.. Plz Help
– prasad tikkas
Sep 30 '18 at 7:33
add a comment |
1 Answer
1
active
oldest
votes
NoClassDefinationFound error
Means that it couldn't find class com/google/protobuf/message
. Perhaps you missed one of the dependencies in the Build.gradle
which is related to com/google/protobuf/message
. You can try to add this dependency however:
https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/2.0.3
Which seems to be related.
- Also, use
implementation
instead ofcompile
. - Try disabling multidex or, update it to the latest version
(1.0.3).
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
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%2f52575352%2fi-am-using-android-studio-3-2v-and-i-am-getting-this-error-when-i-run-my-main-ac%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
NoClassDefinationFound error
Means that it couldn't find class com/google/protobuf/message
. Perhaps you missed one of the dependencies in the Build.gradle
which is related to com/google/protobuf/message
. You can try to add this dependency however:
https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/2.0.3
Which seems to be related.
- Also, use
implementation
instead ofcompile
. - Try disabling multidex or, update it to the latest version
(1.0.3).
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
add a comment |
NoClassDefinationFound error
Means that it couldn't find class com/google/protobuf/message
. Perhaps you missed one of the dependencies in the Build.gradle
which is related to com/google/protobuf/message
. You can try to add this dependency however:
https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/2.0.3
Which seems to be related.
- Also, use
implementation
instead ofcompile
. - Try disabling multidex or, update it to the latest version
(1.0.3).
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
add a comment |
NoClassDefinationFound error
Means that it couldn't find class com/google/protobuf/message
. Perhaps you missed one of the dependencies in the Build.gradle
which is related to com/google/protobuf/message
. You can try to add this dependency however:
https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/2.0.3
Which seems to be related.
- Also, use
implementation
instead ofcompile
. - Try disabling multidex or, update it to the latest version
(1.0.3).
NoClassDefinationFound error
Means that it couldn't find class com/google/protobuf/message
. Perhaps you missed one of the dependencies in the Build.gradle
which is related to com/google/protobuf/message
. You can try to add this dependency however:
https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/2.0.3
Which seems to be related.
- Also, use
implementation
instead ofcompile
. - Try disabling multidex or, update it to the latest version
(1.0.3).
answered Sep 30 '18 at 8:01


MohsenMohsen
10.6k42876
10.6k42876
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
add a comment |
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
Thanks....Worked very well...
– prasad tikkas
Sep 30 '18 at 19:33
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%2f52575352%2fi-am-using-android-studio-3-2v-and-i-am-getting-this-error-when-i-run-my-main-ac%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
HOa4S0pFhoK8
Update your SDK and SDK Tools please.
– Ümañg ßürmån
Sep 30 '18 at 6:58
2
This answer may be helpful stackoverflow.com/questions/38206640/…
– Show Young Soyinka
Sep 30 '18 at 7:07
@Young Soyinka : tried this already it is not working
– prasad tikkas
Sep 30 '18 at 7:31
@Umang: Everything is upto date...
– prasad tikkas
Sep 30 '18 at 7:33
Tried almost everything still the error shown in the attached images is there.. Plz Help
– prasad tikkas
Sep 30 '18 at 7:33