#APK not work

25 messages · Page 1 of 1 (latest)

mild summit
#

When I execute it in dev mode, I see all works, but when I try to execute the generated apk in the build on my phone, says not correct apk and cant install it. Any help?

EDIT: You need signin your app with a key to run it. See the Google documentation here: https://developer.android.com/studio/publish/app-signing#generate-key

Android Developers

Learn important concepts related to app signing and security, how to sign your app for release to Google Play using Android Studio, and how to opt in to Play App Signing.

tulip quail
#

Doesn't have to be some paid code signing certificate, you generate the key for free yourself and then self sign it using that key

mild summit
mild summit
#

Im new In app Dev, but I think its that

mild summit
mild summit
# tulip quail Yes

Sorry, I have now a keytool. But how can I use it In tauri, Im checking the docs and I dont see nothing about that.

#

Android Studio directly generate an apk with the keytool, but tauri I dont know how to do that.

#

I know how to generate the key, but no how to use tauri with the key generated.

#

Omg, Im checking tauri cli and have to generate the key HAHAHA

#

im so good

tulip quail
mild summit
#

Thats not documented I think

tulip quail
#

Yea it's not documented yet afaik. It's your public key that you generate with the signing tool

mild summit
#

Yes, but how i need put it?

#

What I need use {}?

mild summit
#

or in "build", IDK

#

Thats my json conf

tulip quail
#

I have no idea where to put it for Android signing

#

Not even sure we support signing Android yet using the Tauri CLI

#

For the updater feature there's a place I could point to, but that's not what you want

mild summit