java - black activity giving error android studio -


just downloaded android studio 2.1.3.every time gives

error: cannot resolve symbol appcompatactivity,oncreate.further shows message "error:a problem occurred configuring project ':app'.

could not download junit.jar (junit:junit:4.12) not resource 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar'. java.lang.nullpointerexception (no error message)" apply plugin: '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' } 

try removing line:

testcompile 'junit:junit:4.12' 

Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -