在Mac上,升級IntelliJ Idea 2017.01后锦溪,運行的時候出現(xiàn)了一個紅色的警告:
objc[8715]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java (0x102c804c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x102d5c4e0). One of the two will be used. Which one is undefined.
解決方法:
在idea中,進行修改idea.properties
打開idea --> 工具欄Help --> Edit Custom Properties...
添加一下內容
custom IntelliJ IDEA propertiesidea_rtidea.no.launcher=true
重啟idea就可以了
標簽: JavaLaunchHelper IntellJ Idea
上一篇: 使用Kotlin來開發(fā)Android,這些優(yōu)缺點要考慮下一篇: 沒有了
本文地址: https://www.niwoxuexi.com/blog/kotlin/article/232.html
版權聲明:本篇文章,如非注明捕虽,皆為博主 kotlin 原創(chuàng)。轉載需注明本文鏈接并保證鏈接可用坡脐。