Segunfunmi Oyedele
02/10/2025, 5:03 AMSegunfunmi Oyedele
02/10/2025, 5:03 AMWhat went wrong:
A problem occurred configuring project ':react-native-community_checkbox'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
> Namespace not specified. Specify a namespace in the module's build file. See <https://d.android.com/r/tools/upgrade-assistant/set-namespace> for information about setting the namespace
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to <https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant> for general information about using the AGP Upgrade Assistant.
* 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>.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
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 <https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.
Vampire
02/10/2025, 7:58 AMsubprojects { ... }
snippets you find in various threads regarding this problem. But ultimately your dependencies should be updated to be compatible with latest AGP.Segunfunmi Oyedele
02/10/2025, 12:00 PMSegunfunmi Oyedele
02/10/2025, 12:01 PMVampire
02/10/2025, 1:19 PMIs there anyway to know what dependencies are bad?The one you get error messages about. The ones that do not set the namespace properly.
Also, can you please reference the subprojects snippet for me?You want me to operate the search for you? Instead you should google the term "help vampire". 😉 If I would have it readily available I would have shared it.