Can't Repro
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Thank you for this feedback. The team may reach out for more information on triaging or reproducing this issue.
uc...@google.com <uc...@google.com> #3
Thanks for the feedback. We are sorry it took so long for us to get to this report. We would really appreciate it if you could confirm that this issue is still present in the latest version of Android Studio and if so we will route it to the right team.
For information of what’s needed in the report please don’t forget to read this guide athttps://developer.android.com/studio/report-bugs
For information of what’s needed in the report please don’t forget to read this guide at
an...@google.com <an...@google.com> #4
Our team had requested additional information for this issue which was not provided within 30 days. Unfortunately there is not enough information for us to proceed and this issue is now closed.
In the future, if you encounter this or any other issue, please readhttps://developer.android.com/studio/report-bugs.html and file a new bug report with all the required information. This will help ensure the team can correctly triage, reproduce, and resolve your issue.
Thank you!
In the future, if you encounter this or any other issue, please read
Thank you!
Description
1. Create empty Android project in AndroidStudio
2. Generate jks keystore file from Build -> Generate Signed APK... and put it somewhere inside project directory
3. Use generated keystore file in project build.gradle
4. Build & run the project on device to make sure signing works
5. Remove keystore file from the project
6. Press on project root folder in "Project" view and select "Local History"
7. Find last history entry with removed keystore file and restore it
8. Build the project and observe
Actual:
9. Project is not compiling due to an error "Error:Execution failed for task ':app:packageRelease'.
> com.android.ide.common.signing.KeytoolException: Failed to read key key from store "/Users/donvigo/work/projects/TestKeystoreRevert/app/test.jks": null"
Expected:
9. Original version of keystore file should be restored from history and project should compile without errors
Studio Build: Android Studio 2.3.1, Build #AI-162.3871768, built on April 1, 2017
Version of Java: JRE: 1.8.0_112-release-b06 x86_64, JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
OS: OS X El Capitan, Version 10.11.3
PFA screenshots and project samples.
"TestKeystoreRevert-before-restore.zip" - project builds fine
"TestKeystoreRevert-after-restore-broken-keystore.zip" - build is broken after keystore file restore