最終更新:2016-10-03 (月) 15:02:39 (1169d)  

Android Studio/NDK はてなブックマークを見る

メモ

  • As of Jan 2015 the NDK support for Android Studio is still unusable. A cryptic message says: "Alternative will be provided in the future."
    • Version 0.7+: They suggested to still use ndk-build / ant
    • Version 0.8+: They've introduced a minimal NDK support
    • Version 1.0.0: It looked like NDK support was going to be official
    • Version 1.0.2: It now looks like NDK support is deprecated.

Gradle Plugin 0.7.0?

  • build.gradleに色々書く

Gradle Plugin 0.7.3?以降

gradle-experimental

Android Studio 2.2

Android NDK/サンプル

ADT時代のプロジェクトをインポート

方法1

  • jniLibs.srcDirs = ['src/main/libs', 'src/main/jniLibs'] // Here!

方法2

関連

参考