Android “Hello, MapView” Tutorial - Map Tiles Do Not Load

后端 未结 10 2111
难免孤独
难免孤独 2020-12-02 00:04

I am new to Android software development and new to this site. I am hoping someone might have some experience with the problem I am having.

I\'ve been following the

相关标签:
10条回答
  • 2020-12-02 00:05

    I had the issue of tiles not loading as well. As you mentioned your original post, one possibility is with the ordering of elements in the AndroidManifest.xml file. Specifically, I originally had the line:

    <uses-permission android:name="android.permission.INTERNET" />
    

    after the application element. Once I moved this line before the application element, my map tiles started loading again.

    0 讨论(0)
  • 2020-12-02 00:05

    The tiles not loading is almost always a result of using an inaccurate API-key, i think. Have you checked yours?

    Details: Obtaining a Maps API key

    0 讨论(0)
  • 2020-12-02 00:06

    The Hello, MapView tutorial your were talking about is no longer valid. New V1 map applications can no longer be done.

    Follow https://developers.google.com/maps/documentation/android/ for Google Maps Android API v2 applications.

    0 讨论(0)
  • 2020-12-02 00:12

    I had the same problem... my error was in the manifest file puting INTERNET permissions inside application. After moveing it out (upside) everying was working good.

    0 讨论(0)
  • 2020-12-02 00:12

    d. is probably correct. However, Internet problems will also cause similar symptoms. Be sure that your INTERNET permission is properly positioned and that there are no proxy servers/firewalls impeding access to the Internet.

    0 讨论(0)
  • 2020-12-02 00:14

    Non-loading tiles are usually the result of not having the API key set up correctly. Obtaining a Maps API key

    To answer the response you left to d.: If you want to have it "just work" when you run from Eclipse you'll need to get an API key for your debug certificate. There's instructions on the same page as before. Do note that you'll have to swap back to your other key before publishing though.

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