Hi,
I’m trying to build Tor Browser for Android, but ./mach build fails because Gradle cannot find:
org.mozilla.appservices:tooling-nimbus-gradle:140.0-TORBROWSER
This is the exact error:
A problem occurred configuring root project 'tor-browser'.
> Could not find org.mozilla.appservices:tooling-nimbus-gradle:140.0-TORBROWSER.
Searched in:
~/.m2/repository/...
https://maven.mozilla.org/...
https://maven.google.com/...
https://repo.maven.apache.org/...
https://plugins.gradle.org/m2/...
Required by: root project
At the end mach stops with:
CalledProcessError: returned non-zero exit status 1
gmake: *** [client.mk:60: build] Error 2
My .mozconfig
ac_add_options --enable-application=mobile/android
ac_add_options --with-android-sdk=$HOME/.mozbuild/android-sdk-linux
ac_add_options --with-android-ndk=$HOME/.mozbuild/android-ndk-r28b
ac_add_options --without-wasm-sandboxed-libraries
ac_add_options --target=aarch64-linux-android
ac_add_options --with-base-browser-version=140.1.0
export MOZ_ANDROID_CPU_ARCH=arm64-v8a
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-android
The dependency tooling-nimbus-gradle:140.0-TORBROWSER does not appear to exist in any Maven repository.
I need to know:
Is this artifact supposed to be created locally during the build of Tor Browser?
Is this a known issue with the current tor-browser branch?
Do I need to manually build/publish the application services before running ./mach build?
How do I open the mobile/android/fenix path in Android Studio if ./mach build has these errors
Thanks