#Tauri Mobile - Android, app is not installed

14 messages · Page 1 of 1 (latest)

broken hamlet
#

Hey ! I builded my tauri mobile app for android but when I want to install the app on my phone with the .apk file I have the error : The application has not been installed, as the package appears to be invalid. And when I build, I have a warning at the end :
`Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings
`
Do you have an idea to solving this problem?

split void
#

That gradle warning should be irrelevant. but the first error may be because the app is not signed?
Or maybe the wrong arch? i don't think that makes sense but ig still worth to check.
And lastly, maybe try an app bundle instead of an apk

broken hamlet
#

And, sign the app is required ? Because a license for windows, macOS and Android is a little expensive for my 😂

split void
split void
broken hamlet
#

Yeah, the problem is that the app is unsigned...

split void
broken hamlet
#

But, how can I sign the app with tauri ? I need Android Studio to sign an app no ?

split void
broken hamlet
#

Is there a way to sign the app from Android Studio ? Maybe by Android Studio ? Or only Tauri can sign ?

split void
#

Tauri can't sign mobile apps at all right now afaik (which is why we recommend the flutter guide). But if you find a way to use android studio that probably will work just as well

raw radish
#

But it's annoying