Android Question Fused Location Provider #Additionalres

Discussion in 'Android Questions' started by ashton293, Jul 9, 2015.

  1. ashton293

    ashton293 Member Licensed 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.
     
  2. eurojam

    eurojam Well-Known Member Licensed User

    Ashton,
    can you post your code? this makes it easier to help you...

    stefan
     
  3. ashton293

    ashton293 Member Licensed User

    Thank you for your reply Stefan.

    I have decided to use the GPS module instead of the Fused Location approach
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice