Android Question Fused Location Provider #Additionalres

ashton293

Member
Licensed User
Longtime User
Hi,

I am trying to use the Fused Location library and I am entering information for Additional Resources in the Main Module.

When i try to compile my app I receive the following error message:

invalid resource directory name: C:\Program Files\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res google-play-services.jar

I have read on this forum that this error is due to the wrong path being used. I have checked and rechecked my path and it seems to be correct.

I have the google play services jar file in the res folder. It is the only file outside other folders in that directory.

The code I have used in the Main Module is:

#AdditionalRes: C:\Program Files\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms

This has been placed under "Project Attributes".

Can someone please review this post and let me know what I may have got wrong.

Thank you.
 

ashton293

Member
Licensed User
Longtime User
Thank you for your reply Stefan.

I have decided to use the GPS module instead of the Fused Location approach
 
Upvote 0
Top