Open dzker opened 2 weeks ago
Agent comment from yating.liao in Zendesk ticket #115502:
You might want to try adding the configuration android.nonTransitiveRClass = false
in your gradle.properties
, and then clear the cache and recompile.
If you are using Gradle version 8.x, its new features may prevent resource transitive passing. You can find this information in the release notes of Gradle.
°°°
it still shows errors:
By the way, maybe any extra options for the build to pass should be in bold in the official documentation, for instance:
android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false
For information using other version of Android Studio (2023.3.1) on another PC, getting a different error on build:
After some research, these errors (first screenshot with mapbox) are related to https://github.com/dji-sdk/Mobile-SDK-Android-V5/issues/401
Dji Guys, before to release anything, please be cautious and warn people about any misbehaviour. please..
Agent comment from yating.liao in Zendesk ticket #115502:
Thank you for your reminder. However, we did not encounter the same mapbox library issue during our testing, which is quite strange.
Regarding the compilation failure due to the inability to find resources, you may want to check if the UXSDK library you are using is up to date and try clearing the cache before recompiling.
°°°
Cf #401 as stated above 😉
If you read the ticket you will see that your end users encountered the same issue with mapbox..
And that they solved it by changing the source code of the release; which should not happen on a release on the main branch
Agent comment from yating.liao in Zendesk ticket #115502:
We are aware that some users are experiencing this issue, and we need to investigate the reason why the mapbox library cannot be found.
Resolving issues does take some time, and I hope you can understand that.
°°°
I get multiplte unresolved reference 'R' how do i solve this? This is my version:
AGP: 8.5.1 Gradle: 8.7 JDK: Correto 17 Android Studio Koala 2024.1.1