JavaLaunchHelper is implemented in both java and libinstrument.dylib. One of the two will be used. Which one is undefined

When creating my project in Android Studio 2.1.1, I got this error:

Error: objc [2604]: the JavaLaunchHelper class is implemented both in / Library / Java / JavaVirtualMachines / jdk 1.8.0_77.jdk / Contents / Home / bin / java, and in / Library / Java / JavaVirtualMachines / jdk 1.8.0_77. JDK / Table of Contents / Home / JRE / Library / libinstrument.dylib. One of the two will be used. Which one is undefined.

I saw other questions like this, but everyone says that it has been fixed in some version of Java7.

+4
source share
2 answers

The following steps solved my problem:

Android Studio > > /.. >

+3
0

All Articles