Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
271 views
in Technique[技术] by (71.8m points)

android - Gradle installs incorrect side by side NDK

I have a strange problem with side by side NDK. I have defined ndkVersion as 21.2.6472646 in my project and I have already installed this side by side version. But when I sync my project, gradle looks for version 21.1.6352462 and downloads and installs this strange version.

Any idea why this happens?

Best Regards

Update:

I'm using android studio 4.1.1 and here what I have used in gradle:

android {
    compileSdkVersion 28
    ndkVersion '21.2.6472646'
    ...
}

But after sync, project is synced for ndk version 21.1.6352462 which can also be verified at build log files.

Update 2:

Here is project settings view: enter image description here

question from:https://stackoverflow.com/questions/65626677/gradle-installs-incorrect-side-by-side-ndk

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...