Skip to content

Once the application is built and signed, it does not install #3279

Answered by KoldaN1
KoldaN1 asked this question in Q&A
Discussion options

You must be logged in to vote

I fixed it.
First I installed jdk11, then I created a key using that jdk and keytool I created the key.
./keytool -genkeypair -v -keystore <keystore>.keystore -alias <alias> -keyalg RSA -keysize 2048 -validity 10000
Next, using zipalign from the SDK, I zipped the APK file.
./zipalign -f -v 4 <app>.apk appzip.apk
After that, using apksigner from the same SDK, I signed the app.
./apksigner sign --ks <keystore>.keystore --ks-key-alias <alias> appzip.apk

Now everything works. It took me about 4 days. Most likely the problem was in the JDK version, or in the SDK version. The main thing is that everything works now.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KoldaN1
Comment options

@KoldaN1
Comment options

Answer selected by KoldaN1
@iBotPeaches
Comment options

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