Hi, I am building a application that use MapView.
This is the map.xml file I create in layout folder: "<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:id="@+id/MapLayout" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <com.google.android.maps.MapView android:id="@+id/MapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="true" android:apiKey="**************************" /> </RelativeLayout>" And I set it as content view in onCreate: setContentView(R.layout.map); Then once I start up the program, I got a exception: android.view.InflateException: Binary XML file line #8: Error inflating class java.lang.reflect.Constructor I do add "uses library" in manifest. It seems there is nothing wrong in xml file. What am I doing wrong? How to fix it? Thanks. Victor Lin. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

