在下面显示的gradle中,我可以在发布应用程序之前从代码testImplementation'junit:junit:4.12'中删除吗?(In my gradle shown below, can I remove from code testImplementation 'junit:junit:4.12' before publishing application?)

在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' }

In android studio, can I remove from code:

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'

before publishing application?

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)

yes, you can move them and don't forget remove

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

and test folder(..\app\src\test)(..\app\src\androidTest)

在下面显示的gradle中,我可以在发布应用程序之前从代码testImplementation'junit:junit:4.12'中删除吗?(In my gradle shown below, can I remove from code testImplementation 'junit:junit:4.12' before publishing application?)

在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' }

In android studio, can I remove from code:

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'

before publishing application?

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)

yes, you can move them and don't forget remove

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

and test folder(..\app\src\test)(..\app\src\androidTest)