skip to Main Content

cannot run flutter on android emulator

Launching libmain.dart on sdk gphone64 x86 64 in debug mode... FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve io.flutter:flutter_embedding_debug:1.0.0-c4cd48e186460b32d44585ce3c103271ab676355. Required by: project :app…

VIEW QUESTION

Error after adding google_mobile_ads sdk in flutter

I added the google_mobile_ads sdk v5.0.0 in my flutter project. Now when I run the project I get the following error X:<project-name>androidappsrcdebugAndroidManifest.xml:92:13-59 Error: Attribute property#android.adservices.AD_SERVICES_CONFIG@resource value=(@xml/gma_ad_services_config) from [com.google.android.gms:play-services-ads-lite:23.0.0] AndroidManifest.xml:92:13-59 is also present at [com.google.android.gms:play-services-measurement-api:21.5.1] AndroidManifest.xml:32:13-58 value=(@xml/ga_ad_services_config). Suggestion: add 'tools:replace="android:resource"' to…

VIEW QUESTION

Flutter bloc – How can I use BlocBuilder?

I'm a Flutter Beginer and about to use Bloc. but this error message comes up and I tried to use 'extends StateStreamable<CalculatorEvent>' or 'implements' but it doesn't work. please help me to solve this error. Thank you. 'CalculatorBloc' doesn't conform…

VIEW QUESTION

The constructor being called isn't a const constructor. Try removing 'const' from the constructor invocation, Flutter dart. How To Solve?

The container always displays an error like that class HomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: Container( padding: EdgeInsets.symmetric(vertical: 30), width: double.infinity, decoration: const BoxDecoration( gradient: LinearGradient( begin: Alignment.topCenter, colors: [ Color.fromARGB(255, 9, 106, 185),…

VIEW QUESTION
Back To Top
Search