summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile.Android
diff options
context:
space:
mode:
authorDani Martin <[email protected]>2020-04-22 13:09:41 +0200
committerGitHub <[email protected]>2020-04-22 13:09:41 +0200
commit0570e49d141fa92bc139d10702abcfb859eee240 (patch)
tree715ca16a8b53b133fb0e7f1d61ab4938e40bbf65 /examples/Makefile.Android
parent3494a296032d8a128e86420c4bc93417b699c202 (diff)
downloadraylib-0570e49d141fa92bc139d10702abcfb859eee240.tar.gz
raylib-0570e49d141fa92bc139d10702abcfb859eee240.zip
[android] Extend validity of the certificate (#1212)
For uploading a apk to Google Play a minimun of 25 years (9125 days) is needed for the validity of the key. More info: https://developer.android.com/studio/publish/app-signing
Diffstat (limited to 'examples/Makefile.Android')
-rw-r--r--examples/Makefile.Android2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.Android b/examples/Makefile.Android
index 28847d29..ceca4c56 100644
--- a/examples/Makefile.Android
+++ b/examples/Makefile.Android
@@ -227,7 +227,7 @@ generate_android_manifest:
# Generate storekey for APK signing: $(PROJECT_NAME).keystore
# NOTE: Configure here your Distinguished Names (-dname) if required!
generate_apk_keystore:
- if not exist $(PROJECT_BUILD_PATH)/$(PROJECT_NAME).keystore $(JAVA_HOME)/bin/keytool -genkeypair -validity 1000 -dname "CN=$(APP_COMPANY_NAME),O=Android,C=ES" -keystore $(PROJECT_BUILD_PATH)/$(PROJECT_NAME).keystore -storepass $(APP_KEYSTORE_PASS) -keypass $(APP_KEYSTORE_PASS) -alias $(PROJECT_NAME)Key -keyalg RSA
+ if not exist $(PROJECT_BUILD_PATH)/$(PROJECT_NAME).keystore $(JAVA_HOME)/bin/keytool -genkeypair -validity 10000 -dname "CN=$(APP_COMPANY_NAME),O=Android,C=ES" -keystore $(PROJECT_BUILD_PATH)/$(PROJECT_NAME).keystore -storepass $(APP_KEYSTORE_PASS) -keypass $(APP_KEYSTORE_PASS) -alias $(PROJECT_NAME)Key -keyalg RSA
# Config project package and resource using AndroidManifest.xml and res/values/strings.xml
# NOTE: Generates resources file: src/com/$(APP_COMPANY_NAME)/$(APP_PRODUCT_NAME)/R.java