Can't Repro
Status Update
Comments
ch...@google.com <ch...@google.com> #2
Information redacted by Android Beta Feedback.
uc...@google.com <uc...@google.com> #3
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Please upgrade to the latest release from the link
an...@google.com <an...@google.com> #4
Upgrade was never offered. I was offered directly Android 16. I can't
install Android 16 as I want to leave beta.
<buganizer-system@google.com> schrieb am Do., 27. Feb. 2025, 08:55:
install Android 16 as I want to leave beta.
<buganizer-system@google.com> schrieb am Do., 27. Feb. 2025, 08:55:
Description
================
Mac OSX El Captain V. 10.11.3 (15D21)
MacBook Pro (Retina, 13-inch, Early 2015)
Android Studio 1.5.1 / TESTED TOO on the last Preview Android Studio 2.1 Preview 5 (build 143.2730271)
Build #Al-141.2456560, built on December 1, 2015
JRE: 1.7.0_79-b15 x86_64
Gradle Version 2.2.1
Android Plugin Version 1.5.0
================
Explanation
============
Hello,
We are using CI for generate of our APK's.
And we are using the gradle file to get the pass for keystore.
If we do by command line or thought menu Build/Generate Signed APK, everything works fine.
We have this code which works on CI, but when we compile thought the "run" button on Android Studio.
Gradle warning us with this message (attch. "WarningSigningError.png").
Our Signing code on "build.gradle":
signingConfigs {
debug {
storeFile file("debug.keystore")
}
release {
storeFile file("release.keystore")
storePassword System.env.'keystore_pass'
keyAlias "myAlias"
keyPassword System.env.'keystore_pass'
}
}
On Debug flavor works right (attch. "NoErrorOnDebug.png") but on Release don't (attch. "ErrorOnRelease.png")
We tried with Java code too, but neither works.
Signing code:
signingConfigs {
debug {
storeFile file("debug.keystore")
}
release {
storeFile file("release.keystore")
storePassword System.getenv("keystore_pass")
keyAlias "myAlias"
keyPassword System.getenv("keystore_pass")
}
}
As seeing on stackoverflow, seems some old bug:
Seems works on Windows but not on Linux/OSX.
What I expect
=================
When running a project, Android Studio could run the (correct) Groovy code to get that environment variables and signing the apk.
What I get
=================
An error because Android Studio don't understand that line of code on gradle file
Thank you very much