0
  • What went wrong: A problem occurred evaluating project ':app'.

Could not create task ':app:cargoBuildDebug'. Could not get unknown property 'ANDROID_NDK' for task ':app:cargoBuildDebug' of type org.gradle.api.tasks.Exec.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Give me early solution as soon as possible

1
  • Did you checked the Check Gradle Configuration ? Commented Aug 17, 2023 at 5:36

1 Answer 1

0

Go to android>app>build.gradle file and change flutter.ndkVersion to the latest version. Check the latest ndk version here

Sign up to request clarification or add additional context in comments.

1 Comment

already used letest version

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.