deptofdefense / AndroidTacticalAssaultKit-CIV

Other
0 stars 2 forks source link

package org.gdal.gdal does not exist *4.5.1.8 #252

Closed ahmadnav closed 2 years ago

ahmadnav commented 2 years ago

I have followed all the steps without errors as described in build.md

The jars are present in ./takthirdparty/builds/android-armeabi-v7a-release/gdal/swig/java/gdal.jar

However android studio cannot find the jar file, is it supposed to be copied somewhere like atak/ATAK/app/libs/.

ahmadnav commented 2 years ago

This is not an atak issue exactly but java (specifically openjdk 8) make sure that you can run java -XshowSettings -version without the java.lang.NoSuchFieldError: preferIPv6Address error, this is a subtle error which is easy to miss in the prebuilt.sh script. This results in gdal.jar present in ./takthirdparty/builds/android-arm64-v8a-release/gdal/swig/java/gdal.jar but not in ./takthirdparty/builds/android-arm64-v8a-release/java/gdal.jar