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.
Asked
Active
Viewed 317 times
2
-
try it https://stackoverflow.com/questions/66596943/flutter-app-could-not-locate-aapt-while-building – Ankit Kumar Maurya Mar 12 '22 at 05:59
1 Answers
0
This Error is because the flutter does not find the SDK path. You just need to set the SDK Path by following the command using the terminal.
flutter config --android-sdk sdk_path

Kaushik Chandru
- 15,510
- 2
- 12
- 30

jaydeep pawala
- 11
- 2