• MAC下Jetbrains编译器无法打开问题解决


    这段时间不知道怎么回事,每次打开Rider必定闪退,毫无头绪,只好暂时放弃使用Rider,试用了一段时间Visual Studio

    可惜...虽然大学时候觉得VS天下第一,但是用惯了JB的编译器,再也不习惯用其他的了...

    一番探索后,找到了解决方案。

    先看看到底报错是什么

    依次访问访达>应用程序>Rider>右键 显示包内容>Contents>Jbr>Contents>MacOS

    这时候你看到一个奇怪名字的可执行文件libjli.dylib,双击它!

    在出现的命令行里,罪魁祸首找到了!

     ~ � /Applications/Rider.app/Contents/MacOS/rider ; exit;
    2021-01-28 15:54:44.175 rider[4275:193418] allVms required 1.8*,1.8+
    2021-01-28 15:54:44.177 rider[4275:193422] Current Directory: /Users/你的用户名
    2021-01-28 15:54:44.178 rider[4275:193422] Value of RIDER_VM_OPTIONS is (null)
    2021-01-28 15:54:44.178 rider[4275:193422] Processing VMOptions file at /Users/你的用户名/Library/Application Support/JetBrains/Rider2020.3/rider.vmoptions
    2021-01-28 15:54:44.178 rider[4275:193422] Done
    OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
    Error opening zip file or JAR manifest missing : /Users/你的用户名/.jetbrains/jetbrains-agent-v3.2.0.de72.619
    Error occurred during initialization of VM
    agent library failed to init: instrument
    Saving session...completed.
    Deleting expired sessions...none found.
    

    原因就是

    Error opening zip file or JAR manifest missing : /Users/你的用户名/.jetbrains/jetbrains-agent-某个版本
    

    翻译过来,就是咱们的jetbrains-agent有问题!

    细细一想...可能是之前破解的时候用的agent的问题...

    修改指向的agent

    访问如下目录

    /Users/你的用户名/Library/Preferences/Rider2019.2
    

    上面的最后一级是你的Rider版本。

    修改文件rider.vmoptions,将这样的一行去掉

    -javaagent:/Users/你的用户名/.jetbrains/jetbrains-agent-某个版本
    

    看看好了没?

    再次试验,打开没问题了~

    当然了...最开始用正版的软件,不搞破解,就没这么多事情了...推荐入正,JB的生产工具,值得!

    本博客文章版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    android-exploitme(六):基础加密
    错误:error libGL.so: cannot open shared object file: No such file or directory
    android-exploitme(五):不安全的数据存储
    android-exploitme(四):参数篡改
    android-exploitme(三):安全连接
    android-exploitme(二):安装apk熟悉测试环境
    android-exploitme(一):生成apk
    Ubuntu rsync同步
    phantomjs + selenium headless test
    Fatal error: cannot allocate memory for the buffer pool
  • 原文地址:https://www.cnblogs.com/laolieren/p/solve_jetbrains_open_error.html
Copyright © 2020-2023  润新知