Open cdm2012 opened 6 years ago
There needs to be a way to extract aar and reference the .so files:
/Users/christopher/.gradle/caches/modules-2/files-2.1/us.the.mac/AndroidJniHelpers/1.1.7/1b0fb1e1b317fd164309f2d057937bdcd3511e6b/AndroidJniHelpers-1.1.7.aar
/Users/christopher/.m2/repository/us/the/mac/AndroidJniHelpers/1.1.7/AndroidJniHelpers-1.1.7.aar
Unix/Mac OS X – ~/.m2
Windows – C:\Documents and Settings\{your-username}\.m2
task extractSo(type: Copy) {
from zipTree("${project.rootDir}/libraries/jni-helpers-lib.aar")
into "${project.rootDir}/libraries/"
include "jni/**/jni-helpers-lib.so"
}
Setting up for semi-manual export of jni directory:
- https://stackoverflow.com/questions/3065154/undefined-reference-to-vtable
- https://github.com/libpd/pd-for-android/issues/75
- https://raw.githubusercontent.com/square/okhttp/master/README.md
- /the-mac/SampleLibrary/demo/CMakeLists.txt
- https://www.praqma.com/stories/gradle-plugin-bootstrap/
The latest version is 1.1.8 (as of 05/18/18) and needs to be published and marketed. The library should be allowed to work in v4 of Android (Donut 1.6 - September 15, 2009 - 4).
The current library config is as follows:
The new config should be based upon API Level 8 (due to espresso-core dependency):
Possible Places to distribute dependency (
compile 'us.the.mac:AndroidJniHelpers:1.1.8'
):