skip to Main Content

Android Studio – How to resolve "Exception: Gradle task assembleDebug failed with exit code 1"?

Flutter Version: 2.6.0-12.0.pre.381 Dart Version: 2.15.0 Gradle version : distributionUrl=https://services.gradle.org/distributions/gradle-6.7-all.zip In pubspec.yaml, I have these packages: environment: sdk: ">=2.12.0 <3.0.0" dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons…

VIEW QUESTION

Android Studio – Error when using File writeAsBytes in flutter android 11 Is there any other way it could work?

I am currently using flutter to save a photo, but I am getting an error. E/flutter (14379): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: FileSystemException: Cannot open file, path = '/storage/emulated/0/Pictures/FolderName/2021-10-14T22:02:34.9847821.jpg' (OS Error: Operation not permitted, errno = 1) E/flutter (14379): #0 _File.open.<anonymous closure>…

VIEW QUESTION

Android Studio – A required meta data tag in your android manifest does not exist. App crash at MobileAds.initialize();

Getting below issue when trying to initialize admob sdk in my app in application instance. happening when we add, android:name=".MyApplication" in AndroidManifest.xml <application tag Exception at, MobileAds.initialize( this, new OnInitializationCompleteListener() { @Override public void onInitializationComplete( @NonNull InitializationStatus initializationStatus) {} });…

VIEW QUESTION

Custom logo as progress bar in android studio

I want to add my logo as a progress bar instead of rounded circle loading. I've already made the xml file for the logo, can anyone help me with that. Logo color to load is #4F576C <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="962dp" android:height="1000dp"…

VIEW QUESTION

Android Studio – Getting android.app.ForegroundServiceStartNotAllowedException in Android 12 (SDK 31)

I upgraded my apps targetSdkVersion and compileSdkVersion to SDK 31, and started receiving the following crash in app in a service that updates widget in background. java.lang.RuntimeException: at android.app.ActivityThread.handleReceiver (ActivityThread.java:4321) at android.app.ActivityThread.access$1600 (ActivityThread.java:247) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2068) at android.os.Handler.dispatchMessage (Handler.java:106) at…

VIEW QUESTION
Back To Top
Search