Gradle is stuck at downloading NDK

Viewed 1319

Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}api-level> Checking the license for package NDK (Side by side) 21.4.7075529 in C:\Users\xtema\AppData\Local\Android\Sdk\licenses License for package NDK (Side by side) 21.4.7075529 accepted. Preparing "Install NDK (Side by side) 21.4.7075529 (revision: 21.4.7075529)". <======-------> 50% CONFIGURING [27m 42s]

:app

This is what i get, i waited almost 30 minutes but nothing. I have downloading it in Android Studio, but no success.

2 Answers

I got the same error in react-native . I simply install NDK from android studio and it worked . Make sure that you download the specific version which is display to you else it will not work . First i downloaded the latest version it didnt worked, but after i installed the specific version display , it worked fine .

Well, i no more need this question, so i compiled it finally because i found a way how to download NDK. There was more problems but i fixed it.

Related