Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot launch AVD in emulator:QT library not found

I am new to Android Studio and I am having problems while using the emulator. When I try to run it keeps crashing saying:

"Cannot launch AVD in emulator" [6816]:ERROR:./android/qt/qt_setup.cpp:28:Qt library not found at C:\Users\Jay\AppData\Local\Android\Sdk\emulator\lib64\qt\lib

Could not launch 'C:\Users\Jay\AppData\Local\Android\Sdk\emulator/qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory

I have enabled VT-x from BIOS settings yet I am having the problem. I have searched a lot and cannot find an answer. Any help will be much appreciated. Can anyone give me a solution?

Screenshot of error Log Snapshot

like image 776
Jay Avatar asked Mar 02 '17 11:03

Jay


People also ask

Why is my AVD not working?

Android Virtual Devices fail to launch on ChromeOS On ChromeOS, Android Virtual Devices (AVDs) might fail to launch because the libnss3 dependency is missing. To launch the AVDs successfully, run sudo apt install libnss3 to manually install the libnss3 library.

Where is AVD installed?

-p path : Path to the location where the directory for this AVD's files will be created. If you do not specify a path, the AVD will be created in ~/. android/avd/ .


2 Answers

This seems to be an issue relating to the recent update. A temporary solution is to launch emulator from within the /path/to/android-sdk/tools directory in the commandline.

See https://code.google.com/p/android/issues/detail?id=235461 to follow the issue.

like image 131
Vuong Pham Avatar answered Oct 25 '22 23:10

Vuong Pham


All other answers did not work for me as "Android Emulator" was not installed with a standard installation of Android Studio. Make sure you have installed it and then try other answers if required.enter image description here

like image 29
Akshar Patel Avatar answered Oct 26 '22 00:10

Akshar Patel