0

I am new to android application development.I am using android studio 1.5, Android 6 in windows 7 but I faced several problems:

1) SDK manager and AVD manager do not open from the dropdown list from tools>android> SDK manager/AVD manager. it only open from the sdk folder outside android studio.

2)while openning the SDK manager from sdk folder getting error like: failed to fetch URL http://dl.google.com/android/repository/addons_list-2.xml reason:unknown Host dl.google.com android

3)There are No CPU/ABI system image installed for this target. I searched and found that I must installed this from SDK manager but when I open SDK manager didn't find the package.

Jéwôm'
  • 3,903
  • 4
  • 34
  • 69
mb7
  • 11
  • 1

1 Answers1

1

hi this is your answer it could help you just need to follows the few steps

First of all you have to launch the sdk manager and download and install the following files located under "extras": Android support repository, Google play services, Google repository.

Restart android studio and open the build gradle file. You must modify your build.gradle file to look like this under dependencies:

dependencies { compile 'com.google.android.gms:play-services:6.5.87' } And finally syncronise your project (the button to the left of the AVD manager).

Since version 6.5 you can include the complete library (very large) or just the modules that you need (Best Option). I.e if you only need Google Maps and Analytics you can replace the previous example with the following one:

dependencies {  
compile 'com.google.android.gms:play-services-base:6.5.87'    
compile 'com.google.android.gms:play-services-maps:6.5.87'  

}

for more details you can visit this link

Community
  • 1
  • 1
Saveen
  • 3,925
  • 14
  • 35
  • 40