gpt4 book ai didi

android - 在下面显示的gradle中,可以在发布应用程序之前从代码testImplementation 'junit:junit:4.12'中删除吗?

转载 作者:行者123 更新时间:2023-12-03 03:48:01 25 4
gpt4 key购买 nike

在android studio中,我可以从代码中删除:

testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-
core:3.0.1'

在发布申请之前?
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'

}

最佳答案

是的,您可以移动它们
并且不要忘记删除

 defaultConfig {
applicationId "com.example.networksecurity"
minSdkVersion 24
targetSdkVersion 27
versionCode 1
versionName "1.0"
//testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

和测试文件夹(.. \ app \ src \ test)(.. \ app \ src \ androidTest)

关于android - 在下面显示的gradle中,可以在发布应用程序之前从代码testImplementation 'junit:junit:4.12'中删除吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48703113/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com