Alb GF
02/24/2023, 7:54 PMAasim Bhat
02/28/2023, 1:55 PMMaiada
03/24/2023, 6:17 PMSkybarn 7
04/24/2023, 12:49 AMMahdi Bagheri
04/29/2023, 12:14 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform exoplayer-hls-2.18.5.aar (com.google.android.exoplayer:exoplayer-hls:2.18.5) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find exoplayer-hls-2.18.5.aar (com.google.android.exoplayer:exoplayer-hls:2.18.5).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer-hls/2.18.5/exoplayer-hls-2.18.5.aar>
> Failed to transform media2-session-1.2.0.aar (androidx.media2:media2-session:1.2.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find media2-session-1.2.0.aar (androidx.media2:media2-session:1.2.0).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/androidx/media2/media2-session/1.2.0/media2-session-1.2.0.aar>
> Failed to transform media2-common-1.2.0.aar (androidx.media2:media2-common:1.2.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find media2-common-1.2.0.aar (androidx.media2:media2-common:1.2.0).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/androidx/media2/media2-common/1.2.0/media2-common-1.2.0.aar>
> Failed to transform exifinterface-1.3.6.aar (androidx.exifinterface:exifinterface:1.3.6) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find exifinterface-1.3.6.aar (androidx.exifinterface:exifinterface:1.3.6).
Searched in the following locations:
<https://dl.google.com/dl/android/maven2/androidx/exifinterface/exifinterface/1.3.6/exifinterface-1.3.6.aar>
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at <https://help.gradle.org>
BUILD FAILED in 33s
Exception: Gradle task assembleDebug failed with exit code 1
Adarsh Verma
04/30/2023, 5:47 AMAdarsh Verma
04/30/2023, 5:47 AMdef localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (<https://developer.android.com/studio/build/application-id.html>).
applicationId "com.example.isense_app"
// You can update the following values to match your application needs.
// For more information, see: <https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration>.
minSdkVersion 21
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
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
}
}
aaptOptions {
noCompress 'tflite'
noCompress 'lite'
}
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
The plugin tflite
uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.Abdelrahman Gamal
05/03/2023, 12:12 AMA failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable> Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules jetified-guava-20.0 (com.google.guava:guava:20.0) and jetified-listenablefuture-1.0 (com.google.guava:listenablefuture:1.0) Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 29s Exception: Gradle task assembleDebug failed with exit code 1
Multichoiceagency
05/04/2023, 10:54 PMMultichoiceagency
05/04/2023, 10:55 PMProcess 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.* Get more help at https://help.gradle.org BUILD FAILED in 41s Exception: Gradle task assembleDebug failed with exit code 1
Multichoiceagency
05/04/2023, 10:55 PMMultichoiceagency
05/04/2023, 11:31 PMProcess 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.* Get more help at https://help.gradle.org BUILD FAILED in 26s
Multichoiceagency
05/04/2023, 11:31 PMalex walker
05/05/2023, 5:47 PMMultichoiceagency
05/05/2023, 9:49 PMalex walker
05/05/2023, 10:08 PMJorge Gaspar Ramírez Segura
05/08/2023, 4:35 AMJorge Gaspar Ramírez Segura
05/08/2023, 5:48 AMAnugya Sharma
05/10/2023, 3:59 PMInstalled Build Tools revision 30.0.2 is corrupted. Remove and install again using the SDK Manager.Running Gradle task 'assembleDebug'...
Run with --stacktrace option to get the stack trace.Running Gradle task 'assembleDebug'... > Run with --info or --debug option to get more log output. Running Gradle task 'assembleDebug'... > Run with --scan to get full insights. Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... * Get more help at https://help.gradle.org Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... BUILD FAILED in 16s Running Gradle task 'assembleDebug'...
Anugya Sharma
05/10/2023, 3:59 PMAMEER ALIKHAN
05/15/2023, 7:07 AMBUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org
Thiha Hein
05/15/2023, 10:01 AMProcess 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
David Kalabić
05/17/2023, 8:25 PMdefaultConfig contains custom BuildConfig fields, but the feature is disabled.To enable the feature, add the following to your module-level build.gradle:
android.buildFeatures.buildConfig true
and yes I did it but it throws the same error萨瓦迪卡(萨瓦迪卡)
05/19/2023, 3:54 AM萨瓦迪卡(萨瓦迪卡)
05/19/2023, 3:54 AMBUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 670ms Exception: Gradle task assembleDebug failed with exit code 1
Adam Taufmann
05/23/2023, 1:23 AMThe supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Android\Android Studio\jre\bin\java.exe
360 Entertainment
05/23/2023, 2:14 PMaisha ayesha
06/02/2023, 8:14 AMaisha ayesha
06/02/2023, 8:15 AMVinay Nagaraj
06/07/2023, 6:48 AM