Error I get while I'm trying to make android requirements. #1617
Unanswered
EslamElnady0
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
iam trying to match android requirements but i get that error:
FAILURE: Build failed with an exception.
Execution failed for task ':app:checkDebugAarMetadata'.
things that i changed to match requirement:
1-
classpath 'com.android.tools.build:gradle:8.1.3'
2-
ext.kotlin_version = '1.8.10'
3-
minSdkVersion 21
4-`package com.example.payment_proj
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.android.FlutterFragmentActivity
class MainActivity: FlutterFragmentActivity() {
}`
5-
<style name="NormalTheme" parent="Theme.MaterialComponents">
in styles.xml in values and the other one in night-values folder6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
otherwise these things every other thing is default
I tried the recommanded instruction in the error that to update the android gradle plugin but i dont understand i have it like i showed above in step 6 its version is 8 not 7.3 (before i change it it was 7.3 but i did change it to match the requirements)
am i missing something ?
Beta Was this translation helpful? Give feedback.
All reactions