Faisal Athar Faisal Athar - 1 year ago 80
Android Question

No resource identifier found for attribute 'apikey' in package 'android'

<?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:clickable="true"
android:id="@+id/themap"
android:apikey = "AIzaSyDc9ac67bCYPqhVYz9pxhTJsK9shZH3iQg"/>
</LinearLayout>


it is my activity_main.xml file ...bt it shows the error mentioned above...i have also included android:name="com.google.android.maps" in my manifest file..plz help

Answer Source

Check whether in your project properties you have selected it as Google APIs

enter image description here

follow this if you still facing problem

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download