11/14/2023 0 Comments Android studio emulator not working![]() ![]() I also tried this, which I found in another AVD: hw.gpu.enabled=yesīut this is then changed to "no" / "off" by the Android Virtual Device Manager. This setting remains even if opened in the Android Virtual Device Manager of Android Studio. In a text editor change the lines hw.gpu.enabled=no Under Linux it's located under /home//.android/avd//config.ini I just thought it's worth to make a "real" answer out of it:Įdit the config.ini file of the AVD. ![]() Try with the command line example above to see what errors you get when starting the emulator.I also think it's related to whether the Playstore is contained or not, but I cannot explain why.ĭielson Sales already gave the answer which worked for me - unfortunately only in a comment to this answer. Error when rendering Compose Preview Error when using different passwords for key and keystore Android Studio doesn't start after installing version 4.2 Apps using Database Inspector crash on Android 11 emulator Studio doesn't start after upgrade This page tracks known issues with Android Studio Giraffe and Android Gradle plugin 8.1.0. I was using the nouveau drivers and that was producing a double free which killed the emulator display. ~/Android/Sdk/emulator/emulator -avd Nexus_6P_API_23 -use-system-libsĮdit: I changed to using the nvidia priority drivers and now i can use the emulator with API 26 on any phone. Then run this command to see if will start and show you the android word. This means it is working.Īs a test with out the hello world example setup a phone like Nexus 6P and set the API version to 23. When you launch the emulator the word android will appear on the screen first. You must configure the device before launching the programme. It can work by click run button from the studio and clicking a device that is set to API 23. If I try the hello world example with API 23 which is android 6 marshmallow I get the hello world example to work. API 26 is android O which is not released yet. I still have the issue with the hello world app not appearing on the emulator and the emulator appearing as blank. It took me a while to find out that you have to set it to software graphics for the emulator phone to appear. Click the checkbox next to Android SDK Platform-Tools so it shows a checkmark. To upgrade the Platform Tools, do the following: Open the SDK Manager from Android Studio by clicking Tools > SDK Manager or click SDK Manager in the toolbar. I have the exact same setup as you with debian testing and installed android studio 2.3.3. Upgrading the Platform Tools to 29.0.4 or higher fixes both issues. I changed graphics to software, now it shows the phone but the screen remains black and the phone won't start. However, I still cannot get the app running on an ADV. So why doesn't it work on Debian Testing now? Did I forget something?ĮDIT: I am now able to use my phone to run the android application by using USB 2.0 instead of USB 3.0! Is that a normal behavior since it works with native adb? I mean, if I buy a new PC after some years which has got only USB 3.0 ports, will I not be able to use phone debugging with Android Studio or is this just an issue? It is still known since 2014 ( ). I remember that I was able to run it on LMDE2 some time ago. I really would like to get it running on Debian because I do not want to install Windows for this. I have never experienced anything close to this on other systems. I tried to do it until now and couldn't find a solution. Please note that there is no such issue for the Android Studio installed in my laptop, emulators and actual Android devices are being detected. Today I managed to have the emulator start by setting graphics to software but it just shows a black screen and doesn't power on. reinstalled everything: JDK, Android SDK and Android Studio.installed all the SDK-platforms since Android 4.3 and Android. ![]() Android Studio recognizes my phone properly. My device is a Samsung Galaxy S3 with LineageOS (Android 7.1.2) and root permissions. The same happens when I try to start it in an emulator (gets stuck on 'Waiting for target device to come online'). ![]() However, if I try to do it with Android Studio, it gets stuck on 'Installing APKs'. With adb I can install it without having any problems. I wanted to run a HelloWorld application (just a blank activity) but weren't able to run it. Yesterday I downloaded Android Studio for my Debian Testing system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |