The following appears to have worked for me (after clearing the build
directory). However, running with the new core results in
"java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in
"/data/app/net.osmand-1/lib/arm/libQt5Core.so" in the logcat. After which
it reverts to the legacy core.
repositories {
flatDir {
dirs '../../core/wrappers/android/NativeCoreDebug/build/outputs/aar'
,
'../../core/wrappers/android/build/outputs/aar'
}
ivy {
name = "OsmAndBinariesIvy"
url = "http://builder.osmand.net"
layout "pattern", {
artifact
"ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
}
}
// mavenCentral()
}
dependencies {
compile project(path: ':OsmAnd-java', configuration: 'android')
// compile project(':eclipse-compile:design')
// compile project(':eclipse-compile:cardview')
// compile project(':eclipse-compile:gridlayout')
compile 'com.android.support:gridlayout-v7:23.3.0'
compile 'com.android.support:cardview-v7:23.3.0'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile fileTree(include: ['*.jar'], exclude: ['QtAndroid-bundled.jar',
'QtAndroidAccessibility-bundled.jar', 'OsmAndCore_android.jar',
'OsmAndCore_wrapper.jar', 'and
roid-support-multidex.jar'], dir: 'libs')
legacyCompile "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@jar"
qtcoredebugCompile compile(name: "OsmAndCore_androidNativeDebug-debug",
ext: "aar")
qtcoredebugCompile compile(name: "OsmAndCore_android-debug", ext: "aar")
qtcoreCompile compile(name: "OsmAndCore_androidNativeDebug-debug", ext:
"aar")
qtcoreCompile compile(name: "OsmAndCore_android-debug", ext: "aar")
}
--
You received this message because you are subscribed to the Google Groups
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.