So I returned back to try building an android version on Urho3D, this time using the dockerized build environment on a proper docker installation (not docker toolkit as was my earlier attempt).
However I’m unfortunately still no making much headway. I downloaded the image using
docker pull urho3d/dockerized-android
Next I ran the below to build urho3d for android
docker run -it --rm --mount type=bind,source=C:\urho3d\urho3d-source,target=/urho3d -e PROJECT_DIR=/urho3d -e HOST_UID=1234 -e HOST_GID=1234 urho3d/dockerized-android ./gradlew -P ANDROID_ABI=armeabi-v7a build
But then after much initializations and configurations it fails with the below output
Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip
…Welcome to Gradle 5.4.1!
Here are the highlights of this release:
- Run builds with JDK12
- New API for Incremental Tasks
- Updates to native projects, including Swift 5 support
For more details see https://docs.gradle.org/5.4.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Compatible side by side NDK version was not found.
Compatible side by side NDK version was not found.FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ‘:android:urho3d-lib:mergeReleaseNativeLibs’.
> The SDK directory ‘/urho3d/C:\Users\blue\AppData\Local\Android\Sdk’ does not exist.Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 4m 52s
PS C:\urho3d\urho3d-source>
From the little I can take out from the above output it seems there is a problem locating my android sdk installation. But I thought all those were all supposed to be bundled up in the DBE.