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 934379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:59:25+00:00 2026-05-15T20:59:25+00:00

I am having trouble with with getting my application to function on android 1.5.

  • 0

I am having trouble with with getting my application to function on android 1.5. It works fine in 1.6, 2.1, and 2.2 but whenever I attempt to run it in 1.5, I get an immediate force close with the LogCat output:

java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.qrohlf.activites/com.qrohlf.activites.BookmarkHistoryTabActivity}:
android.view.InflateException: Binary XML file line #2: Error inflating class
java.lang.reflect.Constructor

This strikes me as very odd, as line #2 of my layout XML is just

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

Any ideas? Is there some major API change between 1.5 and 1.6 in the way layout XMLs are done that I’m missing?
(I’ve included the rest of my layout xml below for reference)

<?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">
    <include android:id="@+id/custom_titlebar" layout="@layout/custom_titlebar" />
    <ViewFlipper android:id="@+id/frame_content" 
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1" >
        <ListView android:id="@+id/soccerteams_listview"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="#FFFFFFFF"/>
        <ListView android:id="@+id/countries_listview"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="#FFFFFFFF"/>
    </ViewFlipper>
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal"
        android:background="@android:color/black"
        android:padding="0px">
        <Button android:id="@+id/bookmarks_button"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/bookmarks"
            android:textColor="@android:color/primary_text_dark"
            android:drawableTop="@drawable/ic_bookmark_tab" 
            android:background="@drawable/tab_background"
            android:layout_weight="1"/>
        <Button android:id="@+id/history_button"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/history"
            android:textColor="@android:color/primary_text_dark"
            android:drawableTop="@drawable/ic_history_tab" 
            android:background="@drawable/tab_background"
            android:layout_weight="1"/>
    </LinearLayout>
</LinearLayout>
  • 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-15T20:59:26+00:00Added an answer on May 15, 2026 at 8:59 pm

    Please ensure you have al required drawables in “drawable” directory. 1.5 doesn’t understand “drawable-hdpi” directory and others, it only knows “drawable”.

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

Sidebar

Related Questions

I've been having trouble getting my ASP.NET application to automatically log users into the
I am having trouble getting my ASP.NET application to start an application. For example
I'm having trouble getting the following to work in SQL Server 2k, but it
I'm having trouble getting a rotary encoder to work properly with AVR micro controllers.
I'm having trouble getting the right number of elements in the ArrayList alt in
I'm having trouble getting a rails app on Dreamhost's Passenger to see compiled libraries
I'm having trouble getting in touch with SQL Server Managemen Studio 2008! I want
Getting started with jquery and having trouble getting hello world type example going for
I am using HTML Purifier in my PHP project and am having trouble getting
I'm having some trouble getting log4net to work from ASP.NET 3.5. This is the

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.