import com.google.android.maps.geopoint cannot be resolved

前端 未结 7 1852
一向
一向 2021-02-13 20:39

I have Java GoogleMAP project.This is not android project. I have done this project previous using KML. Now Google has changed to JSON/XML. I need to save coordinates within 2 l

相关标签:
7条回答
  • 2021-02-13 21:01

    You need to add the Google APIs Add-On to your project. See this document: https://developers.google.com/android/add-ons/google-apis/installing

    That's all.

    0 讨论(0)
  • 2021-02-13 21:03

    Go to project properties, and go to Android. Select "Google API" instead of Android x.x. It works for me and ideally should work for you too.

    0 讨论(0)
  • 2021-02-13 21:04

    exactly works fine for me project properties > android > platform > Google API 10

    and Clean :) .First download the Google API version you require using SDK Manager!

    0 讨论(0)
  • 2021-02-13 21:07

    make sure you have defined at your manifest file inside application tag the following line:

    <uses-library android:name="com.google.android.maps"/>
    
    0 讨论(0)
  • 2021-02-13 21:15

    I solved by "Sync Project with Gradle Files".

    0 讨论(0)
  • 2021-02-13 21:18

    You need to compile your project with Google APIs.

    1. install Google APIs SDK

    1. Compile the project project with Google APIs

    1. You need to add the Google APIs Add-On to your project. See this document: https://developers.google.com/android/add-ons/google-apis/installing
    0 讨论(0)
提交回复
热议问题