londonappbrewery / mi_card_flutter

Starter code for the Mi Card Project from the Complete Flutter Development Bootcamp
https://www.appbrewery.co
433 stars 1.13k forks source link

Gradle task assembleDebug failed with exit code 1 #57

Closed raghadromaneh closed 2 years ago

raghadromaneh commented 2 years ago

what should i do ? please , step by step i am begginer SharedScreenshot

TechSupportz commented 2 years ago

Open android > app > build.gradle and then change both compileSdkVersion and targetSdkVersion to 31

Then open android > app > src > main > AndroidManifest.xml. Under the activity tag add android:exported="true" at the end.

Re-run you app and it should work

raghadromaneh commented 2 years ago

thank you !