android.view.InflateException ONLY in android 1.5

by Quinn Rohlf » Fri, 16 Jul 2010 09:01:56 GMT

Sponsored Links
  figured it out - I hadn't realized that the 1.5 platform doesn't support
localized resources. Duplicated all of the referenced resources in
/drawable-mdpi into /drawable and it worked like a charm.

On Thu, Jul 15, 2010 at 3:28 PM, QR <> wrote:


Other Threads

1. There to put --core-library in 1.5?


I want to pass the build process the --core-libary option. But in ADT
I don't see such an option. So in Version 1.1 --core-library could be
inserted into the build.xml and build was successfull when using ant.
It looked like this:

    <target name="dex" depends="compile">
        <echo>Converting compiled files and external libraries into $
        <apply executable="${dx}" failonerror="true" parallel="true">
            <arg value="--dex" />
            <arg value="--core-library" />
            <arg value="--output=${intermediate-dex-ospath}" />
            <arg path="${outdir-classes-ospath}" />
            <fileset dir="${external-libs}" includes="*.jar"/>

In 1.5 build.xml as well as the hole build process was heavitly
altered. Now even the dx.jar is gone. The build.xml works differently,
and I dont see where to put --core-library. There is also no
documentation for where to put it.

Can anyone give me a hind?

2. ,myedittext.getText().toString() is giving null pointer exception

/**      can some one tell me why it is not working .here is my code
package com.arka.CallLogDemo;

import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
//import android.text.Editable;
//import android.text.InputFilter;
import android.text.Editable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
//import android.widget.EditText;

public class TestSearch extends Activity {
        public void onCreate(Bundle icicle) {
        //callDialog("in search");
        final EditText myedittext=(EditText)findViewById(;
        final Button button=(Button) findViewById(;
        button.setOnClickListener(new View.OnClickListener() {
    public void onClick(View v ) {
            // Perform action on click
        //int length=0;
        Intent search=new Intent();
   //   callDialog("just");



        }//end of onCreate()

        //customized alertDialog
        public  void callDialog(CharSequence message )
        final AlertDialog.Builder a=new AlertDialog.Builder(this);
        a.setPositiveButton("close", new
                public void onClick(DialogInterface dialog,int whichButton)





3. Upgrading my G1

4. how to create apk file in android ,like in j2me we create jar and jad files

5. how to create apk file in android ,like in j2me we create jar and jad files

6. List items not clickable when using ListAdapter, but clickable with SimpleAdapter

7. Camera Application not working on G1 device