Could not locate aapt. Please ensure you have the Android buildtools installed

Viewed 1573
Could not locate aapt. Please ensure you have the Android buildtools installed.
No application found for TargetPlatform.android_arm64.
Is your project missing an android/app/src/main/AndroidManifest.xml?
Consider running "flutter create ." to create one.

In debug console of vscode showing this error during running of project.

1 Answers

Make sure android sdk installed or not. If installed and configured, check android SDK is stored on un-mount drive, if this is the case, try to mount the drive. I disabled auto mount feature of my hard-disk partition in my ubuntu os that's create the problem.

Related