2011-07-05 9 views
0

다른 모든 스레드를 검색하고 공식 가이드를 따르지 만 여전히 Android 기기에지도를 표시 할 수 없습니다.Android MapActivity : 표시되지 않음

md5 지문을 생성하고 Google에 업로드하고 show_map.xml 파일에 키를 복사하고 인터넷 사용 권한을 활성화 한 등 여전히 작동하지 않습니다!

2.2 (현재 사용하고있는) 대신 Android 2.1을 사용해 보았습니다.

여기 내 show_map.xml 파일입니다 :

<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout 
    xmlns:android="http://schemas.android.com/apk/res/android" 
    android:orientation="vertical" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"> 
    <com.google.android.maps.MapView 
     android:layout_width="fill_parent" 
     android:layout_height="fill_parent" 
     android:apiKey="04IbV5zNab7z_PHdxydzY-xxxxxxxxxxxxxxxxxxx" 
     /> 
</LinearLayout> 

여기 내 매니페스트 파일입니다 : 제공 할 수

<application android:icon="@drawable/icon" android:label="@string/app_name"> 
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 
     <uses-permission android:name="android.permission.INTERNET" /> 

     <uses-library android:name="com.google.android.maps" /> 

     <activity android:name=".Clarity" 
        android:label="@string/app_name"> 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 

     <activity android:name=".main_menu" 
        android:label="@string/app_name"> 
     </activity> 

     <activity android:name=".ShowJobsOnMap" 
        android:label="@string/app_name"> 
     </activity> 

    </application> 

어떤 도움의 사람이 크게 감사가. 사전에

많은 감사,

+0

올바른 키로 신청서에 서명 했습니까? – thaussma

+0

나는 그것을 모른다 ... 나는 그것이 올바른 열쇠라고 생각한다. 그것은 debug.keystore라고 불립니다. – Eamorr

+0

나는 [여기] (http://code.google.com/intl/de-DE/android/add-ons/google-apis/maps-overview.html#sign)에 설명 된 마지막 단계를 언급하고 있습니다. – thaussma

답변

0

좋아, 밤의 잠 후, 나는

Google map displaying only blank tiles android

<uses-permission ...>

<manifest>의 자식이 아닌 <application>

해야합니다 ... 그것을 알아 냈다 머리가 탁상 떨어져

답장을 보내 주셔서 감사합니다