android studio 1.3 RC, NDK prebuilt libraries -
i use android studio 1.3 rc write native code. cannot find sample how add prebuilt libraries in gradle. have idea this?
i want use ffmpeg prebuilt library in project. still use android.mk build now.
you may clone samples @ https://github.com/googlesamples/android-ndk.git, according android studio doc http://tools.android.com/tech-docs/android-ndk-preview.
you had errors compiling samples until append
tasks.withtype(javacompile) { sourcecompatibility = javaversion.version_1_7 targetcompatibility = javaversion.version_1_7 }
to build.gradle (app).
Comments
Post a Comment