Last active
November 3, 2023 07:27
-
-
Save iam111/5d1db574b3429e990a4ec5211f40822f to your computer and use it in GitHub Desktop.
> Could not resolve all artifacts for configuration ':url_launcher_android:debugUnitTestRuntimeClasspath'. > Failed to transform bcprov-jdk18on-1.72.jar (org.bouncycastle:bcprov-jdk18on:1.72) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=j…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
// ADD follwing block | |
lintOptions { | |
disable 'InvalidPackage' | |
disable "Instantiatable" | |
checkReleaseBuilds false | |
abortOnError false | |
} | |
compileSdkVersion flutter.compileSdkVersion | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
defaultConfig { | |
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | |
applicationId "com.example.demoapp" | |
minSdkVersion 21 | |
multiDexEnabled true | |
targetSdkVersion flutter.targetSdkVersion | |
versionCode flutterVersionCode.toInteger() | |
versionName flutterVersionName | |
} | |
buildTypes { | |
release { | |
minifyEnabled true | |
// TODO: Add your own signing config for the release build. | |
// Signing with the debug keys for now, so `flutter run --release` works. | |
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" | |
signingConfig signingConfigs.debug | |
} | |
// debug { | |
// minifyEnabled true | |
// // TODO: Add your own signing config for the release build. | |
// // Signing with the debug keys for now, so `flutter run --release` works. | |
//// proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" | |
// signingConfig signingConfigs.debug | |
// } | |
} | |
} | |
flutter { | |
source '../..' | |
} | |
apply plugin: 'com.google.gms.google-services' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment