简体   繁体   中英

“Panic” bug when trying to run “Hello world” program using android SDK

I have this problem when trying to run hello world program using android SDK.

PANIC: Could not open AVD config file: C:\\Users\\׳ ׳™׳›׳ ׳ ׳•׳ ׳™׳›׳ .android\\avd\\em111.avd/config.ini

I understand that the problem is the bad path the system is looking.

So i try to redirect the link to the right link.

I can use mklink: mklink mklink /J "wrong path" "correct path".

But how can i speccify this weird link: C:\\Users\\׳ ׳™׳›׳ ׳ ׳•׳ ׳™׳›׳ ?

Any ideas?

As the thread pointed to in the comments illustrates, the graphical AVD editor chooses its own path where it puts stuff:

http://developer.android.com/guide/developing/devices/managing-avds-cmdline.html#DefaultLocation

You'll want to either move your AVDs to the 'original' directory, or if as it looks, the path has been corrupted, look at your ANDROID_HOME environment variable and see if that is correct.

After this, you may want to simply use the graphic AVD editor to re-recreate the em111 emulator you were working on, ie just make a new one...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM