1
error: cannot resolve symbol appcompatactivity,oncreate.Further it shows message "Error:A problem occurred configuring project ':app'.
는(JUnit을 : JUnit을 : 4.12) 수 없음 리소스 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar'을 가져옵니다. java.lang.NullPointerException이 (오류 메시지) " 는 플러그인을 적용 'com.android.application를'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.example.prateek.myapplication"
minSdkVersion 23
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.0'
}
을 테스트를 통해 앱 모듈의'build.gradle'에서 종속성을 제거 할 수 있습니다. 'black activity'는 무엇입니까? – Shaishav
post gradle file. –