Android/Eclipse PANIC: Could not open

前端 未结 8 927
有刺的猬
有刺的猬 2020-12-01 05:11

I\'m brand new to Android development and Eclipse so I have just set it all up and I am attempting the Hello World tutorial. Sadly when I try and run the program I get the f

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 05:16

    A simple solution,

    Create your avd with normal steps. e.g. avd name is Nexus_One. You will see Nexus_One folder and Nexus_One.ini file at D:\Users\Nathan Smith\.android\avd

    Copy Nexus_One.ini to C:\Users\Nathan Smith\.android\avd

    Try running avd through AVD Manager. It will start the emulator.

    Reason being it works, if you read ini file, you will find path variable as below,

    path=D:\Users\Nathan Smith\.android\avd\Nexus_One.avd path.rel=avd\Nexus_One.avd

    So, when you start emulator, it check the ini and tries to start emulator from path mentioned in path variable.

    Hope this solves your problem.

提交回复
热议问题