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

项目运行报错,说是没有配置useAndroidX #1236

Open
yzgt opened this issue Aug 9, 2024 · 3 comments
Open

项目运行报错,说是没有配置useAndroidX #1236

yzgt opened this issue Aug 9, 2024 · 3 comments

Comments

@yzgt
Copy link

yzgt commented Aug 9, 2024

Configuration debugRuntimeClasspath contains AndroidX dependencies, but the android.useAndroidX

@mlp1995
Copy link

mlp1995 commented Oct 17, 2024

自己创建一个 gradle.properties 然后写上 android.useAndroidX=true
就行了

@yzgt
Copy link
Author

yzgt commented Nov 26, 2024

这个本来就有

@mlp1995
Copy link

mlp1995 commented Nov 26, 2024

github上的项目根路径就没有 gradle.properties 这个文件
我就是创建了这个文件就解决了

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

2 participants