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

编译报错 #105

Open
yangkan816 opened this issue May 16, 2022 · 9 comments
Open

编译报错 #105

yangkan816 opened this issue May 16, 2022 · 9 comments

Comments

@yangkan816
Copy link

yangkan816 commented May 16, 2022

  • What went wrong:
    A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Could not get unknown property 'ndkVersion' for object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension.

@huangchengzuo
Copy link

huangchengzuo commented May 16, 2022 via email

@yangkan816
Copy link
Author

  • What went wrong:
    A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Could not get unknown property 'ndkVersion' for object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension.

有遇到这个问题吗?

@zhangpanrobot
Copy link

+1, 同遇到

@Arvin-Li
Copy link

Arvin-Li commented Jul 5, 2022

请问这个怎么解决,急!

@yftx
Copy link

yftx commented Jul 5, 2022

  • flutter 降级到2.5.3.
  • 删除.dart_tool目录
  • 重新编译

@huangchengzuo
Copy link

huangchengzuo commented Aug 10, 2022 via email

@tangnuo
Copy link

tangnuo commented Aug 10, 2022

  • What went wrong:
    A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Failed to notify project evaluation listener.
> 'org.gradle.api.file.RegularFileProperty org.gradle.api.file.ProjectLayout.fileProperty(org.gradle.api.provider.Provider)'
> Could not get unknown property 'ndkVersion' for extension 'android' of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension.

@seven-liujiang
Copy link

升级 gradle 版本
image

@huangchengzuo
Copy link

huangchengzuo commented Feb 23, 2023 via email

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

7 participants