最近刚学Android开发,可是运行一个简单的HelloAndroid的程序出错,求教高手!!!!!!
Failed to install HelloAndroid.apk on device 'emulator-5554!
[2011-06-02 21:27:41 - HelloAndroid] (null)
[2011-06-02 21:27:41 - HelloAndroid] Launch canceled!
这是控制台输出的
在start Activity Manager时出错, start proc com.android.launcher for activity com.android.launcher
...........
这是在LogCat中输出的

解决方案 »

  1.   

    程序装入失败,看看apk版本号是否一致
      

  2.   

    取消加载,你在运行模拟的时候有没有点击取消?在看看模拟器版本于android sdk版本一不一致?
      

  3.   

    start proc com.android.launcher for a ctivity com.android.launcher
    ........后面的关键的部分被你点点点过去了
      

  4.   

    多谢高手提醒,可是版本是对的啊could not get the driver version for dev/input/mice;
    error loading /system/media/audio/ui/Effect_Tick.ogg
    ANR in android.process.acore
    Reason:Broadcast of Innet{.....}
    这是怎么回事?
      

  5.   


    package com.yarin.Android.HelloAndroid;import android.app.Activity;
    import android.os.Bundle;
    import android.util.Log;public class HelloAndroid extends Activity
    {
    /* 定义TAG标签,这样可以很好的区分打印出来的log */
    private static final String TAG = "HelloAndroid";
    public void onCreate(Bundle savedInstanceState)
    {
    super.onCreate(savedInstanceState);
    /* 打印出不同的log信息 */
    Log.v(TAG, "VERBOSE");
    Log.d(TAG, "DEBUG");
    Log.i(TAG, "INFO");
    Log.w(TAG, "WARN");
    Log.e(TAG, "ERROR");
    /* 设置Activity要显示的布局为(R.layout.main) */
    setContentView(R.layout.main);
    }
    }package com.yarin.Android.HelloAndroid;public final class R {
        public static final class attr {
        }
        public static final class drawable {
            public static final int icon=0x7f020000;
        }
        public static final class layout {
            public static final int main=0x7f030000;
        }
        public static final class string {
            public static final int app_name=0x7f040001;
            public static final int hello=0x7f040000;
        }
    }<?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"
        >
    <TextView  
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:text="@string/hello"
        />
    </LinearLayout>
      

  6.   

    程序没错!出现这个问题,肯定是你的模拟器安装问题了!这样吧,你再建另一个版本的!修改程序的版本号,然后用这个版本运行下!记住先clean下!R.java文件,不要动它,它是自动生成的!你若改变的话,会报错!
      

  7.   

    Conversion to Dalvik format failed with error;
    转换失败,这是怎么回事。而且单独运行模拟器后(未运行项目程序)屏幕闪光到那就不动了,是SDK安装有问题吗还是eclipse配置有问题