android-emulator

Can't find Android 8.0-8.1 (Oreo) API 26-27 ARM System Images

偶尔善良 提交于 2020-01-11 16:40:06
问题 Are there anywhere Android 8.0 (Oreo) API 26 and Android 8.1 (Oreo) API 27 ARM System images (ARM, not x86 Intel) for AVD Manager? Thanks. Unofficial? Beta? Alpha? Any? 回答1: The ARM images for API 26 and 27 are not available yet. ARM images available till API 25 only. Note: Google recommended an x86 system image on an x86 host for better emulation performance. 回答2: You should build Android sources for specific platform by yourself 回答3: Recent updates enabled computers with AMD processors to

How to check Android app is running in real device or virtual device? [duplicate]

左心房为你撑大大i 提交于 2020-01-11 14:41:10
问题 This question already has answers here : How can I detect when an Android application is running in the emulator? (34 answers) Closed 4 years ago . I would like check real device user or virtual device user (like AVD, Genymotion, bluestack something like that) My app is checked device id and rewarded. if abusing users are running app in virtual device, you now I'll be a beggar :( 回答1: You can use checks like this: public boolean isGenymotionEmulator(String buildManufacturer) { return

How to check Android app is running in real device or virtual device? [duplicate]

谁都会走 提交于 2020-01-11 14:40:12
问题 This question already has answers here : How can I detect when an Android application is running in the emulator? (34 answers) Closed 4 years ago . I would like check real device user or virtual device user (like AVD, Genymotion, bluestack something like that) My app is checked device id and rewarded. if abusing users are running app in virtual device, you now I'll be a beggar :( 回答1: You can use checks like this: public boolean isGenymotionEmulator(String buildManufacturer) { return

Unable to start the Android Virtual AVD device

那年仲夏 提交于 2020-01-11 10:55:28
问题 I have successfully installed the Android SDK and also linked the SDK Manager to the SDK path. Then I have created the AVD of API 8 and it's done. But while I am going to start the Virtual Device it's not started and gives me error like "@foo" can not started, commend line error , and also give me hint: open @foo for virtual device . What exactly is 'foo'? 回答1: Spaces may be contained in the installation path of Android SDK. You may move it under a path with no space in it. 来源: https:/

Android emulator : insert negative number?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-11 08:31:14
问题 I suppose it must be easy but how do I insert a negative number in an EditText ? I am running the emulator on a Mac. Thank you. 回答1: Just press '-' before you enter the number? If that's not possible, there is probably something wrong with the inputType of the editText. For example, android:inputType="numberDecimal" doesn't allow negative numbers. In that case you should add: android:inputType="numberDecimal|numberSigned" . 回答2: In resource file .axml, EditBox change type android:inputType=

VS 2015 intern Android Emulator not starting (vmWare 10)

扶醉桌前 提交于 2020-01-11 06:43:09
问题 I am running VS2015 CTP6 on a freshly installed and updated Windows 8.1 N x64 VM. Hyper-V support is enabled, hypervisor.cpuid.v0 = "FALSE" and vhv.enable = "TRUE" are set to vmx-file. When i try to run the build with a Visual Studio Emulator for Android-device VS will tell me "starting emulator" forever. No error, no window, nothing at all. The included AVDs (like AVD_GalaxyNexus_ToolsForApacheCordova) start fine, just the new Microsoft VS Emulator for Android isn't working. After canceling

Serious problems in Configuring Android SDK with Eclipse

一笑奈何 提交于 2020-01-11 05:27:32
问题 I am having serious problems in Configuring ADT with Eclipse. I am using Windows 7 Home Premium version. The Eclipse (64 bit) that I am using is: Eclipse Classic 3.7.1 Eclipse Java EE IDE for Web Developers. Version: Indigo Release Build id: 20110615-0604 Java code runs without any problem in this Eclipse. For running Android: at first, I went into Eclipse-> Help menu and then Install New Software. Clicked Add, named it ADT and for location used: http://dl-ssl.google.com/android/eclipse. The

Re-sign an Android Apk

别说谁变了你拦得住时间么 提交于 2020-01-10 14:01:15
问题 How can I Re-sign an android apk. I referred to this answer Can I re-sign an .apk with a different certificate than what it came with? but got stuck with Android Manifest.xml missing error. 回答1: Friends I found a work around to this . Resign Android Apk using android default debug.keystore. **Open the apk in the winzip browser and not by unzipping to a folder. Delete META-INF folder .zipping again is not required.** Jarsigner -verbose -keystore debug.keystore yourapk.apk aliasname **Example**

How to handle different sizes of screen on android

浪子不回头ぞ 提交于 2020-01-10 05:46:21
问题 First, I run program on emulator. After that, I run on many android phones. Some are very small, some are show in rotate side then can't rotate back, and can't scroll (I did not do that), some are OK. I understand may caused by different types of screen and I used AbsoluteLayout, but I do not know how to solve that problem.So, I need to resolve this problem. Anyone can help? Thanks ka Example page that I did: <?xml version="1.0" encoding="utf-8"?> <AbsoluteLayout xmlns:android="http://schemas

Lollipop capitalizes Buttons' text in my app

冷暖自知 提交于 2020-01-10 04:22:04
问题 I am expreiencing a strange problem with my application. When I am testing it on a real device (with Android 4.4.4) all my Buttons' text fields look how I wanted (lower case letters). But when I launch my application on an emulator (Android 5.0.1) all Button texts fields are capitalized. What is the reason of such behaviour? Some example Buttons from my app: Example Button 1: <Button android:id="@+id/button5" android:layout_width="match_parent" style="?android:attr/borderlessButtonStyle"