A antonomase Active Member Licensed User Longtime User Dec 2, 2014 #1 Hi, When I use #CanInstallToExternalStorage: True with AVD, I have the error message Code: 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: Dec 2, 2014
Hi, When I use #CanInstallToExternalStorage: True with AVD, I have the error message Code: 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.
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2014 #2 Seems like a bug in the emulator. When you set this attribute to true then the installLocation attribute is set to preferExternal: http://developer.android.com/guide/topics/data/install-location.html You can add the "auto" value instead with the manifest editor: Code: SetManifestAttribute(android:installLocation, auto) Upvote 0
Seems like a bug in the emulator. When you set this attribute to true then the installLocation attribute is set to preferExternal: http://developer.android.com/guide/topics/data/install-location.html You can add the "auto" value instead with the manifest editor: Code: SetManifestAttribute(android:installLocation, auto)