Your uses-library is in the wrong location see my copy: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mobilebytes.mymapview" android:versionCode="1" android:versionName="1.0"> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.INTERNET" /> <application android:icon="@drawable/icon" android:label="@string/ app_name"> <activity android:name=".MyMapViewActivity" 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" /> </application> <uses-sdk android:minSdkVersion="3" /> </manifest> On Aug 24, 8:15 am, Honest <honestsucc...@gmail.com> wrote: > It seems the problem is in manifest file as i have put try catch every > where yet it is giving message " Application Closed Unexpectedly" with > only ok button so according to me the problem should be in in it. I am > pasting the manifest file code please take a look at it and let me > know. > > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="com.kartik.ATM" > android:versionCode="1" > android:versionName="1.0"> > <application android:icon="@drawable/icon" android:label="@string/ > app_name"> > <activity android:name=".Application" > 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=".HelloMapView" > android:label="@string/app_name"> > </activity> > > </application> > <uses-library android:name="com.google.android.maps" /> > <uses-sdk android:minSdkVersion="3" /> > <uses-permission > android:name="android.permission.ACCESS_COARSE_LOCATION"></uses- > permission> > <uses-permission > android:name="android.permission.ACCESS_FINE_LOCATION"></uses- > permission> > <uses-permission > android:name="android.permission.ACCESS_COARSE_LOCATION"></uses- > permission> > <uses-permission android:name="android.permission.INTERNET"></uses- > permission> > </manifest> > > On Aug 24, 5:50 pm, Honest <honestsucc...@gmail.com> wrote: > > > Hello, > > > My project was working fine in android 1.5 but i need to use google > > maps so i used google APIS and did some change in API to merge MAPS > > functionality which was in other application.but some how i got > > exception and my application stopped working. It is even not starting > > so can some one tell me what can be issue in it ? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---