我在地圖應用程序在手機中運行時收到以下錯誤。 我使用eclipse創建調試密鑰和自定義apiKey,地圖不顯示在手機中只有黑屏
右鍵單擊項目 - > Android工具 - >導出簽名的應用程序包,然後填寫表單,然後使用keytool我得到了MD5,然後apiKey。
我還用custom apiKey替換了debug apikey。 如何理清這些錯誤?
11-01 17:00:08.238: ERROR/MapView(8971): IllegalStateException on drawMap. Wiping cache.
11-01 17:00:08.238: ERROR/MapView(8971): java.lang.IllegalStateException: Null Bitmap! "loading_tile"; if seen during a test, this usually means that the image file needs to be added to the test.config file
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.common.graphics.android.AndroidImage.<init>(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.common.graphics.android.AndroidImageFactory.createImage(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.googlenav.map.MapTile.createTempImages(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.googlenav.map.MapTile.getTempImage(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.googlenav.map.MapTile.getImage(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.googlenav.map.Map.drawTile(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.googlenav.map.Map.drawMapBackground(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.googlenav.map.Map.drawMap(Unknown Source)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.android.maps.MapView.drawMap(MapView.java:1048)
11-01 17:00:08.238: ERROR/MapView(8971): at com.google.android.maps.MapView.onDraw(MapView.java:486)
11-01 17:00:08.238: ERROR/MapView(8971): at android.view.View.draw(View.java:6535)
@ Mohan it 1.在手機中調試時出現錯誤2.icons存在於可繪製文件夾中。 – Sunny