diff --git a/android/build.gradle b/android/build.gradle index 934ebfa..3c4fbe8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -24,6 +24,9 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + if (project.android.hasProperty("namespace")) { + namespace = "com.zero.flutter_pangle_ads" + } compileSdk 31 defaultConfig { minSdkVersion 19 diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index d01c8ce..bd570b1 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -6,7 +6,7 @@ plugins { android { namespace = "com.zero.flutter_pangle_ads_example" - compileSdk = flutter.compileSdkVersion + compileSdk = 34 ndkVersion = flutter.ndkVersion compileOptions {