I'm pretty sure it isn't using new core because in first lines of
compilation log I can see core-legacy path :-(
./gradlew --daemon assembleFullQtcoreArmv7Debug
> Starting a new Gradle Daemon for this build (subsequent builds will be
> faster).
> Validating translations
> Incremental java compilation is an incubating feature.
> :OsmAnd:buildOsmAndCore
> BUILD_ALL set to true
> OsmAnd root: jni/../../..
> OsmAnd makefiles:
> jni/../../../core-legacy/targets/android/expat/Android.mk
> jni/../../../core-legacy/targets/android/freetype/Android.mk
> jni/../../../core-legacy/targets/android/giflib/Android.mk
> jni/../../../core-legacy/targets/android/jpeg/Android.mk
> jni/../../../core-legacy/targets/android/libpng/Android.mk
> jni/../../../core-legacy/targets/android/OsmAndCore/Android.mk
> jni/../../../core-legacy/targets/android/protobuf/Android.mk
> jni/../../../core-legacy/targets/android/skia/Android.mk
> Android NDK:
> WARNING:jni/../../../core-legacy/targets/android/skia/Android.mk:osmand_skia:
> LOCAL_LDLIBS is always ignored for static libraries
> OsmAnd root: jni/../../..
>
And in build.gradle there are lines:
task buildOsmAndCore(type: Exec) {
> description "Build Legacy OsmAndCore"
>
> if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
> commandLine "bash", file("./old-ndk-build.sh").getAbsolutePath()
> } else {
> commandLine "cmd", "/c", "echo", "Not supported"
> }
> }
>
Changing to ./ndk-build.sh doesn't help, because now it isn't using NDK at
all:
$ ./gradlew --daemon assembleFullQtcoreArmv7Debug
> Starting a new Gradle Daemon for this build (subsequent builds will be
> faster).
> Validating translations
> Incremental java compilation is an incubating feature.
> :OsmAnd:buildOsmAndCore
> /home/karol/Projekty/osmand/Osmand/OsmAnd/ndk-build.sh: linia 31:
> /home/karol/Projekty/osmand/Osmand/OsmAnd/../../core/externals/configure.sh:
> Nie ma takiego pliku ani katalogu
> /home/karol/Projekty/osmand/Osmand/OsmAnd/ndk-build.sh: linia 32:
> /home/karol/Projekty/osmand/Osmand/OsmAnd/../../core/externals/build.sh:
> Nie ma takiego pliku ani katalogu
> /home/karol/Projekty/osmand/Osmand/OsmAnd/ndk-build.sh: linia 33:
> /home/karol/Projekty/osmand/Osmand/OsmAnd/../OsmAnd-java/generate-swig.sh:
> Nie ma takiego pliku ani katalogu
> OsmAnd root:
> jni/../../..
>
>
>
> OsmAnd
> makefiles:
>
>
>
> /opt/android-ndk/build/core/build-all.mk:89: Android NDK: WARNING: There
> are no modules to build in this
> project!
>
>
> :OsmAnd:cleanupDuplicatesInCore
> :OsmAnd:collectFonts UP-TO-DATE
> :OsmAnd:collectHelpContentsAssets UP-TO-DATE
>
W dniu sobota, 24 września 2016 15:47:33 UTC+2 użytkownik
[email protected] napisał:
>
>
> and installing the generated APK. I had to enable the developer plugin
> and check the "use opengl" option. After that, i'm pretty sure i got the
> new core, since it draw a nice blue grid onto which the map tiles were
> rendered. However, performance did not noticably improve over the legacy
> renderer, and crashes were frequent.
>
>
--
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.