skip to Main Content

Android Studio – image_picker_android:debugUnitTestRuntimeClasspath

What went wrong: Execution failed for task ':app:lintVitalRelease'. Could not resolve all artifacts for configuration ':image_picker_android:debugUnitTestRuntimeClasspath'. Failed to transform bcprov-jdk15on-1.68.jar (org.bouncycastle:bcprov-jdk15on:1.68) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for JetifyTransform: /Users/thor/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.68/46a080368d38b428d237a59458f9bc915222894d/bcprov-jdk15on-1.68.jar. > Failed to transform '/Users/thor/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.68/46a080368d38b428d237a59458f9bc915222894d/bcprov-jdk15on-1.68.jar'…

VIEW QUESTION

Android Studio – Exception is thrown when running flutter app, on assembleDebug Task. Tries to read file from non existing path that's not specified anywhere

Error Launching lib/main.dart on sdk gphone64 arm64 in debug mode... Running Gradle task 'assembleDebug'... E/flutter ( 6095): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Unable to load asset: assets/ This started happening out of nowhere, after the exception is thrown, the task still runs…

VIEW QUESTION

Android Studio – Flutter Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null

Whenever I try to run flutter app, I am getting this error. ../flutter/.pub-cache/hosted/pub.dartlang.org/percent_indicator-4.2.1/lib/linear_percent_indicator.dart:162:5: Warning: The class 'WidgetsBinding' cannot be null. Try replacing '?.' with '.' WidgetsBinding?.instance.addPostFrameCallback((_) { ^^^^^^^^^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/percent_indicator-4.2.1/lib/linear_percent_indicator.dart:162:30: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is…

VIEW QUESTION

Android Studio – Error in compilation with Geolocator pluggin

I'm getting the current error when compiling a project with Geolocator pluggin: C:srcflutter.pub-cachehostedpub.dartlang.orggeolocator_android-2.0.0androidsrcmainjavacombaseflowgeolocatorlocationLocationMapper.java:29: error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { ^ symbol: variable S location: class VERSION_CODES C:srcflutter.pub-cachehostedpub.dartlang.orggeolocator_android-2.0.0androidsrcmainjavacombaseflowgeolocatorlocationLocationMapper.java:30: error: cannot find symbol position.put("is_mocked", location.isMock()); ^ symbol: method isMock()…

VIEW QUESTION
Back To Top
Search