I recently moved from eclipse to Intellij and I have problem with using Android tools. When I click Tools->Android->Monitor(DDMS included) I get error saying:
Failed to load the JNI shared library "C:\Program Files\Java\jdk1.7.0_17\bin..\jre\bin\server\jvm.dll".
I am using lastest community edition of Intellij. I would be thankful for any help.
It is simple! Just use [IntelliJ Idea Directory]\bin\idea64.exe
I had the same problem. My environment and my solution:
I have a 64bit Java. You can know your version with this code snippet:
public class Test {
public static void main(String args[]) {
System.out.println(System.getProperty("sun.arch.data.model") );
}
}
I was running the 32bit version of Intellij ("C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 12.1.3\bin\idea.exe")
I just change to idea64.exe ("C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 12.1.3\bin\idea64.exe"). Make a direct access to your desktop.
It worked ... like a boss.
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With