#Not Able to install APK (SOLVED)

1 messages · Page 1 of 1 (latest)

reef epoch
#

I built a mobile app using Laravel, Livewire & FluxUI. When I connected it in debug mode, it was working fine. After that, I generated an APK, but it would not install.

Here is the APK link
https://wormhole.app/D1P8nL#KLoeCFJuKl5KV38aSIsD5g

@faint aspen

faint aspen
#

that url doesnt work, why wouldnt it install? any errors?

fading heart
#

You still need to sign it, at least with dummy/dev keys. A quick windows example, but you'll need to edit the file locations. And this example is run in the directory with the APK's:

C:\Users\YOUR_USER\AppData\Local\Android\Sdk\build-tools\36.0.0\apksigner.bat sign --ks C:\Users\YOUR_USER\.android\debug.keystore --ks-key-alias androiddebugkey --ks-pass pass:android --key-pass pass:android --out app-release-signed.apk app-release-unsigned.apk

...then if it's a locally connected device, you can install it with:

adb install -r .\app-release-signed.apk

To be able to see what the issue is and get more than the generic "nope" error in the android UI, try for example:

adb install -r .\app-release-unsigned.apk

...that should show an error like adb: failed to install .\app-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES ... and is a lot more helpful when figuring out the issue. (You can also setup the signing in the project config, but that's a more complex topic.)

reef epoch
faint aspen
#

Not Able to install APK (SOVED)