Package com.google.android.maps does not exist (IntelliJ)

后端 未结 3 796
失恋的感觉
失恋的感觉 2020-12-14 09:12

I\'ve used the Maps APIs many times before and not had this problem, but I\'ve clearly done something wrong with this IntelliJ project. Under Settings->SDKs I have specified

3条回答
  •  青春惊慌失措
    2020-12-14 10:02

    Under my version of Idea, the controls are a bit different:

    Project settings -- Modules -- (ModuleName) -- triangle to unfold the tree -- Android; and on the right you see "Android platform:" and a selection control. There is no "Android 2.1-update1 Google APIs" in that control, but you press the "New" button and... select an existing directory with downloaded stuff, e.g. /android-sdk-mac_x86/platforms/android-9

    I still don't understand why it reads "New", but it works.

提交回复
热议问题