android-emulator

Android Emulator is not working

一个人想着一个人 提交于 2019-12-24 01:17:17
问题 When i run the emulator is running up to the process big text android. After that is not responding. In Eclipse console showing text "Wait for Home" I tried re-install of android also My System properties Microsoft Windows XP, 0.99GB of RAM Any help me for this problem Advanced Thanks 回答1: The emulator takes a long time to load the first time, several minutes, and in this time only shows 'Android' in large text. Wait a couple of minutes and then you should be fine. 回答2: Make sure your SD card

Android strace in Real device

半世苍凉 提交于 2019-12-24 01:07:55
问题 I have the following situation, I want to monitor the system calls on Android phones so I made an script to do that. With Android Emulator works perfectly (writes the traces of the application in a specific file on my Ubuntu). The problem is when I attach a real phone to analyze it, it says the following in the result file: ptrace attach failed: Operation not permitted I'm using this code to get it, but I don't understand why it works on the emulator and not in the rooted real device. This is

How to zip and unzip png images in android

和自甴很熟 提交于 2019-12-24 01:07:23
问题 Hi in my app when i click zip button i need to zip image file and and when i click unzip button i need to unzip file,i tried using below code to zip image but my problem is when i click zip button zip file is creating,but after that in system using winzip software i try to open file but its not opening its showing "it does not appear to a valid archive valid file" where i did mistake can u let me how to zip and unzip images public class MainActivity extends Activity { /** Called when the

Android emulator does not start in eclipse

╄→尐↘猪︶ㄣ 提交于 2019-12-24 00:33:43
问题 I just installed the whole shebang in order to develop android apps in Eclipse (I'm running 64-bit gentoo). Everything seems to go fine, and I created the dev group's hello-world example: package com.nfshost.flyingmonkey.android; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate

state_activated and ListView item background color

你。 提交于 2019-12-24 00:07:08
问题 I'm trying to color an item's (when selected) background. I'm working with the Android emulator. I have a set of XML files in res/drawable . background.xml : <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/pressed" /> <item android:drawable="@drawable/normal" /> </selector> normal.xml : <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android

Android Emulator Crashes on ig4icd32.dll with exception code c0000005 (emulator-arm.exe has stopped working)

独自空忆成欢 提交于 2019-12-23 23:50:31
问题 I have been developing apps on Android for a while now. I have the development environment installed on my laptop and everything was working till this morning. I had the v15 and v10 SDK platforms and emulators installed. Just to try the Android Jelly Bean emulator, I tried to download the v16 SDK from SDK Manager. That led to a series of updates in SDK manager and then the ADT plug in also. Since that I have been facing this issue whenever I try to start the emulator. I have searched a lot

Cannot Install ARCore on Android Emulator

假装没事ソ 提交于 2019-12-23 23:13:11
问题 I understand this question has been asked a few times, however the solutions for the other users have not resolved my issue. I am attempting to install ARCore on my Android Studio emulator. The Play Store says "Your device isn't compatible with this version," and when I click and drag the ARCore for emulator APK to manually install it on the emulator, it gives me the following message: "The APK failed to install. Error: Could not parse error string" The System Image I'm using: Oreo/ API

Device Supports <Undefined> , but APK only supports x86

别说谁变了你拦得住时间么 提交于 2019-12-23 23:03:07
问题 I'm trying to deploy and debug an app for different CPU ABis via my Android Emulator but get this error. It doesn't specify what ABI the Emulator supports. I've tried running an APK that supports all ABIs but still get the same error. This only happens to Emulators with a Google Play System Image. I have no issues deploying to the clean x86 System Image which isn't Google Play or Google APIs. I'm running on Windows 10 64-bit, and on HAXM 6.1.2. Any ideas? 回答1: Check this stackoverflow

android gridlayout not showing in emulator API 22

旧城冷巷雨未停 提交于 2019-12-23 22:37:45
问题 I have an app that functions exactly as desired on an actual device Nexus 6P running API 23 and an emulated 6P, 5 & 4 running API 24, but is showing odd behaviour wrt GridLayout on emulated Nexus 5 & 4 running API 22. The app only has a single activity with multiple RelativeLayout s that are programmatically set .VISIBLE & .INVISIBLE . In one such RelativeLayout I have 2 GridLayout s as follows. When emulating API 22, the bottom GridLayout does not show but the top one always does

VT-x not working, even tho it's enabled in bios and my CPU supports it

穿精又带淫゛_ 提交于 2019-12-23 22:25:10
问题 I tried to make my android emulator work faster and as the title says, I can't get to install HAXM driver on my laptop. I've looked everywhere and did everything people suggested on other pages. Intel Virtualization Technology in bios is enabled. Updated Eclipse tools etc. Downloaded driver directly, instead of throguh Eclipse manager. I even tried to disable Hyper-V in Windows functions but it's not there. I still get the following error when trying to install the driver: (Can't post images