compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7' not resolve -


this code of build.gradle(moudule app)

    apply plugin: 'com.android.application'  android {     compilesdkversion 25     buildtoolsversion "25.0.3"     defaultconfig {         applicationid "com.example.hn.myapplication"         minsdkversion 14         targetsdkversion 25         versioncode 1         versionname "1.0"         testinstrumentationrunner "android.support.test.runner.androidjunitrunner"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', {         exclude group: 'com.android.support', module: 'support-annotations'     })     //compile 'com.android.support.constraint:constraint-layout:1.0.2'     compile 'com.android.support:appcompat-v7:25.+'     compile 'com.android.support:recyclerview-v7:25.+'     compile 'com.android.support:support-v4:25.+'     compile 'com.android.support:design:25.+'     //compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'     compile 'com.android.support.constraint:constraint-layout:1.0.0'     testcompile 'junit:junit:4.12' } 

and sdk tools. enter image description here

i try compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7' , compile 'com.android.support.constraint:constraint-layout:1.0.0' , compile 'com.android.support.constraint:constraint-layout:1.+' not working. , error failed resolve: com.android.support.constraint:constraint-layout:1 solve problem?

when use compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7 error done: install artifact , sync project

go file -> setting -> sdk manager -> sdk tools -> install google repository

enter image description here


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -