sz3 / cfc

Demo/test android app for libcimbar. Copy files over the cell phone camera!
https://cimbar.org
MIT License
515 stars 65 forks source link

"App not installed" error #6

Closed OverPaw closed 3 years ago

OverPaw commented 3 years ago

CameraFileCopy is failed to install, but system requirements seem to match. My phone with Snapdragon 439 processor has 4+4 Cortex-A53 cores operating under Android 9.

sz3 commented 3 years ago

Is there an error message?

I feel like that should work (it's arm64-v8, as far as I know). But android can be a bit mysterious...

OverPaw commented 3 years ago

It is "App not installed" error. I've read through the topic at stackoverflow on it and tried to disable Google Play Protect, but it didn't help. Probably the problem is related with building of apk or with its signature.

sz3 commented 3 years ago

Unfortunately, I don't have a good answer for this. At best, I can enumerate some things that might explain the issue:

  1. play protect can stop the install. You mentioned turning it off, so this probably isn't your issue. Airplane mode may also be useful for this?
  2. apk file is on SD card instead of internal storage -- I don't know why this should matter, but it does sometimes?
  3. inadequate storage space -- this is a long shot, but apparently running out of space results in the generic error
  4. apps from unknown sources are disabled -- do other apks install (not via google play) on the phone? There may be a setting under "Lock screen and security" that helps.
  5. I think I've seen app permissions cause this before? The app you're trying to install the apk from (I use the Files app) needs permissions to install apps -- but usually if this is the problem, you'll get a helpful error message instead of the generic "app not installed".

I'll update this issue if I learn anything new.

OverPaw commented 3 years ago

It turns out that, despite arm64-v8a processor, my phone has armeabi-v7a operating system. See the screenshot. There are no problems with installing and running CFC on other phones with true AArch64 instruction set support. I think minor corrections to system requirements can be made. deviceinfohw

sz3 commented 3 years ago

Interesting! :thinking:

Thanks for the update, I appreciate it. :)