4.1 android emulator not detecting sd card

拥有回忆 提交于 2019-12-05 12:59:48

I guess chief bleeding forehead can answer his own question now.

Downgrading the emulator does fix the problem. Not sure if it's the answer, but it'll have to do until someone supplies an alternative.

I found no older versions of the emulator because it was moved out of the sdk-tools package. Since i already downgraded sdk-tools to 25.2.5, i simply needed to delete the emulator package. Since the Android-Studio update i've been manually starting the emulator like this:

LD_LIBRARY_PATH=/usr/local/android-sdk/tools/lib64/qt/lib:/usr/local/android-sdk/tools/lib64/libstdc++:/usr/local/android-sdk/tools/lib64:/usr/local/android-studio/bin: /usr/local/android-sdk/tools/qemu/linux-x86_64/qemu-system-i386 -netdelay none -netspeed full -avd and4.1

Where and4.1 was my kitkat image.

The LD_LIBRARY_PATH prevents the following error

/usr/local/android-sdk/tools/qemu/linux-x86_64/qemu-system-i386: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory

Adding this in case some other poor soul wastes time on this.

BTW. Before the downgrade, the path was:

/usr/local/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386

instead of:

/usr/local/android-sdk/tools/qemu/linux-x86_64/qemu-system-i386

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!