windows 8.1 - Android Studio cant find or install play-services 7 /wearable -


i have new windows 8.1 machine, , trying android ide environment installed. there seems issues have never encountered before. existing projects not compiling because system can not find or download proper play services libs..

error:a problem occurred configuring project ':mobile'.

could not resolve dependencies configuration ':mobile:_debugcompile'. problem occurred configuring project ':wear'. not resolve dependencies configuration ':wear:_debugcompile'. not find com.google.android.gms:play-services-wearable:7.0.0. searched in following locations: https://jcenter.bintray.com/com/google/android/gms/play-services-wearable/7.0.0/play-services-wearable-7.0.0.pom https://jcenter.bintray.com/com/google/android/gms/play-services-wearable/7.0.0/play-services-wearable-7.0.0.jar file:/c:/users/erik/appdata/local/android/sdk/extras/android/m2repository/com/google/android/gms/play-services-wearable/7.0.0/play-services-wearable-7.0.0.pom file:/c:/users/erik/appdata/local/android/sdk/extras/android/m2repository/com/google/android/gms/play-services-wearable/7.0.0/play-services-wearable-7.0.0.jar file:/c:/users/erik/appdata/local/android/sdk/extras/google/m2repository/com/google/android/gms/play-services-wearable/7.0.0/play-services-wearable-7.0.0.pom file:/c:/users/erik/appdata/local/android/sdk/extras/google/m2repository/com/google/android/gms/play-services-wearable/7.0.0/play-services-wearable-7.0.0.jar required by: androidclickdogtrainer:wear:unspecified

so tried using sdk manager insure had proper play services keep getting following error sdk manager in android studio on windows 8.1 machine.

this clean install, , thought may firewall settings after turning off firewall still happening:

refresh sources: fetched add-ons list refresh sources failed fetch url https://dl.google.com/android/repository/addon.xml, reason: file not found failed fetch url https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml, reason: file not found failed fetch url https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml, reason: file not found failed fetch url https://dl.google.com/android/repository/sys-img/x86/addon-x86.xml/addon.xml, reason: file not found refresh sources: failed fetch url https://dl.google.com/android/repository/addon.xml, reason: file not found failed fetch url https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml, reason: file not found failed fetch url https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml, reason: file not found failed fetch url https://dl.google.com/android/repository/sys-img/x86/addon-x86.xml/addon.xml, reason: file not found ignoring unknown package filter 'extra-google-m2repository'warning: package filter removed packages. there nothing install. please consider trying update again without package filter.

no matter do.. turn off fire wall, run admin.. etc etc.. won't install play services libs..

please help

so searched high , low answer this, , seems lot of people having , similar issues , creating cumbersome workarounds include re-writing parts of android.bat file uninstalling sdk , re-installing scratch.. me none of solutions worked.. seems have fixed problem quite simple.

hope helps others..

open android sdk manager.. click on tools>options , check "force https://.. sources fetched using http://.."


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -