Help compiling Android source code on Mac #23666
nikos2wheels
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to follow the steps posted on the OsmAnd website
https://osmand.net/docs/technical/build-osmand/how-to-compile-the-android-version/?current-os=ios&
related to how to compile the Android version.
I have Android Studio installed and also the NDK tools and I exported the ANDROID_SDK, ANDROID_NDK and ANDROID_HOME environment variables with the correct paths.
When I type:
./gradlew assembleNightlyFreeLegacyFatDebug
I get the following error:
I googled this and one possible reason is that the JDK and gradle versions are not compatible. On my system I have JDK 23 and gradle 8.9 which I searched again and they are not compatible. How do I proceed to solve this issue, just upgrade to the latest Gradle?
Beta Was this translation helpful? Give feedback.
All reactions