Error Inflating class

by Deepanjan » Tue, 01 Jul 2008 22:07:32 GMT

Sponsored Links
 Hi Frndz,

I am encountering an Application error when I am trying to open a
ListActivity from another activity using startActivity().

The error is

"Application error:<package name>"
"An error has occured in <package name>.Binary xml file line #xxx:
Error inflating class accelerateInterpolator."

The source code of the class extending ListActivity is

import android.os.Bundle;
import android.widget.ArrayAdapter;

public class MainMenuList extends ListActivity {
        private String[] listItems = {"Login", "Edit Settings"};

        protected void onCreate(Bundle icicle) {
        setListAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, listItems));

The entry for this activity is also present in the AndroidManifest.xml

I am Eclipse 3.4 with the "android-sdk_m5-rc15_windows" sdk.

Do any one have encountered this error earlier. How can I solve it?



Other Threads

1. Cannot Install Android Development Kit for Eclipse

Telling us what goes wrong, or what error message you get would help
us help you...


Xavier Ducrohet
Android Engineer, Google.


2. Sell Coogi t-shirts, other brand t-shirts and coogi products $18

Very hot coogi t-shirts.

We also carry other Coogi products, such as Coogi hoodies, coogi
jeans, Coogi shorts, etc.

We are wholesaler for brand name shoes, clothes, accessories in china.
There is large product selection. For our products, pls check our
site: They are of top quality but very favorable

We carry many styles of urban and designer t-shirts. Such as: Ed
hardy, Christan Audigier, Smet, Affliction, Evisu, BBC(Billionaire
Boys Club), Bape(A Bathing Ape), Coogi, artful dodger, Gina Green
Global, D&G(Dolce & Gabbana), G-Star, Paul smith, Lacoste, Diesel,
Armani, A&F(Abercrombie & Fitch), RALPH LAUREN, crown holder, sinful,
blac label, etc.

If you are interested in our products or any concerns, you can:
1. Require price from us: If you are from USA, Canada or EU countries,
we have price list ready for you. But ita??s only for your reference.
If you need specific price for each item, pls show us the id number,
quantity you will order.
If you are from other countries, pls show us your selection(product
catories or id number, quantity, shipment country.)
2. Order sample to check quality first. If the quality meet your
requirement, you can order more. But if you order bulk, you will get
much more favorable price than sample price.

We are ready to provide you good service and wish to be your reliable
business partner. Pls take action now.

please kindly visite our website:


3. How to browse deeper into /data/data/package/app_<somename>/<somedir>

4. Start a service from Launcher

5. Touch Sensitivity With HTC Dream 1 Device Lacking

6. Auto launch Service

7. Changing background color on a selected listview item