androidjs icon indicating copy to clipboard operation
androidjs copied to clipboard

no apk

Open jdev082 opened this issue 2 years ago • 1 comments

Describe the bug Ran 'androidjs build' no apk, zero errors.

To Reproduce Run the build command

Expected behavior an apk in the dist directory (set as the output dir)

desktop is linux x64 (arch linux) using latest version of androidjs

phone is irrelevant since im not getting an apk in the first place

Additional context Add any other context about the problem here.

no errors, just the usual output

--release= false
https://github.com/android-js/sdk-static/archive/master.zip
Downloading: https://github.com/android-js/sdk-static/archive/main.zip
Data: 5000 KB :██████████████████████████████████████████████████ √
copying assets ...
updating app name...
Setting app version ...
Version Code: 1
Version Name: 1.0
updating theme ...
Using SDK: 1.0.0
Building Apk ...
building ...5 :██████████████████████████████████████████████████ √
Generating apk in debug mode. use '--release' to generate release build

jdev082 avatar Aug 13 '23 19:08 jdev082

So apparently I get an apk in ~/.androidjs/cache but not in the directory i specified apk doens't install with this error:|

adb: failed to install catalyst-messenger.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl444707451.tmp/base.apk: Attempt to get length of null array]

jdev082 avatar Aug 13 '23 19:08 jdev082