Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE NdkHandler找不到? #72

Open
chy116449859 opened this issue Dec 17, 2021 · 2 comments
Open

NPE NdkHandler找不到? #72

chy116449859 opened this issue Dec 17, 2021 · 2 comments

Comments

@chy116449859
Copy link

org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':native'

Caused by: java.lang.NullPointerException
at com.android.build.gradle.internal.ndk.NdkHandler.getPlatformVersion(NdkHandler.java:121)

AS是最新的Arctic Fox,gradle都是源码里的版本,后面改成最新的7.0.3还是这个问题。

@hutcwp
Copy link

hutcwp commented Dec 27, 2021

ndk路径的问题,需要配置下

@gdannyliao
Copy link

看看是不是ndk版本太高,我电脑默认22.1.7171670就报这个错,改成21.4.7075529可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants