avd

Android Activity — NullPointerException (“unable to instantiate activity ComponentInfo”)?

自作多情 提交于 2020-01-22 16:49:17
问题 I'm trying to create a program for Android which will read in text, and then print it out, jsut to get used to using I/O for Android. However, whenever I run it on the AVD, it returns an error in LogCat saying that there is a NullPointerException in my code, and that it is therefore "unable to instantiate activity ComponentInfo". I can't find where I'm referring to anything null. Here is my code: import android.app.*; import android.os.*; import android.view.View; import android.view.View.*;

Why there is no “Nexus 5” in AVD Manager? What option to use instead?

筅森魡賤 提交于 2020-01-22 09:49:46
问题 I have installed the latest Android SDK (22.3). But there is no "Nexus 5" option in AVD Manager. Please see the picture: What option should I instead to emulate Nexus 5? I'm Android development newbie. 回答1: The Nexus 5 got a 4.95-inch screen at 1080×1920 (1080p) screen resolution, 2 GB RAM, front-and-back cameras. This is the correct settings when creating a custom device definition. Both the Nexus 4 and the Nexus 5 have 2 GB RAM, but Google's device definition for the Nexus 4 has the RAM set

Android Virtual Device VFP for ARMv5

谁都会走 提交于 2020-01-17 04:19:13
问题 AVD has VFP support for armeabi-v7a but has not for armeabi. I experience problem with float point on ARMv6 and wish to setup ARMv6 with FPU on virtual device. (It is hardware similar to Samsung Galaxy ACE, Y, Pocket, GIO) So I look for solution to get another CPU/ABI option for Android Virtual Device. UPDATE AVD settings are located in ~/.android/avd/config.ini It is possible to add line like hw.cpu.model=cortex-a8 Right now it does not work If you know required settings I will mark your

How to open avd amulator when windows starts

不打扰是莪最后的温柔 提交于 2020-01-15 11:56:46
问题 I work with AVD emulator and I have to restart my PC again and again because of some updates. so each time I start the pc, I have to run the custom bat file to start the emulator again and that becomes a tidy process to me. Here is my way to make bat file to open emulator I have searched on stackoverflow and on other places but couldn't find the exact solution. Here are some relevant links Run AVD Emulator without Android Studio https://developer.android.com/studio/run/emulator-commandline

Error in creating AVD in android studio

天大地大妈咪最大 提交于 2020-01-15 01:53:15
问题 I am new to android studio. my problem is when i try to create AVD its showing unknown error. see idea.log for details. I am working on windows8. 回答1: Delete all the files and folder from a directory home//.android/avd It's for Ubuntu. In Windows it's also in the user's folder (.android/avd). 回答2: Before you create the new Virtual Device, Try downloading via SDK Manager the API level you want on the Virtual Device. This should do it. 来源: https://stackoverflow.com/questions/47142959/error-in

How to configure Android Emulator once SDK is installed

喜欢而已 提交于 2020-01-14 20:10:17
问题 I am trying to get the Android emulator up and running on my 64-bit Ubuntu 12.04 distro. First, I had to install ia32-libs to get around some earlier issues that I had encountered on previous (failed) attempts. I then downloaded and installed the 64-bit linux distro. I navigated to the android application (SDK Manager) on the command line, and ran it. I downloaded Android Tools and the latest flavor of the Android OS. I would now like to run emulator , but when I do, I get the following error

Unable to start emulator on Android Studio 2.1

不打扰是莪最后的温柔 提交于 2020-01-13 19:12:32
问题 I am unable to start my emulator on Android Studio 2.1 and getting the following error : Cannot launch AVD in emulator. Output: emulator: WARNING: Increasing RAM size to 1024MB init: Could not find wglGetExtensionsStringARB! getGLES1ExtensionString: Could not find GLES 1.x config! emulator: WARNING: VM heap size set below hardware specified minimum of 48MB Failed to obtain GLES 1.x extensions string! emulator: WARNING: Setting VM heap size to 256MB Hax is enabled Hax ram_size 0x40000000 HAX

Unable to start emulator on Android Studio 2.1

三世轮回 提交于 2020-01-13 19:11:49
问题 I am unable to start my emulator on Android Studio 2.1 and getting the following error : Cannot launch AVD in emulator. Output: emulator: WARNING: Increasing RAM size to 1024MB init: Could not find wglGetExtensionsStringARB! getGLES1ExtensionString: Could not find GLES 1.x config! emulator: WARNING: VM heap size set below hardware specified minimum of 48MB Failed to obtain GLES 1.x extensions string! emulator: WARNING: Setting VM heap size to 256MB Hax is enabled Hax ram_size 0x40000000 HAX

HAXM is required to run this AVD

…衆ロ難τιáo~ 提交于 2020-01-13 05:48:20
问题 I have created emulator in android studio and create little application in it. When i run it gives me an error[See image 1]. When i googled, it told me that your system does not support virtualization. But my system suport it. [See image 2]. Now my question is that when my system support virtualization then why i cannot run my app in emulator. Also please help on this following error too. 1-Intel HAXM is required to run this AVD. 2-Your CPU does not support NX. Please anyone help to resolve

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