30
ข้อผิดพลาด: (23, 17) ล้มเหลวในการแก้ไข: junit: junit: 4.12
เหตุใดทุกครั้งที่ฉันสร้างโปรเจ็กต์ใหม่ใน Android Studio จึงมักจะเกิดสิ่งต่อไปนี้ ข้อผิดพลาด: (23, 17) ล้มเหลวในการแก้ไข: junit: junit: 4.12? เมื่อฉันลบการtestCompile 'junit:junit:4.12'อ้างอิงมันก็ไม่ใช่ปัญหาอีกต่อไป build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.okedroid.myapplication" minSdkVersion 17 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { …
134
java
android
react-native
junit