Hello,
I am trying to run this Android-nRF-Blinky sample from Git (https://github.com/NordicSemiconductor/Android-nRF-Blinky) and build failed.
Below is the error message I am getting.
Can you please help me fixing this issue?
Thanks!
Hello,
I am trying to run this Android-nRF-Blinky sample from Git (https://github.com/NordicSemiconductor/Android-nRF-Blinky) and build failed.
Below is the error message I am getting.
Can you please help me fixing this issue?
Thanks!
Hi.
I'm not that experienced with Android development, so I'll have to forward this to our developers. I'll get back to you with more information from them.
Br,
Joakim
Sorry about the long delay in response.
I've talked to our developers;
This might be happening due to an issue on how the build is setup on the repo.
Could you create a tag and try rebuilding again?
Br,
Joakim
Hi,
The issue was fixed in one of the latest versions of Nordic Gradle Plugins.
Please update version-catalog version here:
to the latest one, currently 1.3.3 (releases). After the change it should build without errors.
Hi,
The issue was fixed in one of the latest versions of Nordic Gradle Plugins.
Please update version-catalog version here:
to the latest one, currently 1.3.3 (releases). After the change it should build without errors.
I've been trying un-sucessfully to get Nordic App examples working in Android Studio (Giraffe), including Android-nRF-Blinky.
Used various JDK's including 17, 21 & Tumerin (eclipse) versions, all seem to have broken plug-in's.
Even tried above (version catalog) suggestion above & still fails as:
org.gradle.api.plugins.internal.DefaultDecoratedConvention
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
* Exception is:
com.intellij.openapi.externalSystem.model.ExternalSystemException: org.gradle.api.plugins.internal.DefaultDecoratedConvention
at org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.java:412)
at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:138)
at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)
at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:64)
at
...
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to docs.gradle.org/.../command_line_interface.html in the Gradle documentation.
BUILD FAILED in 28s
Can you give clear steps to get a working (gradle) build version for this & other apps (incl. Android-nRF-Toolbox).
Thanking you in advance.