All was working until I upgraded. But now I can't start a virtual device. This is on Debian Jessie.
I've now wiped everything and reinstalled. I have the same problem: depending on how I configure my virtual device I get either (1) nothing at all or (2) a blank emulated 'phone window and a LOT of errors. See below.
Any suggestions at all as to how to move forward? I've been trying to get this re-installed all day, and nothing.
(NB: I've tried adb kill-server; adb start-server
.)
I say I've wiped everything but perhaps I missed something. I completely removed:
* $HOME/Android
* $HOME/AndroidStudioProjects
* $HOME/.android
* $HOME/.AndroidStudio2.3
* $HOME/.gradle
* $HOME/.emulator_console_auth_token
* $HOME/.config/Android Open Source Project
* /usr/local/lib/android_studio (which is where I unzipped the download)
After installing from scratch again, running studio.sh from the command line, then trying to start a virtual device --- here's what I see on the command line:
[ 28819] WARN - run.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
[ 29831] WARN - run.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
[ 30843] WARN - run.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
[ 31854] WARN - run.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
[ 32888] WARN - run.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
And here is what I see in ADS's "Android Device Monitor" screen (just the start of a massive rolling list of errors. I have my filter set to show errors only here):
06-28 13:46:54.821 1302-1302/? E/gralloc_ranchu: Could not find software fallback module!?
[ 06-28 13:46:54.821 1302: 1302 E/ ]
connect: failed with fd -1 errno 22
[ 06-28 13:46:54.821 1302: 1302 E/ ]
Failed to connect to host (QemuPipeStream)!!!
06-28 13:46:54.821 1302-1302/? E/gralloc_ranchu: gralloc: Failed to get host connection
[ 06-28 13:46:54.821 1302: 1302 E/ ]
connect: failed with fd -1 errno 22
[ 06-28 13:46:54.821 1302: 1302 E/ ]
Failed to connect to host (QemuPipeStream)!!!
06-28 13:46:54.821 1302-1302/? E/gralloc_ranchu: gralloc: Failed to get host connection
06-28 13:46:54.821 1302-1302/? E/hwcomposer: ranchu_hw_composer hwc_open could not open framebuffer
06-28 13:46:54.822 1302-1302/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x44 in tid 1302 (surfaceflinger)
06-28 13:46:54.822 1302-1302/? A/libc: Unable to open connection to debuggerd: Connection refused
06-28 13:46:55.143 1361-1361/? E/memtrack: Couldn't load memtrack module (No such file or directory)
06-28 13:46:55.143 1361-1361/? E/android.os.Debug: failed to load memtrack module: -2
06-28 13:46:55.188 1361-1361/? E/Minikin: addFont failed to create font /system/fonts/NanumGothic.ttf
06-28 13:46:55.188 1361-1361/? E/Minikin: addFont failed to create font /system/fonts/DroidSansFallback.ttf
06-28 13:46:55.188 1361-1361/? E/Minikin: addFont failed to create font /system/fonts/MTLmr3m.ttf
06-28 13:46:55.248 1361-1361/? E/EmojiFactory_jni: Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
06-28 13:46:55.458 1361-1361/? E/Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-en-us.pat.txt
java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-en-us.pat.txt: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
06-28 13:46:55.458 1361-1361/? E/Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-eu.pat.txt
java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-eu.pat.txt: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
06-28 13:46:55.458 1361-1361/? E/Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-hu.pat.txt
java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-hu.pat.txt: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
at libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:96)
at android.text.Hyphenator.init(Hyphenator.java:154)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:207)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:186)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
06-28 13:46:55.459 1361-1361/? E/Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-hy.pat.txt
You would think that that Could not find software fallback module!?
would be something I could google for. But I don't see anything...