android-emulator

Android: Your CPU does not support VT-x

可紊 提交于 2019-12-10 13:17:18
问题 Your CPU does not support VT-x. Intel HAXM is required to run this AVD. Your CPU does not support VT-x. Unfortunately, your computer does not support hardware accelerated virtualization. Here are some of your options: 1) Use a physical device for testing 2) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX 3) Develop on a Linux computer that supports VT-x or SVM 4) Use an Android Virtual Device based on an ARM system image (This is 10x slower than hardware

SignalR Android access localhost

柔情痞子 提交于 2019-12-10 11:47:43
问题 For some reason I cannot make make android app connect to my server (on localhost) The problem is (probably) not in the code,the exact same code runs fine in a simple java application I get an InvalidHttpStatusCodeException Bad Request - Invalid Hostname HTTP Error 400. The request hostname is invalid. I tried using another emulator ,Genymotion(I changed the IP to http://192.168.56.1... ) java.util.concurrent.ExecutionException: microsoft.aspnet.signalr.client.transport.NegotiationException:

Failed to start monitoring and not run the program. Why?

故事扮演 提交于 2019-12-10 11:33:19
问题 I reinstalled Windows 7 last week and unzipped Eclipse and reinstalled the SDK again, but I didn't run the program in Eclipse. When I connect the Galaxy phone to my computer, Eclipse shows an error and frequently writes in the console tab Failed to start monitoring 0A3C202B1601A00A . After a while, Eclipse qill show an Android Device Chooser window. I can't select 0A3C202B1601A00A . I use ADB and i write adb address and adb devices in cmd, cmd writes deamon not running. When I disconnect the

Android emulator doesn't work properly

半城伤御伤魂 提交于 2019-12-10 10:56:28
问题 I have installed all the necessary files from android site, but when I run my emulator it just displays "ANDROID" and nothing else. I am using Intel Dual core (2.20GHz), ASUS motherboard and 3gb of RAM. Whats the prob I couldnt understand.. Even one of my friend using Intel Dual core(1.80GHz) with 1gb of RAM running smoothly then whats my problem. 回答1: The emulator is slow becasue it is, of all things, emulating a completely different architecture (arm), and if it's the first time you've

Android Studio Run Emulator Failed on linux

余生颓废 提交于 2019-12-10 10:54:28
问题 I'm tried to run the Android Emulator from Android Studio 2.3.3 (On linux machine) but if fails with no error (I try with a x86 image API 24). So I try to run from console /opt/android/android-sdk-linux/tools/emulator @Nexus_5_API_24 and I get this error libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load driver: i965 libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load

Android Studio - Emulator Profile and Device Profile VERY different

天涯浪子 提交于 2019-12-10 10:48:51
问题 I came across this while asking a different question, why does the Android Emulator show such a different performance profile than a comparable device profile? Specifically, the device calls a huge graphics section that is not visible on the emulator... is there a reason for this? Device - 26api - 48Mb Emulator (Pixel2) - 26api - 24Mb - Hardware Graphics Emulator (Pixel2) - 26api - 54Mb - Software Graphics Device - 24api - 52Mb Emulator (Pixel2) - 24api - Hardware Graphics - 15Mb Emulator

Sensor simulator on 2.1

爷,独闯天下 提交于 2019-12-10 10:46:12
问题 I have a specific problem. I need to make openintents sensor simulator work on 2.1 emulator. Does anyone has an advice on how to pass around deprecated code and make it work on emulator 2.1. Ty in advance for any help or advice you might have. 回答1: Most of the sensors are not implemented in the emulator. You need a real device to test code that access sensors within Android. See the following site about the limitations of the emulator: http://technotak.blogspot.com/2011/02/what-are

Connect to Android Emulator in a Docker Container through VNC (error with API 28)

泪湿孤枕 提交于 2019-12-10 10:45:38
问题 I'm using a VNC client (Remmina) to connect to an Android Emulator running in a Docker container, and it worked with APIs from 19 to 27, but 28 errors when using with the VNC option (but works without VNC): qemu-system-x86_64: VNC supports only guest GPU, add "-gpu guest" option My environment: myrepo/app-tools:android-dev-1.0.2 FROM ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive RUN echo "debconf shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections && \ echo "debconf

Run a full android phone rom on the Android Emulator

杀马特。学长 韩版系。学妹 提交于 2019-12-10 10:43:23
问题 As the title says, it is possible to run a full android device rom inside the Android emulator? 回答1: Yes you can, but getting it to work 100% might be hard. most of the roms include specific drivers for the hardware they are running on. I am not 100% on this working, but here are the steps to try: Create a Nandroid backup Create a new AVD for your ROM Copy system.img from the nandroid backup to c:/users/myusername/.android/avd/myrom.avd/ I think you can also take the userdata.img or the other

Trouble having when pushing files to DDMS?

荒凉一梦 提交于 2019-12-10 10:36:25
问题 I'm trying to push one mp3 file to (Emulator) the location /system/media/audio/ui using command adb push But, i'm having E:\Android\android-sdk\platform-tools>adb push song.mp3 /system/media/audio/ui failed to copy 'song.mp3' to '/system/media/audio/ui/song.mp3': Read-only file system this error. How can i change the Permission or how to push the files to this location. Any idea? 回答1: Unless you have a really good reason not to, you should stay in the /sdcard/ folder. Except for /sdcard/ ,