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
My app is running fine, before i add my_fatoorah to my pubspec. after i add i cleaned using flutter clean and when i run i got this error.
What went wrong:
Running Gradle task 'assembleDebug'...
A problem occurred configuring project ':flutter_inappwebview'.
Running Gradle task 'assembleDebug'...
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Running Gradle task 'assembleDebug'...
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.
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'...
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.
if i comment my_fatoorah package the erro will be gone.
here is my android/app/build.gradle
`
plugins {
id "com.android.application"
id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.testpayment"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.debug
}
}
}
flutter {
source = "../.."
}
`
The text was updated successfully, but these errors were encountered:
My app is running fine, before i add my_fatoorah to my pubspec. after i add i cleaned using flutter clean and when i run i got this error.
Running Gradle task 'assembleDebug'...
A problem occurred configuring project ':flutter_inappwebview'.
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'...
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.
here is my android/app/build.gradle
`
plugins {
id "com.android.application"
id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}
android {
namespace = "com.example.testpayment"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
}
flutter {
source = "../.."
}
`
The text was updated successfully, but these errors were encountered: