我在用着windows10上android studio3.6.1我已经安装了 英特尔但它没有被 android studio 识别。正如你在图片 1 中看到的那样,它正在运行,
但未被识别为已安装在 Android Studio中
在 android studio sdk 管理器中下载失败参见这里。
失败时生成的日志:
2020-03-20 21:48:13,109 [451055] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\25.0.2\package.xml 2020-03-20 21:48:13,109 [451055] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\25.0.3\package.xml 2020-03-20 21:48:13,109 [451055] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\28.0.3\package.xml 2020-03-20 21:48:13,109 [451055] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\30.0.0-rc1\package.xml 2020-03-20 21:48:13,109 [451055] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\package.xml 2020-03-20 21:48:13,109 [451055] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\cmdline-tools\latest\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\docs\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\emulator\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\android\m2repository\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\Android_Emulator_Hypervisor_Driver\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\auto\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\m2repository\package.xml 2020-03-20 21:48:13,125 [451071] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\patcher\v4\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platform-tools\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-25\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-27\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-28\package.xml 2020-03-20 21:48:13,140 [451086] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\sources\android-25\package.xml 2020-03-20 21:48:13,156 [451102] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-22\google_apis\x86\package.xml 2020-03-20 21:48:13,156 [451102] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-23\google_apis\x86\package.xml 2020-03-20 21:48:13,156 [451102] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-25\google_apis\x86\package.xml 2020-03-20 21:48:13,156 [451102] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\tools\package.xml 2020-03-20 21:48:13,156 [ 451102] INFO - s.RepoProgressIndicatorAdapter - 正在下载https://dl.google.com/android/repository/sys-img/android/sys-img2-1.xml 2020-03-20 21:48:13,156 [ 451102] INFO - s.RepoProgressIndicatorAdapter - 正在下载https://dl.google.com/android/repository/sys-img/android-wear/sys-img2-1.xml 2020-03-20 21:48:13,156 [ 451102] INFO - s.RepoProgressIndicatorAdapter - 正在下载https://dl.google.com/android/repository/sys-img/android-automotive/sys-img2-1.xml 2020-03-20 21:48:13,156 [451102] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/sys-img/android-tv/sys-img2-1.xml 2020-03-20 21:48:13,156 [451102] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/sys-img/google_apis/sys-img2-1.xml 2020-03-20 21:48:13,156 [ 451102] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/sys-img/android-wear-cn/sys-img2-1.xml 2020-03-20 21:48:13,172 [451118] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/sys-img/google_apis_playstore/sys-img2-1.xml 2020-03-20 21:48:13,172 [451118] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/repository2-1.xml 2020-03-20 21:48:13,172 [451118] INFO - s.RepoProgressIndicatorAdapter - 正在下载文件:/C:/Program%20Files/Android/Android%20Studio/plugins/sdk-updates/offline-repo/offline-repo.xml 2020-03-20 21:48:13,172 [451118] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/extras/intel/addon2-1.xml 2020-03-20 21:48:13,172 [451118] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/glass/addon2-1.xml 2020-03-20 21:48:13,172 [451118] INFO - s.RepoProgressIndicatorAdapter - 正在下载 http s://dl.google.com/android/repository/addon2-1.xml 2020-03-20 21:48:15,859 [453805] INFO - j.ide.plugins.RepositoryHelper - 使用缓存插件列表(于 2020/03/20 晚上 9:41 更新) 2020-03-20 21:48:24,435 [462381] INFO - ectedPackagesStep$CustomLogger - 要安装的软件包:重要的: https原始日志文件中的链接没有问题。我插入了空格来更改它们,因为“您至少需要 10 点声誉才能发布超过 8 个链接。“ 规则。
2020-03-20 21:48:24,435 [462381] INFO - ectedPackagesStep$CustomLogger - - Intel x86 模拟器加速器(HAXM 安装程序)(extras;intel;Hardware_Accelerated_Execution_Manager) 2020-03-20 21:48:24,435 [462381] 信息 - ectedPackagesStep$CustomLogger -2020-03-20 21:48:24,513 [462459] INFO - ectedPackagesStep$CustomLogger - 准备“安装 Intel x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”。 2020-03-20 21:48:24,513 [ 462459] INFO - ectedPackagesStep$CustomLogger - 正在下载https://dl.google.com/android/repository/extras/intel/haxm-windows_v7_5_6.zip 2020-03-20 21:48:39,181 [ 477127] INFO - ectedPackagesStep$CustomLogger - “安装 Intel x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”已准备就绪。 2020-03-20 21:48:39,181 [ 477127] INFO - ectedPackagesStep$CustomLogger - 在 C:\Users\User\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager 中安装 Intel x86 模拟器加速器(HAXM 安装程序) 2020-03-20 21:48:39,181 [ 477127] INFO - ectedPackagesStep$CustomLogger - “安装 Intel x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”完成。 2020-03-20 21:49:03,191 [501137] INFO - d.HaxmWizard$SetupProgressStep - 准备“卸载英特尔 x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”。 2020-03-20 21:49:03,191 [501137] INFO - d.HaxmWizard$SetupProgressStep - “卸载英特尔 x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”已准备就绪。 2020-03-20 21:49:03,191 [501137] INFO - d.HaxmWizard$SetupProgressStep - “卸载英特尔 x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”完成。 2020-03-20 21:49:03,191 [501137] INFO - d.HaxmWizard$SetupProgressStep - “卸载英特尔 x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”已完成。 2020-03-20 21:49:03,222 [501168] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\add-ons\addon-google_apis-google-24\package.xml 2020-03-20 21:49:03,222 [ 501168] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\25.0.2\package.xml 2020-03-20 21:49:03,222 [ 501168] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\25.0.3\package.xml 2020-03-20 21:49:03,222 [ 501168] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\28.0.3\package.xml 2020-03-20 21:49:03,238 [ 501184] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\30.0.0-rc1\package.xml 2020-03-20 21:49:03,238 [501184] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\package.xml 2020-03-20 21:49:03,238 [ 501184] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\cmdline-tools\latest\package.xml 2020-03-20 21:49:03,238 [501184] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\docs\package.xml 2020-03-20 21:49:03,238 [ 501184] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\emulator\package.xml 2020-03-20 21:49:03,238 [501184] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\android\m2repository\package.xml 2020-03-20 21:49:03,238 [501184] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\Android_Emulator_Hypervisor_Driver\package.xml 2020-03-20 21:49:03,238 [501184] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\auto\package.xml 2020-03-20 21:49:03,254 [501200] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\m2repository\package.xml 2020-03-20 21:49:03,254 [501200] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\package.xml 2020-03-20 21:49:03,254 [501200] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\package.xml 2020-03-20 21:49:03,254 [ 501200] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\patcher\v4\package.xml 2020-03-20 21:49:03,254 [ 501200] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\platform-tools\package.xml 2020-03-20 21:49:03,254 [ 501200] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-25\package.xml 2020-03-20 21:49:03,269 [ 501215] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-27\package.xml 2020-03-20 21:49:03,269 [ 501215] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-28\package.xml 2020-03-20 21:49:03,269 [ 501215] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\sources\android-25\package.xml 2020-03-20 21:49:03,269 [501215] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-22\google_apis\x86\package.xml 2020-03-20 21:49:03,269 [501215] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-23\google_apis\x86\package.xml 2020-03-20 21:49:03,269 [501215] 信息 - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-25\google_apis\x86\package.xml 2020-03-20 21:49:03,269 [ 501215] INFO - d.HaxmWizard$SetupProgressStep - 解析 C:\Users\User\AppData\Local\Android\Sdk\tools\package.xml 2020-03-20 21:49:06,269 [504215] INFO - ols.idea.sdk.wizard.HaxmWizard - 软件包‘extras;intel;Hardware_Accelerated_Execution_Manager’似乎未安装 - 忽略 2020-03-20 21:49:06,284 [504230] 错误 - ectedPackagesStep$CustomLogger - 无法将状态更新为“完成” com.android.repository.api.PackageOperation$StatusChangeListenerException:HAXM 设置失败! 在 com.android.tools.idea.sdk.install.HaxmInstallListener.statusChanged(HaxmInstallListener.java:57) 在 com.android.repository.impl.installer.AbstractPackageOperation.updateStatus(AbstractPackageOperation.java:508) 在 com.android.repository.impl.installer.AbstractPackageOperation.complete(AbstractPackageOperation.java:207) 在 com.android.tools.idea.sdk.wizard.InstallTask.completePackages(InstallTask.java:173) 在 com.android.tools.idea.sdk.wizard.InstallTask.run(InstallTask.java:126) 在 com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:894) 在 com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169) 在 com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) 在 com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) 在 com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) 在 com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156) 在 com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:408) 在 com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294) 在 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 在 java.util.concurrent.FutureTask.run(FutureTask.java:266) 在 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 在 java.lang.Thread.run(Thread.java:748) 2020-03-20 21:49:06,284 [504230] 错误 - ectedPackagesStep$CustomLogger - Android Studio 3.6.1 版本 #AI-192.7142.36.36.6241897 2020-03-20 21:49:06,284 [504230] 错误 - ectedPackagesStep$CustomLogger - JDK:1.8.0_212-release;VM:OpenJDK 64 位服务器 VM;供应商:JetBrains sro 2020-03-20 21:49:06,284 [ 504230] 错误 - ectedPackagesStep$CustomLogger - 操作系统:Windows 10 2020-03-20 21:49:06,284 [504230] 错误 - ectedPackagesStep$CustomLogger - 上次操作:Android.RunAndroidSdkManager 2020-03-20 21:49:06,284 [504230] INFO - ectedPackagesStep$CustomLogger - “安装 Intel x86 模拟器加速器(HAXM 安装程序)(修订版:7.5.6)”失败。 2020-03-20 21:49:06,284 [504230] INFO - ectedPackagesStep$CustomLogger - 失败的包: 2020-03-20 21:49:06,284 [504230] INFO - ectedPackagesStep$CustomLogger - - Intel x86 仿真器加速器(HAXM 安装程序)(extras;intel;Hardware_Accelerated_Execution_Manager) 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\add-ons\addon-google_apis-google-24\package.xml 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\25.0.2\package.xml 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\25.0.3\package.xml 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\28.0.3\package.xml 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\build-tools\30.0.0-rc1\package.xml 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\package.xml 2020-03-20 21:49:08,362 [506308] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\cmdline-tools\latest\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\docs\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\emulator\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\android\m2repository\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\Android_Emulator_Hypervisor_Driver\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\auto\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\google\m2repository\package.xml 2020-03-20 21:49:08,378 [506324] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\patcher\v4\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platform-tools\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-25\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-27\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\platforms\android-28\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\sources\android-25\package.xml 2020-03-20 21:49:08,394 [506340] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-22\google_apis\x86\package.xml 2020-03-20 21:49:08,409 [506355] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-23\google_apis\x86\package.xml 2020-03-20 21:49:08,409 [506355] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\system-images\android-25\google_apis\x86\package.xml 2020-03-20 21:49:08,409 [506355] INFO - s.RepoProgressIndicatorAdapter - 解析 C:\Users\User\AppData\Local\Android\Sdk\tools\package.xml 2020-03-20 21:49:08,675 [ 506621] INFO - rationStore.ComponentStoreImpl - 保存 appDefaultFont 耗时 16 毫秒 2020-03-20 21:49:10,237 [ 508183] INFO - rationStore.ComponentStoreImpl - 保存 appProjectViewSharedSettings 耗时 16 毫秒 2020-03-20 21:49:10,284 [508230] INFO - rationStore.ComponentStoreImpl - 保存项目'C:\Users\User\AndroidStudioProjects\MyApplicationjojo' 我的应用程序 jojoKotlin2JvmCompilerArguments 耗时 16 毫秒,libraryTable 耗时 16 毫秒 2020-03-20 21:49:18,329 [ 516275] INFO - rationStore.ComponentStoreImpl - 保存 appFileTypeManager 耗时 15 毫秒 2020-03-20 21:49:18,345 [ 516291] INFO - rationStore.ComponentStoreImpl - 保存项目 'C:\Users\User\AndroidStudioProjects\MyApplicationjojo' 我的应用程序 jojoUnloadedModulesList 耗时 16 毫秒
笔记:虚拟化已启用,并且 hyper-v 已禁用,
使用 7zip 提取 intelhaxm-android.exe 并手动运行 setup.exe 不起作用。
答案1
我已经解决了。
原因 :由于某种原因,android studio 无法更改 HAXM 设置的状态。
这里有一个棘手的点:android studio 会自行安装 haxm,并不关心它是否之前已安装!如果已安装,它只会更新 haxm。
解决方案 :卸载 android studio(最好删除所有文件和文件夹),然后逐步按照以下链接操作:
https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?pivots=windows
https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/troubleshooting?tabs=vswin&pivots=windows#disable-devguard
现在安装一个新的 android studio,并确保在安装过程中检查 AVD 选项。(安装菜单中只有两个选项,请检查它们两个)现在它可以工作了。