我的android studio不会自动生成com,android.support。

问题描述 投票:0回答:1

依赖项{ 实现fileTree(dir:'libs',包括:['* .jar'])

implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.4'
implementation 'com.google.firebase:firebase-storage:16.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

}

android build.gradle svm
1个回答
0
投票

Android支持库现在已由androidX取代。我建议您使用这种新方法来启动一个新项目,或者如果您正在上一个项目中则要进行迁移,因为现在支持库不推荐使用,并且不再维护。 AndroidX

© www.soinside.com 2019 - 2024. All rights reserved.