Doesn't exist Google Play services libproject folder

后端 未结 1 739
孤城傲影
孤城傲影 2021-01-28 13:58

I want to create an android project with Google Map Api. So I downloaded Google Play services via SDK Manager.But doesn\'t exist Google Play services \"libproject\" folder. Any

1条回答
  •  情歌与酒
    2021-01-28 14:36

    You'll find them(take in mind that services are separated) in /extras/google/m2repository/com/google/android/gms

    1. Find library, which you need (ads for example)
    2. Rename .aar to .zip
    3. Unzip the file
    4. Import the project into Eclipse by using New -> Project -> Android Project from Existing Source Code
    5. Go to the Project's properties and set the Build Target and 'Is Library' flag
    6. Go into your project properties and link library, which you created

    PS 0-4 can be replaced by downloading libs here: https://github.com/dandar3/android-google-play-services-base

    0 讨论(0)
提交回复
热议问题