From bc4f5e6bafde671632c560c1cb9ca1084108f104 Mon Sep 17 00:00:00 2001 From: Mahmoud Nabhan <13227239+niypoo@users.noreply.github.com> Date: Tue, 4 Mar 2025 11:22:22 +0200 Subject: [PATCH] add namespace to build.gradle this for fix that issue * What went wrong: A problem occurred configuring project ':flutter_process_text'. > 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: /Users/niypoo/.pub-cache/hosted/pub.dev/flutter_process_text-1.1.2/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace. --- android/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index aabde68..8ec6e4e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,6 +22,8 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + namespace = "com.divyanshushekhar.flutter_process_text" + compileSdkVersion 30 defaultConfig {