android-emulator

Android studio emulator white screen

非 Y 不嫁゛ 提交于 2019-12-03 07:59:07
I've Installed the newest version of Android studio, including the newest version of HAXM, ndk, sdk and whatever other related dependencies it installs. Intel Virtualization bios setting thingy I can't remember the name of is enabled and I have no trouble in virtual box and such. I created an empty activity and tried testing it on the phone, works perfectly. Then I tried it on the emulator and there is a problem when it is hardware accelerated. It just opens a white window. The android studio displays 0 errors and thinks it ran the app properly. The graphics card I have is a gtx 1060 6gb. When

How to change the Android emulator temporary directory

*爱你&永不变心* 提交于 2019-12-03 07:49:50
I want to know how to change it on WINDOWS ? Because my C:/ drive don't have enought space to support all TMP file generated ! By default, here are the temp directory on WINDOWS: (%temp%) -> C:\Documents and Settings\MyPC\Local Settings\Temp\ and extract the file on (AndroidEmulator) folder ... On Linux here the method: http://stuf.ro/how-to-change-the-android-emulator-temporary-directory But i am looking for way to do it on windows :( Thank you in advance for your help. I found on linux I can just set the ANDROID_TMP environment variable to a different directory. Have you tried that ? A

How do I change the Mobile Country Code (MCC) in the Android Emulator?

不羁的心 提交于 2019-12-03 07:12:08
问题 My Android application needs to react differently to different Mobile Country Codes. It seems like it is hardcoded to mcc310 (US) . I can read this value from TelephonyManager.getSimCountryIso() or by using a resource folder like res/values-mcc123/ but how do I set this value in the emulator? 回答1: To change what TelephonyManager.getSimCountryIso() returns, simply execute adb shell setprop gsm.sim.operator.iso-country no and it now returns no (Norway). If you want to change what

How can I create an Android AVD for a Samsung Galaxy Note 2?

给你一囗甜甜゛ 提交于 2019-12-03 07:10:01
问题 I want to create an AVD to test apps on a Samsung Galaxy Note 2. I have checked similar questions, but they are intended for older AVD versions. Which device should I use? Should I set the target as "Android 2.3.3 - API Level 10"? 回答1: I know the following: Screen Size 5.55" Resolution 720w x 1280h Density xhdpi RAM 2 GiB Hardware buttons* The rest I just left at the defaults: Sensors: Accelerometer, GPS, Gyroscope, Proximity Sensor Cameras: Front, Rear Input: No Nav Size: Large Screen Ratio:

android tablet emulator

孤人 提交于 2019-12-03 06:59:24
I want to develop application for Android tablet . But I am unable to create a tablet size emulator . Emulator size should be 1024x600 (WSVGA) but there is no option to make tablet size emulator in default skin size in sdk2.2 as well as sdk 2.3. Then How to create tablet size emulator? However i have tried to make tablet size emulator manually putting the screen size 600x1024 in screen resolution. But this emulator is not working. Please help. You can download the Galaxy Tab Emulator from the "Android SDK and AVD Manager". Under "Available Packages", "Third party Ad-ons", "Samsung" Set the

Run react-native on android emulator

╄→гoц情女王★ 提交于 2019-12-03 06:42:14
问题 I try to run react-native app on genymotion android emulator on my mac. When I write react-native run-android It gets Running /usr/local/opt/android-sdk/platform-tools/adb reverse tcp:8081 tcp:8081 error: closed Could not run adb reverse: Command failed: /usr/local/opt/android-sdk/platform-tools/adb reverse tcp:8081 tcp:8081 Building and installing the app on the device (cd android && ./gradlew installDebug... Could not install the app on the device, read the error above for details. Make

Android emulator error: std::bad_alloc

删除回忆录丶 提交于 2019-12-03 06:40:00
I'm using Eclipse Juno and the Android emulator (SDK Tools 21.1) and I'm having this error a lot of times (well, two or three times in 6 hours): [2013-03-22 11:41:19 - Emulator] terminate called after throwing an instance of 'std::bad_alloc' [2013-03-22 11:41:19 - Emulator] what(): std::bad_alloc [2013-03-22 11:41:19 - Emulator] [2013-03-22 11:41:19 - Emulator] This application has requested the Runtime to terminate it in an unusual way. [2013-03-22 11:41:19 - Emulator] Please contact the application's support team for more information. I've googled it but it seems to be an C++ error. I don't

How to run or debug on android phone instead of emulator?

▼魔方 西西 提交于 2019-12-03 06:38:25
问题 Android emulator is so slow that it is not possible to test run applications. Is there anyway to debug/run applications on real phone with IDE instead of emulator? 回答1: You can generally switch on USB debugging on your handset and connect it up to your PC over USB. The handset will then appear to adb in the same way as an emulator. You might need to download drivers from your handset manufacturer for your phone. On my HTC desire the setting is under: Settings -> Applications -> Development ->

How to setup Android Lollipop emulator with Charles Proxy?

我是研究僧i 提交于 2019-12-03 06:30:53
问题 I've been following instructions from other questions such as How to configure SSL certificates with Charles Web Proxy and the latest Android Emulator on Windows? (I'm on a MAC though) and SSL Proxy/Charles and Android trouble and I'm able to use Charles Proxy to analyze the packets of Android emulators all the way up to Kitkat. Now I'm trying to do the same for Lollipop emulators. However, when I repeated the same steps I used to successfully setup the Kitkat emulators, Charles show nothing!

Genymotion Still waiting at “Booting”

落花浮王杯 提交于 2019-12-03 06:27:29
I use Genymotion for Android Studio but genymotion still booting does not On status I searched for a solution and followed Uninstall and Re-install Clear Cache Remove device and new install Fix Host-Only Ethernet to default And another thing to try But I can't fix it Genymotion v3.0.1 VM VirtualBox v6.0.4 Please help me find a solution. Help me. Sorry for my english Tried to reset cache, re-create the device, toggle network mode, upgrade Genymotion to 3.0.1, and NONE of them worked. A temp fix to change "booting" status to "on": Open Genymotion Shell run devices list then run in a new terminal