android问题1

来源:互联网 发布:fliqlo windows 编辑:程序博客网 时间:2024/05/22 01:45

 当建立好AVD,在启动模拟运行时报以下错误:

[2009-05-11 12:46:26 - HelloAndroid] Android Launch!

[2009-05-11 12:46:26 - HelloAndroid] adb is running normally.

[2009-05-11 12:46:26 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch

[2009-05-11 12:46:26 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD ’sdk1.5′

[2009-05-11 12:46:26 - HelloAndroid] Launching a new emulator with Virtual Device ‘XXX′

[2009-05-11 12:46:26 - Emulator] emulator: ERROR: unknown virtual device name: ’‘XXX′

[2009-05-11 12:46:26 - Emulator] emulator: could not find virtual device named ’‘XXX′

基本上出现以上错误的,问题出在可能大家都将文档(My Documents)等默认地址改变了,导致.android目录不在”

C:/Users/用户名”之下所导致的,所以解决方案就是在建立好AVD之后将.android目录拷贝一份到”C:/Documents and Settings/Administrator(登入的用户)/”之下即可

原创粉丝点击