Skip to main content
17 events
when toggle format what by license comment
Sep 15, 2025 at 3:20 comment added Fernando Delgado Lot thanks, it works also for Flutter issues!!!
Apr 28, 2023 at 20:50 comment added tgeng Hi I no longer work on this. Can you file a bug?
Apr 28, 2023 at 20:19 comment added Bernardo do Amaral Teodosio I don't know if you still work on Android Studio, but just a quick feedback, it would be REALLY good if there was a good documentation about where and how the NDK should be setup, since there are so many differences between different AGP versions...
Mar 19, 2021 at 12:15 comment added giorgio79 PS It worked by specifying the path of ndk as mentioned, but in build.gradle I just commented out the ndk.version...
Mar 19, 2020 at 21:00 comment added tgeng Hi @IsaacUrbina, it sounds like you are using an old version of Android Gradle plugin (specified in your top level build.gradle file). ndk-bundle is deprecated and will be removed in future.
Mar 19, 2020 at 20:39 comment added Isaac Urbina @protossor I had to install the NDK (obsolete) from SDK Manager and then it worked without adding the ndkVersion in gradle
Mar 18, 2020 at 17:35 comment added tgeng Hi @IsaacUrbina, what version of Android Gradle plugin are you using?
Mar 18, 2020 at 16:37 comment added Isaac Urbina > Could not find method ndkVersion() for arguments [20.1.5948944] on object of type com.android.build.gradle.AppExtension.
Mar 13, 2020 at 7:48 comment added grrigore Hello @protossor, I managed to make it work, however, it was necessary to uninstall NDK, CMake and LLDB and reinstall them. Also some Invalidate caches and restart were involved.
Mar 12, 2020 at 20:05 comment added tgeng Hi @grrigore, could you file a bug with more detailed information?
Mar 3, 2020 at 10:55 comment added Niklas Rosencrantz @protossor I could reproduce this with latest version of everything and the sample android c++ project in android studio. it worked after putting in the line with the ndkVersion. thanks!
Mar 3, 2020 at 8:42 comment added b005t3r This should be the selected answer.
Mar 2, 2020 at 17:57 comment added tgeng Hi @Chapz I am not able to reproduce the issue on a fresh machine (no NDK installed) with AS and AGP 3.6.1. Could you file a bug with more detailed information?
Mar 2, 2020 at 7:53 comment added Chapz Why does it ask me for NDK in a project where NDK is not needed or used? Will this force all who work on project to download and sync NDK version requested by AS?
Feb 27, 2020 at 12:33 comment added fredvanl Fixed it for me too, so thank you! It's a pity the Android Studio does not handle this automatically, while it does for a lot(!) of other things.
Jan 22, 2020 at 11:50 comment added Izabela Orlowska Thank you! I was still getting an error because the version the SDK manager downloaded was different than the one specified in the project I tried to open. Changing the ndkVersion in the build.gradle to match the one on disk fixed the error for me.
Dec 10, 2019 at 21:19 history answered tgeng CC BY-SA 4.0