can someone help me with this build error that i'm...
# community-support
w
can someone help me with this build error that i'm facing?
Configuration on demand is an incubating feature.
> Configure project :vector-app
WARNING:BuildType(nightly): resValue 'launcher_background' value is being replaced.
WARNING:API 'ApkVariantOutput.getVersionCodeOverride()' is obsolete and has been replaced with 'VariantOutput.versionCode()'.
It will be removed in version 7.0 of the Android Gradle plugin.
Gradle Properties must be used to change Variant information.
For more information, see <https://d.android.com/r/tools/use-properties>.
To determine what is calling ApkVariantOutput.getVersionCodeOverride(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
ABI arm64-v8a  -> VersionCode = 40104362
ABI armeabi-v7a     -> VersionCode = 40104361
ABI null    -> VersionCode = 40104360
ABI x86     -> VersionCode = 40104363
ABI x86_64   -> VersionCode = 40104364
ABI arm64-v8a  -> VersionCode = 40104362
ABI armeabi-v7a     -> VersionCode = 40104361
ABI null    -> VersionCode = 40104360
ABI x86     -> VersionCode = 40104363
ABI x86_64   -> VersionCode = 40104364
ABI arm64-v8a  -> VersionCode = 40104362
ABI armeabi-v7a     -> VersionCode = 40104361
ABI null    -> VersionCode = 40104360
ABI x86     -> VersionCode = 40104363
ABI x86_64   -> VersionCode = 40104364
ABI arm64-v8a  -> VersionCode = 40104362
ABI armeabi-v7a     -> VersionCode = 40104361
ABI null    -> VersionCode = 40104360
ABI x86     -> VersionCode = 40104363
ABI x86_64   -> VersionCode = 40104364
ABI arm64-v8a  -> VersionCode = 40104362
ABI armeabi-v7a     -> VersionCode = 40104361
ABI null    -> VersionCode = 40104360
ABI x86     -> VersionCode = 40104363
ABI x86_64   -> VersionCode = 40104364
ABI arm64-v8a  -> VersionCode = 40104362
ABI armeabi-v7a     -> VersionCode = 40104361
ABI null    -> VersionCode = 40104360
ABI x86     -> VersionCode = 40104363
ABI x86_64   -> VersionCode = 40104364
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':matrix-sdk-android:javaPreCompileDebug'.
> Could not resolve all task dependencies for configuration ':matrix-sdk-android:_agp_internal_javaPreCompileDebug_kaptClasspath'.
> Could not find dk.ilios:realmfieldnameshelper:2.0.0.
Required by:
project :matrix-sdk-android
* Try:
> Run with *--stacktrace* option to get the stack trace.
Run with
*--info* or *--debug* option to get more log output.
* Get more help at
<https://help.gradle.org>
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See <https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings>
*BUILD FAILED* in 6s
a
The key error is
Could not find dk.ilios:realmfieldnameshelper:2.0.0
. If you search for this dependency you can find it on mvnrepository, which is a useful website for finding out which repositories host artifacts. It shows version 2.0.0 is only available on JCenter https://mvnrepository.com/artifact/dk.ilios/realmfieldnameshelper. But JCenter has shut down https://jfrog.com/blog/jcenter-sunset/ If you go to the project on GitHub, there's an issue about publishing it to Maven Central https://github.com/cmelchior/realmfieldnameshelper/issues/42
n
it looks like it is a 5 year old unmaintained library
why not just copy the library's 4 classes in to your project?