Android studio Update bundle jarsigner: key associated with key0 not a private key
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
-Want to update my published App with Android Studio.
-Fixed a bug.
-Changed to versionCode 2 and versionName "1.1" on build.gradle (Module)
-Generating Signed Bundle
-Key store path C:FolderFolderAndroidMyApp.jks
-Both passwords are correct
-Key alias: key0 (default as on first time)
then error:
Cause: jarsigner.exefailed with exit code 1 :
jarsigner: key associated with key0 not a private key
Thanks.
java android-studio
add a comment |
-Want to update my published App with Android Studio.
-Fixed a bug.
-Changed to versionCode 2 and versionName "1.1" on build.gradle (Module)
-Generating Signed Bundle
-Key store path C:FolderFolderAndroidMyApp.jks
-Both passwords are correct
-Key alias: key0 (default as on first time)
then error:
Cause: jarsigner.exefailed with exit code 1 :
jarsigner: key associated with key0 not a private key
Thanks.
java android-studio
did you got any solution for this. I am too facing this issue after update android studio to 3.3
– Rakesh
Jan 24 at 10:50
add a comment |
-Want to update my published App with Android Studio.
-Fixed a bug.
-Changed to versionCode 2 and versionName "1.1" on build.gradle (Module)
-Generating Signed Bundle
-Key store path C:FolderFolderAndroidMyApp.jks
-Both passwords are correct
-Key alias: key0 (default as on first time)
then error:
Cause: jarsigner.exefailed with exit code 1 :
jarsigner: key associated with key0 not a private key
Thanks.
java android-studio
-Want to update my published App with Android Studio.
-Fixed a bug.
-Changed to versionCode 2 and versionName "1.1" on build.gradle (Module)
-Generating Signed Bundle
-Key store path C:FolderFolderAndroidMyApp.jks
-Both passwords are correct
-Key alias: key0 (default as on first time)
then error:
Cause: jarsigner.exefailed with exit code 1 :
jarsigner: key associated with key0 not a private key
Thanks.
java android-studio
java android-studio
asked Jan 4 at 10:35
jerjer
283
283
did you got any solution for this. I am too facing this issue after update android studio to 3.3
– Rakesh
Jan 24 at 10:50
add a comment |
did you got any solution for this. I am too facing this issue after update android studio to 3.3
– Rakesh
Jan 24 at 10:50
did you got any solution for this. I am too facing this issue after update android studio to 3.3
– Rakesh
Jan 24 at 10:50
did you got any solution for this. I am too facing this issue after update android studio to 3.3
– Rakesh
Jan 24 at 10:50
add a comment |
2 Answers
2
active
oldest
votes
"Build" -> "Clean project", then "Generate signed ..." again - worked fine for me
add a comment |
Well i also faced this problem after upgrading to android studio 3.3 and i resolved in 3 steps. But firstly make sure you backup your whole project.
- In Android Studio goto File > Project Structure and untick from "use embedded JDK" then click OK
- Goto Computer Settings (system settings) (win + pause key) then go to Advanced system settings>Environment variables. if JAVA_HOME not present then add it and set path to your installed JDK.
As i couldn't find a direct approach to modify jdk path in my project that is upgraded in some way to android studio 3.3 settings, i did following(for the last step) BUT MAKE SURE YOU MAKE BACKUP BEFORE THIS.
- To make sure where i am guiding come to project view, I deleted ".grade", ".idea", "capture", "gradle" folders from the root and "build", "release", "lib" folder from "app" leaving "src" as it is. Deleted root.iml and did not delete app.iml file Then rebuild the project and then created the Signed package.
It went successful after 2 try. To be very honest i did the last step twice by restoring files from backup. As deleting these folders i messed up 1 time.
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%2f54037262%2fandroid-studio-update-bundle-jarsigner-key-associated-with-key0-not-a-private-k%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
"Build" -> "Clean project", then "Generate signed ..." again - worked fine for me
add a comment |
"Build" -> "Clean project", then "Generate signed ..." again - worked fine for me
add a comment |
"Build" -> "Clean project", then "Generate signed ..." again - worked fine for me
"Build" -> "Clean project", then "Generate signed ..." again - worked fine for me
answered Feb 28 at 20:42
Koozy.uaKoozy.ua
212
212
add a comment |
add a comment |
Well i also faced this problem after upgrading to android studio 3.3 and i resolved in 3 steps. But firstly make sure you backup your whole project.
- In Android Studio goto File > Project Structure and untick from "use embedded JDK" then click OK
- Goto Computer Settings (system settings) (win + pause key) then go to Advanced system settings>Environment variables. if JAVA_HOME not present then add it and set path to your installed JDK.
As i couldn't find a direct approach to modify jdk path in my project that is upgraded in some way to android studio 3.3 settings, i did following(for the last step) BUT MAKE SURE YOU MAKE BACKUP BEFORE THIS.
- To make sure where i am guiding come to project view, I deleted ".grade", ".idea", "capture", "gradle" folders from the root and "build", "release", "lib" folder from "app" leaving "src" as it is. Deleted root.iml and did not delete app.iml file Then rebuild the project and then created the Signed package.
It went successful after 2 try. To be very honest i did the last step twice by restoring files from backup. As deleting these folders i messed up 1 time.
add a comment |
Well i also faced this problem after upgrading to android studio 3.3 and i resolved in 3 steps. But firstly make sure you backup your whole project.
- In Android Studio goto File > Project Structure and untick from "use embedded JDK" then click OK
- Goto Computer Settings (system settings) (win + pause key) then go to Advanced system settings>Environment variables. if JAVA_HOME not present then add it and set path to your installed JDK.
As i couldn't find a direct approach to modify jdk path in my project that is upgraded in some way to android studio 3.3 settings, i did following(for the last step) BUT MAKE SURE YOU MAKE BACKUP BEFORE THIS.
- To make sure where i am guiding come to project view, I deleted ".grade", ".idea", "capture", "gradle" folders from the root and "build", "release", "lib" folder from "app" leaving "src" as it is. Deleted root.iml and did not delete app.iml file Then rebuild the project and then created the Signed package.
It went successful after 2 try. To be very honest i did the last step twice by restoring files from backup. As deleting these folders i messed up 1 time.
add a comment |
Well i also faced this problem after upgrading to android studio 3.3 and i resolved in 3 steps. But firstly make sure you backup your whole project.
- In Android Studio goto File > Project Structure and untick from "use embedded JDK" then click OK
- Goto Computer Settings (system settings) (win + pause key) then go to Advanced system settings>Environment variables. if JAVA_HOME not present then add it and set path to your installed JDK.
As i couldn't find a direct approach to modify jdk path in my project that is upgraded in some way to android studio 3.3 settings, i did following(for the last step) BUT MAKE SURE YOU MAKE BACKUP BEFORE THIS.
- To make sure where i am guiding come to project view, I deleted ".grade", ".idea", "capture", "gradle" folders from the root and "build", "release", "lib" folder from "app" leaving "src" as it is. Deleted root.iml and did not delete app.iml file Then rebuild the project and then created the Signed package.
It went successful after 2 try. To be very honest i did the last step twice by restoring files from backup. As deleting these folders i messed up 1 time.
Well i also faced this problem after upgrading to android studio 3.3 and i resolved in 3 steps. But firstly make sure you backup your whole project.
- In Android Studio goto File > Project Structure and untick from "use embedded JDK" then click OK
- Goto Computer Settings (system settings) (win + pause key) then go to Advanced system settings>Environment variables. if JAVA_HOME not present then add it and set path to your installed JDK.
As i couldn't find a direct approach to modify jdk path in my project that is upgraded in some way to android studio 3.3 settings, i did following(for the last step) BUT MAKE SURE YOU MAKE BACKUP BEFORE THIS.
- To make sure where i am guiding come to project view, I deleted ".grade", ".idea", "capture", "gradle" folders from the root and "build", "release", "lib" folder from "app" leaving "src" as it is. Deleted root.iml and did not delete app.iml file Then rebuild the project and then created the Signed package.
It went successful after 2 try. To be very honest i did the last step twice by restoring files from backup. As deleting these folders i messed up 1 time.
answered Jan 24 at 19:51
Vanshaj DagaVanshaj Daga
45447
45447
add a comment |
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%2f54037262%2fandroid-studio-update-bundle-jarsigner-key-associated-with-key0-not-a-private-k%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
did you got any solution for this. I am too facing this issue after update android studio to 3.3
– Rakesh
Jan 24 at 10:50