website icon indicating copy to clipboard operation
website copied to clipboard

Shouldn't Android NDK and CMake be required installations?

Open Jehong-Ahn opened this issue 3 months ago • 0 comments

Page URL

https://docs.flutter.dev/platform-integration/android/setup/

Page source

https://github.com/flutter/website/tree/main/src/content/platform-integration/android/setup.md

Describe the problem

After following the guide to install the Android SDK, I created a new empty Flutter project and tried running the Android emulator for the first time. The process got stuck at the "Launching ..." message for a very long time, so I stopped it. Later, I realized that Android Studio was actually downloading and installing the NDK in the background. Because I had interrupted it, I had to manually delete the incomplete NDK folder.

This was confusing and made me think there was a build error. Wouldn't it be better if the guide explicitly mentioned that NDK and CMake are required installations?

Expected fix

In the instructions for the "SDK Tools" tab, add guidance to also install:

NDK (Side by side) CMake

Additional context

No response

I would like to fix this problem.

  • [x] I will try and fix this problem on docs.flutter.dev.

Jehong-Ahn avatar Oct 05 '25 13:10 Jehong-Ahn