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.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

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

        protected void onCreate(Bundle icicle) {
                super.onCreate(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
file.

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?

Thanks
Deepanjan

--~--~---------~--~----~------------~-------~--~----~



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...

Xav






-- 
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: www.iseeshoe.com. They are of top quality but very favorable
price.

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: http://www.ccshoe.com
msn: ccshoe2...@hotmail.com
email: wcl020...@gmail.com

--~--~---------~--~----~------------~-------~--~----~

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