android-emulator

Android CTS is showing ShellCommandUnresponsiveException on emulator

谁说我不能喝 提交于 2020-01-13 04:31:20
问题 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 ? 回答1: 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

Android: Emulator factory data reset menu option not working

拜拜、爱过 提交于 2020-01-13 04:31:10
问题 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

Android: Emulator factory data reset menu option not working

a 夏天 提交于 2020-01-13 04:31:02
问题 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

Problem Pushing Large File to Emulator/SDcard with Eclipse DDMS

爷,独闯天下 提交于 2020-01-12 18:51:39
问题 I am using Eclipse DDMS to push a file over onto my Android Emulator sdcard. I select the file and press Open, a dialog pops up and starts pushing the file. In the view "File Explorer" in the DDMS perspective I can see the sdcard directory and can see my file created in it. Then in the popup the progress meter gets halfway then I get this error in the Console window: [2011-09-22 15:15:56] Failed to push the item(s). [2011-09-22 15:15:56] (null) Then the File Explorer completely refreshes and

Problem Pushing Large File to Emulator/SDcard with Eclipse DDMS

不羁的心 提交于 2020-01-12 18:51:29
问题 I am using Eclipse DDMS to push a file over onto my Android Emulator sdcard. I select the file and press Open, a dialog pops up and starts pushing the file. In the view "File Explorer" in the DDMS perspective I can see the sdcard directory and can see my file created in it. Then in the popup the progress meter gets halfway then I get this error in the Console window: [2011-09-22 15:15:56] Failed to push the item(s). [2011-09-22 15:15:56] (null) Then the File Explorer completely refreshes and

Error while waiting for device: The emulator process for AVD … was killed

本秂侑毒 提交于 2020-01-12 18:23:01
问题 I am a freshman for the development of the Andriod, I suffered from a odd question when I runned the app ,just as the follow picture. I also google it, but I have not finded a useful answer, who can tell me what I can do ~~~~(>_<)~~~~ thanks 回答1: I found this: just go to this directory: cd $ANDROID_HOME/Sdk/emulator/lib64/libstdc++ and rename: libstdc++.so.6 to libstdc++.so.6.bak $ANDROID_HOME is your android SDK directory source: https://forum.manjaro.org/t/android-studio-installation-guide

Error while waiting for device: The emulator process for AVD … was killed

杀马特。学长 韩版系。学妹 提交于 2020-01-12 18:22:12
问题 I am a freshman for the development of the Andriod, I suffered from a odd question when I runned the app ,just as the follow picture. I also google it, but I have not finded a useful answer, who can tell me what I can do ~~~~(>_<)~~~~ thanks 回答1: I found this: just go to this directory: cd $ANDROID_HOME/Sdk/emulator/lib64/libstdc++ and rename: libstdc++.so.6 to libstdc++.so.6.bak $ANDROID_HOME is your android SDK directory source: https://forum.manjaro.org/t/android-studio-installation-guide

Emulator: emulator: WARNING: UpdateCheck: Failure: Error

倾然丶 夕夏残阳落幕 提交于 2020-01-12 17:21:10
问题 I was able to run the my AVD shown below successfully. avd However after a couple of API updates and update of the Android Studio to 3.0, I'm unable to run the AVD successfully again. Keep getting the error below: avd error My AVD is also super slow and i am running a windows PC with 8GB RAM. Below is the details of my avd. Name: Pixel_API_25 CPU/ABI: Google APIs Intel Atom (x86) Path: C:\Users\Blah\.android\avd\Pixel_API_25.avd Target: google_apis [Google APIs] (API level 25) Skin: pixel SD

React-native: Images not showing in android device; but shows perfectly in emulator

末鹿安然 提交于 2020-01-12 04:54:11
问题 I am working on a sample react native project. And almost all features except the <Image source=''/> work well with it. The image shows well in android emulator supplied with android studio and genymotion, but does not work on any real devices (moto G3 turbo, nexus 5, galaxy s4 etc...). I don't know what went wrong with my code. Here is my code import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Image } from 'react-native'; class ImageTester extends

glTexImage2D: got err pre :( 0x506 internal 0x1908 format 0x1908 type 0x1401

五迷三道 提交于 2020-01-11 20:57:07
问题 When running my emulator with Android Studio I can't see anything on the emulator screen (everything is black). I get the following Event Log: Emulator:glTexImage2D: got err pre :( 0x506 internal 0x1908 format 0x1908 type 0x1401 I already tried to clean the project and rebuild it but nothing happened. I think it's something related just with the emulator. Does anyone know what's going on? 回答1: As @SirQuickWay's solution didn't work for me I had to change OpenGL ES Renderer and OpenGL ES API