Apk won't be installed lazarus / 43-Android ---------------------------------------------------------------------- circular · 2020-06-05 19:56 - I compiled a sample project and have a debug and a release .apk file. - I have copied those files to the Download directory of an android phone using gmtp on Linux. - With Cx file explorer on the phone, I can see those files. If I press one of them, the first time it asks me to allow the explorer to be a source. I enable that. - Then, still in Cx file explorer, if I press on of the .apk file, it asks if I want to install it. I say yes. And it tells me it has not been installed. How can I know what was the problem when installing? Can I run the .apk without installing it? Note: - the release version is unsigned. - I activated the debug USB mode on the phone, but the application does not appear in the list of applications to be debugged. Maybe there is a way to run the application from there? ---------------------------------------------------------------------- lainz · 2020-06-06 22:56 You enabled "install from untrusted sources" setting in your phone? Also on modern android versions, that setting is per application, so you must enable it for your file explorer. ---------------------------------------------------------------------- lainz · 2020-06-06 22:59 Also check if the apk is 32 bit and your phone is 64 bit maybe? ---------------------------------------------------------------------- lainz · 2020-06-07 04:37 Another thing that can be is the api level. Which version you selected and what's your phone android version. Each android version supports a different api level. ---------------------------------------------------------------------- circular · 2020-06-07 11:53 Yep I enabled install from the explorer. The output.json near the .apk file in the outputs folder says it is arm64. The CPU is ARM Cortex-A53 which is arm64 as well. Though I just read that the OS would be 32-bit. I am going to try to make a 32-bit apk. ---------------------------------------------------------------------- circular · 2020-06-07 12:08 Ok I changed the target chipset to "ARMv7a+VFPv3" and now it installs and runs ok. Thanks. Well the controls are all stacked one on the other but that's another story.