Closed Remijeous closed 7 years ago
Hi, if you set a "debug" build of an application you don't have to setup build properties. But if you want your own production ("release") build you have to create Certificates and Keystores on your own for security reasons. For a more information please look here: https://developer.android.com/studio/publish/app-signing.html
Hi, sorry i am new to android, can you tell me which property parts i should remove from the gradle.build file in order to build a debug apk version? I tried to define the certificates and keystore but always throws an error.
thank you
I am having the same issue. please some one help us to fix the issue
[Put this into ~/.gradle/gradle.properties
RELEASE_STORE_FILE={path to your keystore} RELEASE_STORE_PASSWORD= RELEASE_KEY_ALIAS= RELEASE_KEY_PASSWORD=***** Modify your build.gradle like this:
...
signingConfigs {
release { storeFile file(RELEASE_STORE_FILE) storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD } }
buildTypes { release { signingConfig signingConfigs.release } } ....](url)
thanks a lot buddy
https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=14793d08-9c3c-491a-a0cd-75d3542908f0 I’m protected online with Avast Free Antivirus. Get it here — it’s free forever. https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=14793d08-9c3c-491a-a0cd-75d3542908f0 <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sun, Sep 2, 2018 at 6:20 AM, Ajay B notifications@github.com wrote:
[Put this into ~/.gradle/gradle.properties
RELEASE_STORE_FILE={path to your keystore} RELEASE_STORE_PASSWORD= RELEASE_KEY_ALIAS= RELEASE_KEY_PASSWORD=***** Modify your build.gradle like this:
... signingConfigs {
release { storeFile file(RELEASE_STORE_FILE) storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD } }
buildTypes { release { signingConfig signingConfigs.release } } ....](url)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openshopio/openshop.io-android/issues/32#issuecomment-417897219, or mute the thread https://github.com/notifications/unsubscribe-auth/AVDVpFEE5yKFlpRGPCe7GNEWciaDS30lks5uWythgaJpZM4L1VD7 .
-- Rey
9:48:24 PM Gradle sync started 9:49:05 PM Gradle sync failed: You should define KEYSTORE_PASSWORD, KEYSTORE_ALIAS and KEY_PASSWORD in gradle.properties.groovy.lang.MissingPropertyException: Could not get unknown property 'KEYSTORE_PASSWORD' for SigningConfig_Decorated{name=release, storeFile=D:\And_prog\Openshop\openshop.io-android-master\app\openshopKeystore.jks, storePassword=null, keyAlias=null, keyPassword=null, storeType=D:\And_prog\Openshop\openshop.io-android-master\app\openshopKeystore.jks, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig. Consult IDE log for more details (Help | Show Log)