Skip to content

How can I create a 'singned' apk with command: axmol build -p android -a arm64 #2203

Answered by rh101
aismann asked this question in Q&A
Discussion options

You must be logged in to vote

In proj.android/gradle.properties, you can see this section:

# uncomment it and fill in sign information for generate signed apk
#KEY_STORE_FILE=file path of keystore
#KEY_STORE_PASSWORD=password of keystore
#KEY_ALIAS=alias of key
#KEY_PASSWORD=password of key

If you uncomment those lines, and add the relevant information, doesn't it work for you?

That info is used in proj.android/app/build.gradle:

    signingConfigs {
       release {
            if (project.hasProperty("KEY_STORE_FILE")) {
                storeFile file(KEY_STORE_FILE)
                storePassword KEY_STORE_PASSWORD
                keyAlias KEY_ALIAS
                keyPassword KEY_PASSWORD
            }
        }
  …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aismann
Comment options

aismann Oct 5, 2024
Collaborator Author

Answer selected by aismann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants