Open bobwatcherx opened 1 year ago
do I have to create a virtual android in android studio? because I didn't make it
bro . iam waiting 15 minutes and its works . but failed to build apk .briefcase uses its own SDK. even though I have bashrc settings. how to solve it .
(venv) root@mopt-HP-Convertible-x360-11-ab1XX:/home/mopt/belajar/fletpp/fpyo2apkdist# briefcase build android
*************************************************************************
** WARNING: ANDROID_SDK_ROOT does not point to an Android SDK **
*************************************************************************
The location pointed to by the ANDROID_SDK_ROOT environment
variable:
/root/Android/Sdk
doesn't appear to contain an Android SDK.
Briefcase will use its own SDK instance.
*************************************************************************
and i get error like this
* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "/root/.android/debug.keystore": Invalid keystore format
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 37s
38 actionable tasks: 1 executed, 37 up-to-date
Building...
Error while building project.
Log saved to /home/mopt/belajar/fletpp/fpyo2apkdist/logs/briefcase.2023_05_09-15_33_38.build.log
how to set the keystore
i managed to build debug apk but when i run it from my android . the application exits itself
I did not test that on Linux 🙂, so i will soon.
info
my .bashrc file