main.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"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<com.google.android.maps.MapView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:enabled="true"
android:apiKey="01HaQ8w4iuIq7FWbHpshz4ln69ybMmSLnJQMzBg"/>
</LinearLayout>
Main.java
public class Main extends MapActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.a.a"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".Main"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<uses-library android:name="com.google.android.maps" android:required="true"></uses-library>
</application>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
</manifest>
위에는 소스코드와 프로젝트 처음만들때 api스샷이고 에뮬레이터에서 타일만 나오는 화면입니다...
어떻게 된건지 저렇게 하니까 되지 않습니다...
키도 새로 여러번 받아도 안되구요...혹시 제 소스가 문제가 있는건지 가르쳐주세요..........ㅜㅜ
어제부터 7개나 프로젝트 새로만들어봐도 안되네요...
저도 이랬었는데 APIkey값 다시 받아와서 하니깐 되던데 ㅎㅎ