com.google.android.maps does not exist strange error

后端 未结 2 441
被撕碎了的回忆
被撕碎了的回忆 2021-01-03 15:27

I can\'t build my android project, it says that com.google.android.maps does not exist. It is way strange because in my project in libraries I have them. I rebuild the build

相关标签:
2条回答
  • 2021-01-03 16:08

    ok, finally I managed to sort it out:

    here is a link with everything:

    http://code.davidjanes.com/blog/2009/11/13/18-hours-of-jar-hell-with-android-google-maps/

    sorry for answering my own question

    0 讨论(0)
  • 2021-01-03 16:28

    Make sure you

    • install the Google APIs in your Android SDK (this means the "Google APIs" choice instead of the "Android X.x" one)

    • specify to use this library in your manifest XML:

      <uses-library android:name="com.google.android.maps" />
      
    • choose "Google API" as your "Build Target", not the "Android X.x" one.

    FYI, when testing with the emulator AVD, you need to launch the "Google APIs" version instead of the "Android X.x" one.

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