Today I started investigating of features of native library. I used this tutorial: http://www.ntu.edu.sg/home/ehchua/programming/android/Android_NDK.html. As usually I used Android Studio (Ubuntu) and encountered the problem.
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library
The library was in right folder, there wasn't any others errors and hours in google didn't give anything.
Then I tried create the same project in eclipse. The error didn't occur. The main difference between to generated projects is path to bin/ directory.
So what is the main issue? Of course I can work in eclipse and it is good enough IDE. The answer was on the intellij idea site:
Is it planned to support NDK development in Android Studio or IntelliJ IDEA?
We have recently announced that we’re starting work on an IDE for C++, and we plan to eventually support NDK development as part of that effort. As for NDK development support in Android Studio, Google hasn’t announced anything so far.
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library
The library was in right folder, there wasn't any others errors and hours in google didn't give anything.
Then I tried create the same project in eclipse. The error didn't occur. The main difference between to generated projects is path to bin/ directory.
So what is the main issue? Of course I can work in eclipse and it is good enough IDE. The answer was on the intellij idea site:
Is it planned to support NDK development in Android Studio or IntelliJ IDEA?
We have recently announced that we’re starting work on an IDE for C++, and we plan to eventually support NDK development as part of that effort. As for NDK development support in Android Studio, Google hasn’t announced anything so far.
Комментариев нет:
Отправить комментарий