You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
A problem occurred configuring project ':amap_map'.
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.
FAILURE: Build failed with an exception.
A problem occurred configuring project ':amap_map'.
类似解决方案
1.3.1 手动修改插件的 build.gradle
找到 video_thumbnail 插件的源码路径,具体路径如下:
javascript 代码解读复制代码~/.pub-cache/hosted/pub.dartlang.org/video_thumbnail-/
在 video_thumbnail 插件的 android/build.gradle 中添加 namespace,例如:
android {
namespace 'xyz.justsoft.video_thumbnail'
// 其余配置...
}
The text was updated successfully, but these errors were encountered: