avd

Unable to create AVD with android sdk on Mac OS

人走茶凉 提交于 2019-12-04 04:53:54
问题 I have installed Android Studio and JDK1.8 on Mac OS. I followed the instructions and created a new application with API 15 as minimum sdk. I tried to create an AVD from AVD manager to test my application by selecting create new virtual device->nexus 6->lollipop 22 armeabi_v7a android 5.1.1 as target. When I click finish, it takes me back to the first AVD manager screen without giving any errors and AVD is not created. Where could be the problem? 回答1: First you need to download the SDKs you

Android Studio Project Structure not displaying properly

无人久伴 提交于 2019-12-04 04:52:21
My Android Studio 1.3.2 was working properly,but it restart it self and then i am not able to see Android type to select project structure and also i am not able to find SDK Manger, AVD Manager icons. Aditya Vyas-Lakhan Finally I found solution for that, First of all, I tried with Invalidate Caches and Restart then my android studio restarted and then I clicked on Edit Configuration . I selected Android Application Project and my project got scanned and it is working now. 来源: https://stackoverflow.com/questions/36889250/android-studio-project-structure-not-displaying-properly

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

女生的网名这么多〃 提交于 2019-12-04 04:40:18
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 Jose Estrella 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/12630 来源: https://stackoverflow.com/questions/39000249/error-while-waiting-for-device-the

AVD Crash on second monitor

流过昼夜 提交于 2019-12-04 04:33:47
I just installed Android Studio and was trying to get a preview of my application but whenever i start the AVD Emulator on whatever devices or API it crashes, but it only do crash when I swipe the window of the AVD to my second monitor. my computer configuration : i7-6700k, 16Gb RAM and a GTX 1060 the AVD configuration : Anyone had the same problem in the past or have a solution ? feel free to ask me for more info in case I didn't explained enough I had the same problem, and I found a solution that you can have the hardware acceleration still activated and move the AVD between monitors. Here's

Why is the Android AVD Manager missing when using Android SDK in Intellij?

牧云@^-^@ 提交于 2019-12-04 04:08:53
I am trying to use the Android SDK in my IntelliJ project that is a larger project containing both web and ios clients as well as a server side (Thus that is why I'm not using Android Studio). I have installed on the Android SDK on my mac OSX machine. I ran the SDK Manager and installed Android 6.0 (API 23) as well as Android SDK Tools 25.1.7, Android SDK Platform-tools 23.1, and Android SDK Build-tools 23.0.1-24. I've also set up the Android SDK in my IntelliJ Project Structure. However, the Tools menu does not show the AVD Manager. This results in me being unable to select an emulator AVD

UI Automator Viewer: receiving “Error taking device screenshot: null” every time from AVD device

主宰稳场 提交于 2019-12-04 03:52:35
This only happends on the AVD devices within the AVD manager. I never get this error when capturing uiautomatorviewer screenshots from Genymotion. When attempting to capture within the Android Device Monitor in AS...it gives me a little more detail: Reason: Error obtaining UI hierarchy Try it with HAXM acceleration turned off, if you can. I had to run the test using a profile that then ran the test on a physical device to get the screen shots. Essentially, if the AVD has Use GPU or Snapshot selected - even if running on a USB attached device, screenshots fail. This is a bug in uiautomator

Do x86 Android AVD's work on Linux on AMD?

杀马特。学长 韩版系。学妹 提交于 2019-12-04 01:58:11
问题 I know that you cannot run the x86 images on Windows on AMD. I am trying to see if I can run them on Linux though as the documentation implies. I installed Ubuntu 1704. I installed the latest Android Studio 2.3.3. I created a default AVD for API 25 on x86. I have also installed the following packages: cpu-checker lib32ncurses5 lib32z1 gcc-multilib nvidia-current I have an AMD Phenom II 1045T: vendor_id : AuthenticAMD cpu family : 16 model : 10 model name : AMD Phenom(tm) II X6 1045T Processor

AVD Manager can't find tools\android.bat even though it's there

删除回忆录丶 提交于 2019-12-03 21:38:08
问题 I've researched this on the internet so much and nothing I find is helping me out. I got the SDK manager to run, but when I try to run the Adroid AVD Manager, it doesn't run!!!!! Why? It says, word for word, "Failed to execute tools\android.bat: The system cannot find the file specified." Why can it not find a file that is clearly where it is looking? PS I'm running windows 8, installed the latest version of the ADK. 回答1: The latest SDK has AVD Manager in the SDK Manager itself. Open SDK

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

和自甴很熟 提交于 2019-12-03 21:31:25
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.*; import android.widget.*; public class ButtonTestActivity extends Activity { TextView tv = (TextView)

Android Studio AVD Manager button is disabled

梦想的初衷 提交于 2019-12-03 18:38:02
问题 I'm very new to Android development and have never used Android Studio before. I set it up, got my app working on my phone and left it alone for a few weeks. Upon returning, I could not find the Android Studio executable on my computer, so I reinstalled it and restarted on the same project. Not sure if this has to do with the AVD Manager button being grayed out. Things I have tried: Making sure my SDK path is correct Running Android Studio as administrator Launching the AVD Manager executable