Android Question CanInstallToExternalStorage and emulator

antonomase

Active Member
Licensed User
Longtime User
Hi,

When I use #CanInstallToExternalStorage: True with AVD, I have the error message
B4X:
Installing file to device.  Error
   pkg: /data/local/tmp/Myapp.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]
rm failed for -f, Read-only file system

Why the install fails ? If it is not possible to install on external storage, why is the app not installed in the internal storage ? It is CanInstall, not MustInstall.

Thanks for your answers.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top