【问题标题】:After wipe data unable to open emulator it shows Emulator process for AVD was killed擦除数据后无法打开模拟器,它显示 AVD 的模拟器进程已被杀死
【发布时间】:2020-07-31 06:49:07
【问题描述】:

我已经清除了模拟器中的数据以修复模拟器的互联网连接问题。执行此操作后,我无法打开模拟器。

所以我尝试删除 AVD 并创建新的。 没用 试图从命令行打开。失败了

如果我通过命令行尝试,它会显示 没有足够的空间来创建用户数据分区。可用:4251.667969 MB,位于 /Users/name/.android/avd/Pixel_XL_API_30.avd,需要 7372.800000 MB

为什么当我尝试从命令行打开时显示空间问题以及为什么它显示 AVD 的 Emulator 进程在 Android Studio 中被杀死?

我尝试了这个来解决互联网问题,但没有任何效果 模拟器@Nexus_S_API_30 -dns-server 8.8.8.8

尝试了这个解决方案但没有奏效

Go to: Tools > Android > AVD Manager.
Press the "edit" (pencil) icon next to your AVD.
Change "Graphics" to "Software".

重启机器,还是不行

【问题讨论】:

    标签: react-native android-emulator


    【解决方案1】:

    检查您正在使用的 Android SDK PATH。它必须与您在 Android Studio 中的相同

    我的:

    export ANDROID_HOME=/Users/fsilva/Library/Android/sdk
    export ANDROID_SDK_ROOT=$ANDROID_HOME
    export ANDROIDNDK=$ANDROID_HOME/ndk-bundle
    

    【讨论】:

      猜你喜欢
      • 2021-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-21
      • 1970-01-01
      相关资源
      最近更新 更多