android-emulator

Android Studio Emulator not loading Windows 10

最后都变了- 提交于 2019-12-04 10:45:56
问题 I have a fresh install of android studio on Windows 10, with all the packages for android api 22. When I run the emulator I get the following message C:\Users\admin\AppData\Local\Android\sdk\tools\emulator.exe -avd foo -netspeed full -netdelay none emulator: device fd:928 HAX is working and emulator runs in fast virt mode I can see the emulator in the task manager, but it doesn't actually load. I've been looking for answers to why it doesn't load and I've made sure all the ram settings are

AdMob “Not enough space to show ad” error

♀尐吖头ヾ 提交于 2019-12-04 10:45:48
I'm new to Android. I added AdMob in my android app by making the following changes in main.xml: <?xml version="1.0" encoding="utf-8"?> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent" > <LinearLayout xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap

Emulator networking ip address and virtual router

ぃ、小莉子 提交于 2019-12-04 10:45:37
I am using android emulator on windows. The android developer doc says that each instance of the emulator runs behind a virtual router/firewall service. The virtual router for each instance manages the 10.0.2/24 network address space . However, when I connect to the emulator with adb shell and do ifconfig , I got the following output: radio0 Link encap:UNSPEC inet addr:192.168.200.2 Bcast:192.168.200.255 Mask:255.255.255.0 wlan0 Link encap:UNSPEC inet addr:192.168.232.2 Bcast:192.168.239.255 Mask:255.255.248.0 ip route show gives me the following output 192.168.200.0/24 dev radio0 proto kernel

Android: Emulator factory data reset menu option not working

戏子无情 提交于 2019-12-04 10:34:23
I'm attempting to test a new Android system level app of my own creation, that catches various system event hooks after a device factory reset has been performed. Through the Android Studio AVD Manager i have created multiple emulated Android TV Devices, flavours Oreo (8.0.0) and Pi (9.0) but none of them allow a successful factory reset to be applied. The steps i've have carried out: Launch the freshly created emulated device (with the system partition writable option) eg. ~/Android/Sdk/emulator/emulator -avd Android_TV_1080p_API_26_Oreo_8.0.0_ -writable-system Use adb root permissions to

Debugging Cordova App (android) with Visual Studio 2015 New Emulator

倖福魔咒の 提交于 2019-12-04 10:25:38
I am not sure if this is me doing something stupid or just up against the bleeding edge.. I am developing a simple Cordova app but that is academic since I can repeat this issue with the standard 'Wizzard produced' default application. I had the app working and debugging fine with VS2013 using both Ripple and occasionally with a real device. I don't have permanent access to the device so I thought Id try the new VS2015 CTP5 with emulator. So far so good. All builds ok and the app does get deployed to the emulator, and starts. However, VS is stuck in the 'deploying' process and never comes out.

Android CTS is showing ShellCommandUnresponsiveException on emulator

时间秒杀一切 提交于 2019-12-04 10:19:42
I am running Android CTS Android Test Plan on an emulator running on Android 2.2. But most of the test cases are showing timeout and the error shows com.android.ddmlib.ShellCommandUnresponsiveException. Is there any way to solve this issue ? Mischa Set shell command time out to 5 minutes (instead of 5 seconds:-)) diff --git a/tools/host/src/com/android/cts/TestDevice.java b/tools/host/src/com/android/cts/TestDevice.java index 65ff969..b8578bc 100644 --- a/tools/host/src/com/android/cts/TestDevice.java +++ b/tools/host/src/com/android/cts/TestDevice.java @@ -18,6 +18,7 @@ package com.android

How to disconnect your phone safely when you connect it for debugging through Eclipse?

旧时模样 提交于 2019-12-04 09:43:34
Is there any safe way or just we need to un-plug the USB cable directly? Didn't get the solution anywhere. Sorry, if my doubt is silly as I am new to Android Development & just bought my new costly Android phone. So I do not want any damage or harm to my phone. When I connected my phone, it says, "USB debugging connected" & "Connected in Media transf. mode". How to disconnect? please corporate. Thanks! Change the USB settings on the phone from 'mass storage device' to 'charging'; this will stop the phone from being automounted on the PC. This won't affect adb, which uses a different mechanism

(Using Android Studio) AVD Gets Crash During Launch of My Applicaton

只谈情不闲聊 提交于 2019-12-04 09:24:34
I am New to Android application development. My AVD was working fine a day before but when I try to start it next day it stopped working by throwing the following errors: Failed to create Context 0x3005 could not get wglGetExtensionsStringARB emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get

HTML <select> control disabled in Android WebView (in emulator)

落花浮王杯 提交于 2019-12-04 09:11:45
I have a very simple Android app that's just a WebView. Everything works fine (complex Javascript etc.). However, all of the HTML select controls seem to be disabled. They display with default values, but nothing happens when I click on them, and they don't get the orange highlight when I arrow through the controls. Other inputs (text, radios, submit) work fine, so I don't think it's a focus issue. Configuration: Eclipse IDE SDK Version 8 (2.2) Testing in the Emulator I had the same problem. My problem was fixed by changing overflow:hidden to overflow:visible on a containing element. I had the

Android Emulator plugin not working in Jenkins

六月ゝ 毕业季﹏ 提交于 2019-12-04 09:08:55
When I run test on Jenkins with option create emulator I have this problem: [android] Could not create Android emulator: Failed to run AVD creation command When I target existing emulator I have this problem: FATAL: C:\Windows\system32\config\systemprofile.android\avd\AVD_2.2.ini (The system cannot find the path specified) java.io.FileNotFoundException: C:\Windows\system32\config\systemprofile.android\avd\AVD_2.2.ini (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(Unknown Source) at java.io.FileReader.(Unknown Source) at