android-emulator

Android: cannot find arm images for api 11,12,13

笑着哭i 提交于 2019-12-11 02:36:11
问题 I'm trying to download the system images for the android emulator for the apis 11,12,13 but on sdk manager there is no option to download them. Any ideas? 回答1: This keeps popping up :) Up to API level 14 (4.0) system images were not a separate item but part of "SDK Platform". Install "SDK Platform" for api levels you need and you will get system images. 来源: https://stackoverflow.com/questions/26040616/android-cannot-find-arm-images-for-api-11-12-13

Android WXGA emulator gets distortion in portrait orientation

落花浮王杯 提交于 2019-12-11 02:22:59
问题 I'm developing an app for 2.1 and above. First Activity in this app supports only portrait orientation, so I have android:screenOrientation="portrait" in AndroidManifest file. Activity looks good on almost all screen sizes and SDK versions, except WXGA screen and 4.0.3 SDK (also 3.2). On this screen, there were distortions of the background and buttons. So I create a new empty Android project for 4.0.3 SDK. Add RelativeLayout and Button in the main.xml and android:screenOrientation="portrait"

Push notifications don't work

萝らか妹 提交于 2019-12-11 02:21:45
问题 I am newbie to android. I had tried the sample given in documentation., but iam not getting any push notification only iam getting the notification icon but no content and title. Can anyone help me in getting cleared?????? Will push notification works in emulator or not? In this sample i found a class as "Resultactivity". Purpose of using this class? I had given the code below. package com.example.pushnotification; import android.os.Bundle; import android.app.Activity; import android.app

Unable to set up Android Target in Eclipse

五迷三道 提交于 2019-12-11 02:14:15
问题 I am constantly getting this error when I go to Preferences -> Android -> and then try to browse for my SDK Location. Could not find folder 'tools' inside SDK '/Applications/eclipse/android-sdk-mac_x86/tools/'. I am able to run the Emulators if I manually go into /Applications/eclipse/android-sdk-mac_x86/tools/android and open up the terminal application but only then can I open the SDK and AVD manager. How do I set my eclipse up to set both the Target correctly and open the SDK and AVD

Android app installation error: com.android.ddmlib.SyncException: Directory not empty

被刻印的时光 ゝ 提交于 2019-12-11 01:59:23
问题 I frequently get the following error when starting an app: [2012-06-24 11:08:53 - Myapp] Failed to install Myapp.apk on device 'emulator-5554': Directory not empty [2012-06-24 11:08:53 - Myapp] com.android.ddmlib.SyncException: Directory not empty [2012-06-24 11:08:53 - Myapp] Launch canceled! The only remedy that I have found so far is to start the emulator with "Wipe out user data" which is no big deal except all the time consuming customization is lost. Could anyone shed some light on this

How to open AVD Manager GUI without opening Android Studio?

ぐ巨炮叔叔 提交于 2019-12-11 01:32:10
问题 As I'm not developing my app with Android Studio, but I'm still using the Android emulator. What's a nice way for me start up my emulator without doing this? Open Android Studio Open some project Click the AVD Manager button I'm not looking for a complete CI replacement, but if there's a long command I can run to open the GUI I'm happy. 回答1: What about a script that show current avds defined and let you choose which one start ? I called it avdmanager.bat in root of SDK (variable ANDROID_HOME

How do I know if it's the latest version of my application that is running on the emulator?

柔情痞子 提交于 2019-12-11 01:26:30
问题 I develop an Android application using Eclipse and the Android emulator. Sometimes I don't know if I am running the latest version of my application in the emulator. Is there any way I can check if it is the latest version? E.g. I do a change of the layout for my application, but when I run the application in the emulator and the change isn't visible. Then I don't know if it is an old version of the application that is running or if I have done something wrong in the new version so the change

Android studio 3.0.1 shows Process finished with exit code -1073741819 (0xC0000005)

我的梦境 提交于 2019-12-11 01:07:57
问题 I am trying to use an marshmallow api 23 emulator on Android studio 3.0.1 on Win 7 64bit and getting this error: 7:03 PM Emulator: emulator: ERROR: detected a hanging thread 'QEMU2 CPU0 thread'. No response for 15000 ms 7:03 PM Emulator: Process finished with exit code -1073741819 (0xC0000005) In general ever since I have updated to 3.0.1 from 3.0 I have been getting endless AVD errors. If it helps, this error came right after I unticked the pcstore.bin from "Read-only". 回答1: I solved this

Make Android Emulator use physical usb camera

南楼画角 提交于 2019-12-11 00:25:48
问题 Android Studio, latest Google SDK emulator. I have set back camera emulation mode to Webcam0 to get my usb camera connected to emulator. Unfortunately, it's not working. My camera works without any problems on host computer, for example this: ffplay /dev/video0 gives me camera video playback. When I run emulator with above settings, camera on emulator just says "Unable connect to camera", then closes itself. Have anybody ever succeded with connecting physical camera to Android emulator? I

/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.7' not found (required by emulator64-x86)

蓝咒 提交于 2019-12-10 23:16:10
问题 I've compile the android source source ./build/envsetup.sh lunch aosp_x86_64-eng when I run emulator64-x86 in terminal, error occur: emulator64-x86: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.7' not found (required by emulator64-x86) emulator64-x86: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5' not found (required by emulator64-x86) emulator64-x86: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not found (required by emulator64-x86) emulator64-x86: /usr