Unable to build project in Android Studio -


i imported project android studio eclipse. building in eclipse. @ end of importing process got error:

gradle project sync failed. basic functionality not work 

in gradle console following error:

error:failed find: com.android.support:appcompat-v7:20.+ 

i have installed google support repository mentioned in other places.

this build.gradle:

apply plugin: 'com.android.application'  android { compilesdkversion 20 buildtoolsversion "21.0.0"  defaultconfig {     applicationid "com.entujn.demo"     minsdkversion 10     targetsdkversion 19 }  buildtypes {     release {         runproguard false         proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-   rules.txt'         }     } }  dependencies {     compile 'com.google.android.gms:play-services:+'     compile 'com.android.support:appcompat-v7:20.+'     compile files('libs/commons-lang3-3.3.2.jar') } 

local.properties:

sdk.dir=/home/pankaj/adt-bundle-linux-x86_64-20140702/sdk 

sdk directory structure screenshot

looks appcompat stuff not present @ right place, how fix ?

looks android studio uses copy of sdk, not have android support repository installed. please make sure has needed components installed.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -