android-emulator

How to use a different emulator in Android Studio

时光怂恿深爱的人放手 提交于 2019-12-03 15:31:24
I have issues with the build in qemu emulator in Android Studio. There are some other Android emulators out there. How to configure Android Studio to use a different emulator? I use leapdroid emulator http://www.leapdroid.com to run apps and games. Leapdroid is compatible with Android adb, i.e., using the same port numbers starting with 5555, so there is really nothing special to do, pretty much same as what you do with the built-in Android emulator. If you run "adb devices", you will see a device named as "emulator-5554". Here are the steps: Launch Leapdroid vm, which contains android 4.4.4

How do I register my Google Account in the android emulator running 2.2 api level 8? [duplicate]

余生颓废 提交于 2019-12-03 15:03:54
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Android Emulator - Trouble creating user accounts I'm trying to register a Google Account with the Android emulator running 2.2 API level 8. Forums suggest that you can do this by going to Settings -> Accounts, however for me I only have the option to add a "corporate" account, i.e. an Exchange account, not a Google Account. I wish to add this Google Account to test c2dm from the emulator. Does anyone know how

How to simulate total network loss in Android Emulator

 ̄綄美尐妖づ 提交于 2019-12-03 14:41:13
问题 I'm trying to write an application that needs to know when there is no IP network connection available. I am using the android.net.conn.CONNECTIVITY_CHANGE broadcast event along with ConnectivityManager to react to the changes in state to achieve this, but I'm having problems testing my set up in the emulator. I have tried both flight mode and pressing F8 to disable the "Cellular Network" but even with both of these engaged the application still "sees" the underlying network. Has anybody

What graphic cards do Android emulator GPU emulation support?

安稳与你 提交于 2019-12-03 14:27:25
I have HD7690M XT (an overclocked version of 6770M) and Android emulator (sdk tool rev.20) for ICS failed to start hardware OpenGL ES emulation with the following error message: emulator: ERROR: Could not load OpenGLES emulation library: Could not load DLL! emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. and with software renderer I got really bad color resolution (please see the attached screenshots). I suspect that this is due to the software renderer (no such problem in emulating earlier versions of Android). Have someone who can run hardware emulation

GPX file containing speed information

时光毁灭记忆、已成空白 提交于 2019-12-03 14:15:28
问题 I am currently using the DDMS perspective to simulate movement of the android emulator with a gpx file. However, I have only been able to find gpx files with lat/lon pairs in them and not with speed, altitude, etc. Any recommendations on a place to find a good gpx file which contains the above data for emulator testing purposes? Thanks. Update : I've noticed that the file I am using does indeed have altitude in it, yet when I retrieve it it shows up as zero. Only the lat/lon is showing up

WebView code generating Uncaught TypeError and Uncaught ReferenceError errors on Android 4.4.2 (API 19) emulator

拜拜、爱过 提交于 2019-12-03 14:10:58
问题 I'm having a problem with my code when running on a Android 4.4.2 KitKat (API 19) emulator... When I emulate my project on a Android 4.3 (API 18) emulator, it works normally and creates the mathematical expressions with MathJax: Image of emulator But when I use a Android 4.4.2 emulator, the app don't work correctly: Image of emulator Here is the code of my project: package com.testes.testesapp; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import

Android emulator doesn't use Windows host file?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 14:03:37
m3 http://img245.imageshack.us/img245/461/65254534.jpg Chrome using the windows' HOST file: m1 http://img266.imageshack.us/img266/9380/59750633.jpg Android emulator: m2 http://img821.imageshack.us/img821/7363/19470766.jpg edit "On Windows, the emulator obtains the addresses by calling the GetNetworkParams() API. Note that this usually means that the emulator ignores the content of your "hosts" file (/etc/hosts on Linux/OS X, %WINDOWS%/system32/HOSTS on Windows)." how can I use static IPs in the emulator? FWIW, it's not possible to change the phone's own /etc/hosts file within the emulator - it

how to set the tabs in the bottom of the screen in android?

风格不统一 提交于 2019-12-03 13:49:23
i am working on tabactivity. i wanna show my tabwidget below the tabcontent(framelayout). i done it by setting the tabwiget tab attribute as android:gravity="bottom" but the framelayout cant align with those tabs. that is the tabs are shown at the bottom of the screen and overlap the framelayout how to do that? if set some height value to the framelayout it not optimized for all screens of android. what can i do? any idea??? or just use a custom one from: http://code.google.com/p/androidtabs/ it allows tabs on the bottom The basic concept behind the Tab-Activity as follows TabHost is a

Jenkins - Use Genymotion VM instead of Android Emulator [closed]

孤街浪徒 提交于 2019-12-03 13:38:26
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Has anyone managed to get Jenkins to use the Genymotion android VM, instead of the super-slow android-emulator? The Genymotion is actually faster than a real device on my dev machine, so would be ideal for running CI tests. Thanks for any ideas. Simon 回答1: If you start the

Send SMS between Android emulators

我是研究僧i 提交于 2019-12-03 13:30:48
Before Android Studio 2.0, I could send SMS messages between emulators using their emulator ids (see: https://stackoverflow.com/a/4726121/212508 ). However this method is not working on new emulators with the panel on the right side. Is it possible to send SMS messages between new Android Emulators(2.x)? Note: I want to send the message from emulator to emulator. Not through telnet or ADM. I'm facing the same problem. It looks that it is a known bug, you can find it here: https://code.google.com/p/android/issues/detail?id=210767 Looks like they have solved it, and will add the fix on future