安装Canary 7后无法打开Android Studio 4.2 Canary 8或9

科连:

上下文:
macOs Catalina 10.15.6
Java 1.8.0_161

将Android Studio 4.2 Canary 7更新为Canary 8(和Canary 9)后,将无法再打开它。

我已经尝试从Android Studio官方网站和JetBrains的Toolbox应用安装它。无论如何,都会发生相同的行为:
尝试启动Android Studio时,不会发生任何事情。它甚至不显示“ SplashScreen”东西。

使用命令行启动应用程序时,出现错误,该错误可能有用:

> open [...]/Android\ Studio\ 4.2\ Preview.app

LSOpenURLsWithRole() failed with error -10810 for the file [...]/Android Studio 4.2 Preview.app.

我在互联网上看到过,这可能意味着该应用没有适当的权限才能启动。在以前版本的Android Studio Canary中,我从未更改过任何权限,所以为什么现在呢?

科连:

直接启动时,[...]/Android Studio 4.2 Preview.app/Contents/MacOs/studio我有以下输出:

2020-09-03 14:09:02.078 studio[4589:59392] allVms required 1.8*,1.8+
2020-09-03 14:09:02.078 studio[4589:59392] Can't find bundled java.The folder doesn't exist: /Applications/Android Studio 4.2 Preview.app/Contents/jbr
2020-09-03 14:09:02.078 studio[4589:59392] Can't find bundled java.The folder doesn't exist: /Applications/Android Studio 4.2 Preview.app/Contents/jdk
2020-09-03 14:09:02.082 studio[4589:59397] WorkingDirectory is absent in Info.plist. Current Directory: /Applications
2020-09-03 14:09:02.082 studio[4589:59397] fullFileName is: /Applications/Android Studio 4.2 Preview.app/Contents/bin/studio.vmoptions
2020-09-03 14:09:02.082 studio[4589:59397] fullFileName exists: /Applications/Android Studio 4.2 Preview.app/Contents/bin/studio.vmoptions
2020-09-03 14:09:02.083 studio[4589:59397] Value of STUDIO_VM_OPTIONS is (null)
2020-09-03 14:09:02.083 studio[4589:59397] Processing VMOptions file at /Applications/Android Studio 4.2 Preview.app/Contents/bin/studio.vmoptions
2020-09-03 14:09:02.083 studio[4589:59397] Done
2020-09-03 14:09:02.083 studio[4589:59397] Processing VMOptions file at /Users/myUser/Library/Application Support/Google/AndroidStudioPreview4.2/studio.vmoptions
2020-09-03 14:09:02.083 studio[4589:59397] Done
2020-09-03 14:09:02.083 studio[4589:59397] Processing VMOptions file at
2020-09-03 14:09:02.084 studio[4589:59397] No content found
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error occurred during initialization of VM
Multiple garbage collectors selected

我要在此处强调的行是

2020-09-03 14:09:02.083 studio[4589:59397] Processing VMOptions file at /Users/myUser/Library/Application Support/Google/AndroidStudioPreview4.2/studio.vmoptions

删除该文件后,可以打开canary的新版本!

我猜该文件中有什么错误可以阻止迁移

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

来自分类Dev

Android Studio 3.0 Canary 2仍要求Jack for Java 8

来自分类Android

为什么Android Studio 4.2 Canary 13中没有android数据库检查器工具?

来自分类Dev

Android Studio 3.0 Canary 9-无法解析软件包

来自分类Dev

Android Studio 3.0 Canary 4构建错误

来自分类Dev

Android Studio 3.2 Canary 14 Github集成

来自分类Dev

Android Studio Canary 5更新错误

来自分类Dev

无法在Android Studio 3.0 Canary 1下编译

来自分类Dev

Android Studio 3.0 Canary 8:高级分析不适用于所选进程

来自分类Dev

Android Studio Canary 3.4 Canary 4:错误:功能插件不支持variant.getApplicationId()

来自分类Dev

Android Studio 3.0 Canary 1注解处理器错误

来自分类Dev

使用Android Studio 3.0 Canary 3进行数据绑定

来自分类Dev

Android Studio 3.0 Canary 1:项目刷新失败

来自分类Dev

Android Studio 3.1 Canary 3上的Gradle同步错误

来自分类Dev

Android Studio 3.1 Canary 3-Gradle同步失败

来自分类Dev

Android Studio 3.0 Canary 4模拟器陷入重启

来自分类Dev

使用Android Studio 3 Canary 1的app:transformClassesWithDesugarForMockDebug

来自分类Dev

Android Studio 3.6 Canary 4-Gradle引发DefaultProjectSyncIssues异常

来自分类Dev

Android Studio 3.2 Canary构建未呈现导航标签

来自分类Dev

flavourDimensions gradle错误-Android Studio 3.0 Canary 1

来自分类Dev

Android Studio 3.0 Canary 5中的Gradle同步失败

来自分类Dev

Android Studio 3.0 Canary 1:Gradle同步错误

来自分类Dev

Google Canary-无法卸载

来自分类Dev

更新到Android Studio 2.3 Canary 3后,Gradle构建失败

来自分类Dev

如何解决Android Studio Canary 5、6和7上的即时运行问题

来自分类Dev

使用Android Studio 3.2 Canary 17时出现kotlin-android错误

来自分类Dev

ConstraintLayout在GUI编辑器Android Studio 3.0中不起作用-Canary 4

来自分类Dev

Data-binding went stuck after Android Studio 3.1 Canary 6+ (updated 12.21.2018)

来自分类Dev

Android Studio 3.0 Canary 3中的org.gradle.tooling.BuildException

来自分类Dev

Android Studio 3.0 Canary 5中没有“包括Kotlin支持”复选框

TOP 榜单

热门标签

归档