Cannot start avd emulator on android studio 1.0

后端 未结 6 2133
盖世英雄少女心
盖世英雄少女心 2021-01-18 13:30

I \'ve downloaded android studio 1.0 but when I create an emulator and i try to start it gives the following message PANIC: Could not find android2.ini file in $ANDROI

相关标签:
6条回答
  • 2021-01-18 13:44
    1. Delete /home/username/.android: $ sudo rm -r .android
    2. Make a link $ sudo ln -s /root/.android ./.android
    0 讨论(0)
  • 2021-01-18 13:45

    Ubuntu

    My .android/avd was in root folder, but setting ANDROID_AVD_HOME to it made no good. So I just copied files from /root/.android/avd to /home/username/.android/avd Not best solution, but working

    0 讨论(0)
  • 2021-01-18 13:49
    1. in the environment variables add a new "system variables"
      ANDROID_SDK_HOME=D:\Program Files\android-sdk-windows (select your home directory of android sdk )
    2. modify system variables Path, add "%Android_SDK_HOME%/tools;"

    it works!

    0 讨论(0)
  • 2021-01-18 13:54

    I was experiencing the same issue, and just resolved it by changing the environment variables from ANDROID_AVD_HOME to $ANDROID_AVD_HOME.

    This must have been a change between versions. I had removed all android/appinventor/eclipse programs, SDKs and so on - some manually - in order to get a fresh install and wound up with this error.

    0 讨论(0)
  • 2021-01-18 13:57

    Test Ubuntu 12.04 & 12.10 & 14.10 & 15.04 & 15.10 & 16.04

    Open your terminal (ctrl +t)

    sudo su
    nautilus
    

    ctrl + h

    Search folder .android/avd

    Copy this folder /avd

    Paste in /home/YouUser/.android/

    And problem solved

    0 讨论(0)
  • 2021-01-18 13:58

    just set ANDROID_SDK_HOME system variable to point the home directory of android avd, just like you did with JAVA_HOME :)

    0 讨论(0)
提交回复
热议问题