Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7795889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:12:04+00:00 2026-06-01T23:12:04+00:00

I keep on receiving this error and i don’t know where this error occurs

  • 0

I keep on receiving this error and i don’t know where this error occurs this the xml file

?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

</LinearLayout>

And here it is the log cat

04-17 02:19:25.556: W/dalvikvm(731): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
04-17 02:19:25.586: E/AndroidRuntime(731): FATAL EXCEPTION: main
04-17 02:19:25.586: E/AndroidRuntime(731): java.lang.RuntimeException: Unable to start activity ComponentInfo{sbn.project.gp/sbn.project.gp.Mainevent}: android.view.InflateException: Binary XML file line #60: Error inflating class com.google.android.maps.MapView
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.ActivityThread.access$2300(ActivityThread.java:125)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.os.Handler.dispatchMessage(Handler.java:99)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.os.Looper.loop(Looper.java:123)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.ActivityThread.main(ActivityThread.java:4627)
04-17 02:19:25.586: E/AndroidRuntime(731):  at java.lang.reflect.Method.invokeNative(Native Method)
04-17 02:19:25.586: E/AndroidRuntime(731):  at java.lang.reflect.Method.invoke(Method.java:521)
04-17 02:19:25.586: E/AndroidRuntime(731):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
04-17 02:19:25.586: E/AndroidRuntime(731):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
04-17 02:19:25.586: E/AndroidRuntime(731):  at dalvik.system.NativeStart.main(Native Method)
04-17 02:19:25.586: E/AndroidRuntime(731): Caused by: android.view.InflateException: Binary XML file line #60: Error inflating class com.google.android.maps.MapView
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.createView(LayoutInflater.java:513)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-17 02:19:25.586: E/AndroidRuntime(731):  at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.Activity.setContentView(Activity.java:1647)
04-17 02:19:25.586: E/AndroidRuntime(731):  at sbn.project.gp.Mainevent.onCreate(Mainevent.java:27)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
04-17 02:19:25.586: E/AndroidRuntime(731):  ... 11 more
04-17 02:19:25.586: E/AndroidRuntime(731): Caused by: java.lang.reflect.InvocationTargetException
04-17 02:19:25.586: E/AndroidRuntime(731):  at com.google.android.maps.MapView.<init>(MapView.java:238)
04-17 02:19:25.586: E/AndroidRuntime(731):  at java.lang.reflect.Constructor.constructNative(Native Method)
04-17 02:19:25.586: E/AndroidRuntime(731):  at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
04-17 02:19:25.586: E/AndroidRuntime(731):  at android.view.LayoutInflater.createView(LayoutInflater.java:500)
04-17 02:19:25.586: E/AndroidRuntime(731):  ... 21 more
04-17 02:19:25.586: E/AndroidRuntime(731): Caused by: java.lang.IllegalArgumentException: MapViews can only be created inside instances of MapActivity.
04-17 02:19:25.586: E/AndroidRuntime(731):  at com.google.android.maps.MapView.<init>(MapView.java:282)
04-17 02:19:25.586: E/AndroidRuntime(731):  at com.google.android.maps.MapView.<init>(MapView.java:255)

And here it is the android manifest

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="tt.pp.ss"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="8" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <uses-library android:name="com.google.android.maps" />
        <activity
            android:name=".SbnActivity"
            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=".Main"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="tt.pp.ss.MAIN" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity
            android:name=".Db"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="tt.pp.ss.DB" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".View"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="tt.pp.ss.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
         <activity
            android:name=".Mainevent"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="tt.pp.ss.MAINEVENT" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Signup"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="tt.pp.ss.SIGNUP" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
    </application>

</manifest>

Any help i have spent more than 5 hours and i can’t figure it out.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:12:05+00:00Added an answer on June 1, 2026 at 11:12 pm
    MapViews can only be created inside instances of MapActivity.
    

    Are you using a MapActivity?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not sure what the problem is but I keep receiving this error
I'm trying to mock MouseButtonEventArgs.GetPosition() with Moq, but I keep receiving this error: System.ArgumentException:
I keep on receiving this error message. I followed the instructions but it seems
I am keep receiving this error on my magento pages in frontend and back-end.
I keep receiving the following error when attempting to unmarshall an xml document using
I keep receiving this error (from the apache log) and I cannot get the
I'm trying to implement my own GenericIdentity implementation but keep receiving the following error
Keep getting this error after inserting a subdatasheet into a query and trying to
I can't find out what the problem is, and why I keep receiving this
I keep receiving a C2664 conversion error in visual studio It tells me that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.