How to use environment variable, ANDROID_PUBLISHER_CREDENTIALS #943
-
We have a question related to Authenticating Gradle Play Publisher section This is the first time, we are integrating GPP for publishing in the PlayStore. So, we set the ANDROID_PUBLISHER_CREDENTIALS environment variable as below export ANDROID_PUBLISHER_CREDENTIALS = path to the json file. But when we execute, ./gradlew bootstrap we got this error Can you please guide us, to fix this issue? Kind Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No, the environment variable has to contain the contents of the credentials (i.e. the contents of your file). Though if you have a file available, why not simply use that instead of |
Beta Was this translation helpful? Give feedback.
No, the environment variable has to contain the contents of the credentials (i.e. the contents of your file). Though if you have a file available, why not simply use that instead of
file("your-key.json")
?