Thursday, 23 May 2019

How to install an application to SD card of the Android emulator rather than its internal memory?

I can't find a way to install my app to SD card, nor move it post-installation through the emulator's Android settings UI. I do have installLocation=auto in the manifest. Is this at all doable?

There's this old question, but the accepted answer no longer works:

adb install -s .\app-debug.apk
Performing Streamed Install
adb: failed to install .\app-debug.apk:
Exception occurred while executing:
java.lang.IllegalArgumentException: New installs into ASEC containers no longer supported

This is with Android 9 Google Services x86_64 image.



from How to install an application to SD card of the Android emulator rather than its internal memory?

No comments:

Post a Comment