emulation

Android emulator hangs forever at boot time

狂风中的少年 提交于 2019-12-12 07:51:34
问题 Emulator started, but not booting further "android" flashing text. Started by Android/Sdk/emulator/emulator @Nexus_5X_API_25 -verbose In logs only repeating records emulator: MemoryReport: Epoch: 140737476643856, Res/ResMax/Virt/VirtMax: 737525760 737525760 5164826624 5302894592 How to fix/debug it?.. Was working fine with KVM end virtualization, but suddenly stopped after updating to emulator to 26.1.2-4077558. Update Thanks to albodelu for information about update to 26.1.3. After Update I

What is the smallest, simplest CPU that GCC can compile for?

Deadly 提交于 2019-12-12 07:44:35
问题 In terms of instruction set and simplicity of emulation. I would like to implement a virtual CPU and figured why not emulate an existing one, so to be able to compile C code to it. 回答1: Moxie is a great target because it was designed specifically to be an ideal target for GCC. I am the author and would be happy to answer any questions. green at moxielogic dot com 回答2: GCC supports Moxie (originally ggx), a little architecture invented by Anthony Green for experimentation. You, too, can follow

How to create an SD Card image file for the Android emulator? [closed]

送分小仙女□ 提交于 2019-12-12 07:25:13
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I need to create an SD Card image file for an Android emulator that I am running. Given that I am a beginner at Android development, a complete step-by-step tutorial would be awesome. 回答1: There is a command line

How to run apk from commandline in emulator

╄→尐↘猪︶ㄣ 提交于 2019-12-12 07:19:32
问题 How do I start an apk on the emulator from the console? I wasn't able to find the correct command. I have an Ubuntu running in a VM and there the emulator. I now try to install (adb install App.apk -works!) and run it from commandline. Thanks in advance! 回答1: to install: adb -e install -r "your-apk-file-complete-path" Now to run: am [start|instrument] am start [-a <action>] [-d ] [-t <mime_type>] [-c <category> [-c <category>] ...] [-e <extra_key> <extra_value> [-e <extra_key>

Intel HAXM on macOS high sierra (10.13)

最后都变了- 提交于 2019-12-12 07:09:31
问题 Is there any way of using Android emulator on High Sierra (10.13)? When I run ./HAXM\ installation -u It says: HAXM silent installation only supports macOS from 10.8 to 10.12 ! 回答1: The command line installation doesn't work and gives unsupported mac os version error, while the installation through IntelHAXM_6.2.1.mpkg works but kext is not loaded due to "Approved Kernel Extension Loading" changes, So you will need to allow the extensions from Intel and restart your mac, then launch the

Unknown Host Exception using emulator and HttpURLConnection

社会主义新天地 提交于 2019-12-12 05:39:58
问题 I'm currently in the final stages of developing my Android application on Android studio. Built the APK files to run them on a device seperate to one of the Android studio emulators. I went with Andy android emulator. I installed the APK but when I tried to log in i.e. connect to the server I got an unknown host exception as follows: System.err: java.net.UnknownHostException: http://point_collector.netau.net/FetchData.php System.err: at libcore.net.http.HttpConnection$Address.<init>

Android emulator creates multiple instances created with same project

て烟熏妆下的殇ゞ 提交于 2019-12-12 05:21:46
问题 I've just download Eclipse + Android SDK, I was making the classic hello world and then change some stuff around the code, but every time I run the same project Eclipse launch a new emulator. How can I keep running the same app on the same emulator? It's boring waiting the emulator finish loading (it takes ages). 回答1: Start emulator only once. After that you need not to close it after the first run. Your application will be installed automatically on the running emulator. 来源: https:/

Android - Get Current location of user on emulator

微笑、不失礼 提交于 2019-12-12 05:18:06
问题 Is it possible to show our current posotion on Android emulator? If yes how? Thank You. 回答1: You need to set the latitude and longitude in case of emulator because emulator do not have gps detection hardrware to get current location. telnet localhost 5554 geo fix <longitude value> <latitude value> For ex: geo fix 68.54546 37.5117579 回答2: You can fake GPS location data on emulator using DDMS which is explained here: http://developer.android.com/tools/debugging/ddms.html#ops-location and here:

Python Mouse Movement Emulation in Games

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 04:49:31
问题 I'm looking into using the Kinect to play video games. This requires the emulation of both keyboard and mouse events. I've figured out that keyboard events with ctypes' SendInput() works in both Skyrim and Minecraft. I've also found that ctypes' mouse_event() works in both Skyrim and Minecraft for emulating mouse buttons. Those are the solutions I've found so far that seem to work for both Skyrim and Minecraft. The main issue I'm having is with moving the player's camera around within Skyrim.

How can I debug Visual Studio - Xamarin.Forms project on Android device?

痴心易碎 提交于 2019-12-12 03:49:30
问题 I want to attach the Android device to Windows 8.1 trough USB instead of using the built in emulator. How can I do this? Note : The device can be connected trough USB (USB drivers are installed), and its in devaloper mode. 回答1: You first need to enable Developer Mode: Android 4.2 and higher Starting in Android 4.2 and higher, the Developer options is hidden by default. To make it available, go to Settings > About phone, and tap the Build number item seven times to reveal the Developer Options