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

  • Home
  • SEARCH
  • 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 6563029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:46:48+00:00 2026-05-25T13:46:48+00:00

Basically I have written a custom widget, which is going to be displayed 5

  • 0

Basically I have written a custom widget, which is going to be displayed 5 times on the screen, one under another, with a map view to the right. I have the custom widget working but when I tried to display the map I received a few errors (see below)

I’m not really sure where I’m going wrong here :S

09-06 14:27:49.085: ERROR/AndroidRuntime(28198): FATAL EXCEPTION: main
09-06 14:27:49.085: ERROR/AndroidRuntime(28198): java.lang.RuntimeException: Unable to start activity ComponentInfo{Hartford.gps/Hartford.gps.MapCalculations}: android.view.InflateException: Binary XML file line #2: Error inflating class RelitiveLayout
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.os.Handler.dispatchMessage(Handler.java:99)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.os.Looper.loop(Looper.java:123)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.ActivityThread.main(ActivityThread.java:3691)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at java.lang.reflect.Method.invokeNative(Native Method)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at java.lang.reflect.Method.invoke(Method.java:507)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at dalvik.system.NativeStart.main(Native Method)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198): Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class RelitiveLayout
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.inflate(LayoutInflater.java:386)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.Activity.setContentView(Activity.java:1657)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at Hartford.gps.MapCalculations.onCreate(MapCalculations.java:18)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     ... 11 more
09-06 14:27:49.085: ERROR/AndroidRuntime(28198): Caused by: java.lang.ClassNotFoundException: android.view.RelitiveLayout in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/Hartford.gps-2.apk]
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.createView(LayoutInflater.java:471)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.onCreateView(LayoutInflater.java:549)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
09-06 14:27:49.085: ERROR/AndroidRuntime(28198):     ... 19 more

This is the XML file

<?xml version="1.0" encoding="utf-8"?>
<RelitiveLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Hartford.gps.GaugeView
    android:id="@+id/gauge"
    android:layout_width="160px"
    android:layout_height="100px" 
    android:background="#ffffff"
    android:antialias="true"
    />
<Hartford.gps.GaugeView
    android:id="@+id/gauge2"
    android:layout_width="160px"
    android:layout_height="100px" 
    android:background="#ffffff"
    android:antialias="true"
    />
<Hartford.gps.GaugeView
    android:id="@+id/gauge3"
    android:layout_width="160px"
    android:layout_height="100px" 
    android:background="#ffffff"
    android:antialias="true"
    />
<Hartford.gps.GaugeView
    android:id="@+id/gauge4"
    android:layout_width="160px"
    android:layout_height="100px" 
    android:background="#ffffff"
    android:antialias="true"
    />
<Hartford.gps.GaugeView
    android:id="@+id/gauge5"
    android:layout_width="160px"
    android:layout_height="100px" 
    android:background="#ffffff"
    android:antialias="true"
    />
<com.google.android.maps.MapView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mapview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:clickable="false"
    android:apiKey="0xO7eqfjJxqq5P_yfuU0_Wdi7Q4xPfRi95B_AYw"
    />
</RelitiveLayout>
  • 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-05-25T13:46:50+00:00Added an answer on May 25, 2026 at 1:46 pm
    <RelitiveLayout xmlns:android="http://schemas.android.com/apk/res/android"
    

    It should be “RelativeLayout” not “RelitiveLayout”

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

Sidebar

Related Questions

I basically have a page which shows a processing screen which has been flushed
I have written a script which is basically a small wysiwyg signature generator for
I have a custom layout that I have written that basically just displays a
Basically I have written two modules for my Python Program. I need one module
There's a function that I have written which basically does encryption for me 4
I have written a secure TCP server in .NET. This was basically as simple
The title basically spells it out. What interfaces have you written that makes you
At work we have a legacy process written in Visual C++ that basically consists
Basically I have written a game plugin that will allow server admins to update
I have written an application that basically gathers up a bunch of text and

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.