Open raisfeld-ori opened 2 days ago
Solved it! half of it was my fault, and the other half is still my fault, but I think it should be mentioned in the documentation.
for the first half, I simply copied the path like usual on windows, and accidentally kept the escape characters. this is a fairly easy fix, just replace '\' with '\' and the error disapears.
the second part is the more problematic part, the path. in the docs, it says: "storeFile=<location of the key store file, such as /Users/
while debugging the first error, I looked at the path it was reading: 'C:\Users\raisf\Desktop\projects\Israir\src-tauri\gen\android\app\"C:\Users\raisf\upload-keystore.jks"'
, in no point does the docs mention that the path is relative, and that the keystore should be placed in the app directory.
to simply put it, if you get any error about the keystore properties or jks file, just check the paths and make sure it's correct
in no point does the docs mention that the path is relative, and that the keystore should be placed in the app directory.
this doesn't sound intentional. i think we thought absolute paths work, right @lucasfernog ?
Describe the bug
I want to build and deploy my android app, but when I ran the code I got an error: "App Not Installed As Package Appears To Be Invalid"
I thought this was because of the fact that the app was unsigned, so I started to follow the android signin guide but when building the app now I got a new error in the build.gradle.kts on line 34: "Malformed \uxxxx encoding."
Reproduction
this is a standard tauri app, made using
npm create tauri@latest
(with vite in the frontend) with no extra packages, only the shell plugin and the notification plugin being used.I also followed the guide and create keystore.properties in the android directory:
I also changed the build.gradle.kts according to the guide:
also, I tested and it seems gradle does find my jks file, but fails to read it (also, the password is 100% accurate, since I deleted the old jks file and created a new one).
Expected behavior
I just want to compile the app and deliver it to the client ):
Full
tauri info
outputStack trace
Additional context
No response