Description
Good day dears,
Hope you're doing fine.
I was trying to add Backendless to the project and encountered this issue:
What went wrong:
A problem occurred configuring project ':backendless_sdk'.
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: C:.....\pub.dev\backendless_sdk-7.3.8\android\build.gradle. 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.
After this, I added the namespace to the Backendless library in android/build.gradle and removed the package name from the Manifest file. Then I encountered a different error in the BackendlessSdkPlugin.java file and in the registerWith function.
Here are the versions I used in the projects:
com.android.application "8.7.0"
backendless_sdk: ^7.3.8
Flutter 3.29.2
Dart 3.7.2 • DevTools 2.42.3
What can I do to overcome the issue?
Thank you in advance.