Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
ad...@google.com <ad...@google.com>
pa...@google.com <pa...@google.com>
pa...@google.com <pa...@google.com> #2
The fix for this issue will be available in 4.1 beta 4, when double clicking on a NULL cell the NULL value will be persisted.
The drawback of this solution is that it's not possible to just edit a cell and replace NULL with empty string. It has to be done by running an UPDATE query or editing the cell to something different from empty string first.
Description
I am sure about the AS version because I kept a PC with the 3.6 version until today and it worked, I have just updated the Studio and now the same problems appears. I also tried with a clean project and all worked fine until I added a keystore, then I couldn't no more add activities or fragments. I tried to boot the program inside the console in a Linux PC and when I create an activity/fragment the following log appears:
2020-06-18 21:31:21,287 [1773016] ERROR - intellij.openapi.progress.Task - Could not extract certificate from file.
java.lang.Exception: Could not extract certificate from file.
at com.android.tools.idea.templates.KeystoreUtils.getCertificate(KeystoreUtils.kt:151)
at com.android.tools.idea.templates.KeystoreUtils.sha1(KeystoreUtils.kt:122)
at com.android.tools.idea.templates.KeystoreUtils.sha1$default(KeystoreUtils.kt:121)
...
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:783)
at com.android.tools.idea.templates.KeystoreUtils.getCertificate(KeystoreUtils.kt:143)
...
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:781)
... 27 more
2020-06-18 21:31:21,287 [1773016] ERROR - intellij.openapi.progress.Task - Android Studio 4.0 Build #AI-193.6911.18.40.6514223
2020-06-18 21:31:21,287 [1773016] ERROR - intellij.openapi.progress.Task - JDK: 1.8.0_242-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-06-18 21:31:21,287 [1773016] ERROR - intellij.openapi.progress.Task - OS: Linux
2020-06-18 21:31:21,288 [1773017] ERROR - intellij.openapi.progress.Task - Last Action: template.create.ActivityEmpty Activity
if you want I have also asked a question on stackoverflow at this link:
Studio Build: Android Studio 4.0 Build #AI-193.6911.18.40.6514223
Version of Gradle Plugin: 4.0.0
Version of Gradle: 6.1.1
Version of Java: JDK: 1.8.0_242-release; VM: OpenJDK 64-Bit
OS: MacOS & Linux
Steps to Reproduce:
1. Create Project
2. Add SigningConfig and Keystore
3. Try to create a new activity
Thanks for your help