April 2015
Beginner to intermediate
494 pages
10h 26m
English
Using your own handmade makefiles with Gradle is a bit tricky but not too complicated:
Android.mk and Application.mk files we created in the Interfacing Java with C/C++ section in this chapter into the app/src/main/jni directory.app/build.gradle.OS "Class" and remove the first ndk section we created in the previous section:
import org.apache.tools.ant.taskdefs.condition.Os apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "com.packtpub.store" minSdkVersion 14 targetSdkVersion 21 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), ...Read now
Unlock full access