在Mac上,升级IntelliJ Idea 2017.01后,运行的时候出现了一个红色的警告:
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 properties
idea_rt
idea.no.launcher=true
重启idea就可以了
标签:
JavaLaunchHelper
IntellJ Idea
上一篇: 使用Kotlin来开发Android,这些优缺点要考虑
下一篇: 没有了
本文地址: https://www.niwoxuexi.com/blog/kotlin/article/232.html
版权声明:本篇文章,如非注明,皆为博主 kotlin 原创。转载需注明本文链接并保证链接可用。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)