Android的工作室模拟器不工作模拟器、工作室、工作、Android

2023-09-07 22:25:37 作者:爱能有多精彩

从来就搜寻有关此问题的awnser,尝试了很多东西,但它仍然无法正常工作。我使用的是WIN7 64位版本。我已经设定ANDROID_SDK_HOME变量,什么都没有。随着路径: C:\\用户\\努诺\\收藏夹\\ .android \\ AVD

i´ve searched about an awnser for this problem, tried many things, but still it doesn't Work. I'm using a win7 64-bit version. I've set the ANDROID_SDK_HOME variable and... nothing. With the path: C:\Users\Nuno\Favorites\.android\avd

错误是这样的:

Cannot launch AVD in emulator.
Output:
PANIC: HOME is defined but could not find PhoneTest.ini file in $HOME\.android\avd
(Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME\.android\avd and $HOME\.android\avd)

有人能帮助我吗?

Can someone help me?

推荐答案

它的工作吧!

我怎么解决呢?我复制从C创建的AVM的I:\\用户\\ favorites.android \\ AVD并粘贴在他们的C:\\ user.android \\ AVD

How did i solved? I copied the AVM's i created from c:\user\favorites.android\avd and pasted them at c:\user.android\avd.

TBH我不知道为什么会这样,但是当我安装Android的工作室是创建的第一个目录把AVD的,而HOME变量指向第二个目录。

Tbh i don't know why this happened but when i installed Android studio it created the first directory to put the avd's, while the HOME variable points to the second directory.

之后,我有一个第二个问题,它说,它无法创建临时文件......我只是具有管理权限执行的Andr​​oid工作室。

After that i had a second problem, it said it couldn't create the temp file... I just had to execute Android studio with administrative privileges.

我希望它能帮助。