【发布时间】:2014-01-16 06:57:07
【问题描述】:
此代码显示未绑定异常,我尝试了所有组合.. 无法解决!!
<com.google.android.maps:MapView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android.apikey="AIzaSyDIqLvjKi_VM7nT1DUSTzIeKDTuzPGFqrQ"/>
整个代码是:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<com.google.android.maps:MapView
android:id="@+id/map1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apikey="AIzaSyDIqLvjKi_VM7nT1DUSTzIeKDTuzPGFqrQ"/>
</RelativeLayout>
【问题讨论】:
-
显示完整的 xml 布局。为什么
MapView中的api键是? -
还发布您的 Java 代码和清单。怀疑更多的错误
标签: android google-maps exception