Ask Your Question
4

What does the error message "unknown property 'ndkVersion' for object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension" mean?

asked 2021-12-06 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-04-28 10:00:00 +0000

pufferfish gravatar image

This error message typically indicates that the build.gradle file for an Android project is referencing an 'ndkVersion' property that is not recognized by the system. This property is used to specify the version of the Android NDK (Native Development Kit) to be used in the project, and it is typically defined in the defaultConfig section of the file. Common causes of this error include typos in the property name or version number, or outdated versions of the Android plugin for Gradle. To resolve the issue, ensure that the correct version of the NDK is installed on the system and check that the property is correctly defined in the build.gradle file.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-06 11:00:00 +0000

Seen: 15 times

Last updated: Apr 28 '22