Andoid - JNI.NDKHelloWorld 123456789101112131415 dependencies { compile fileTree(dir: "$buildDir/native-libs", include: 'native-libs.jar')}task nativeLibsToJar(type: Zip, description: 'create a jar archive of the native libs') { destinationDir file("$buildDir/native-libs") baseName 'native-libs' extension 'jar' from fileTree(dir: 'libs', include: '**/*.so') into 'lib/'}tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn(nativeLibsToJar)} 赞微海报分享
近期评论