Skip to content Skip to sidebar Skip to footer

Dx Could Not Locate '../google-play-services_lib.jar'. This Will Not Be Added To The Package

I am using the Google play services in my Eclipse project. I added this after I checked Is Library and built it. There are no build errors. But when I run then I get 'Could not fi

Solution 1:

First if you would like to use google play service in your project then you should be build and jar should be created.

1. Create Eclipes project to build Google play service
2. Go to Project properties >> Android >> Check "Is Library"
3. Build the project 
4. You will see jar file created in bin folder

Now create Eclipse android project for your application

1. Go to project properties >> Android >> Add  >> Select Google play
service project
2. Now build your android project.

This should solve your "Dx Could not locate '../google-play-services_lib.jar'" problem.

Post a Comment for "Dx Could Not Locate '../google-play-services_lib.jar'. This Will Not Be Added To The Package"