各位大侠,小弟ANDROID新手,我的开发环境已经搭建好了,自己写了几个工程,然后点运行,虚拟机能运行成功,但是虚拟机上的界面 始终是系统的HOME界面,在里面找不到我调试的程序,也出不了才程序的界面,请问是哪里设置出了问题。以下是我的CONSOLE输出:
13:07:05 - PictureShow] ------------------------------
[2011-07-18 13:07:05 - PictureShow] Android Launch!
[2011-07-18 13:07:05 - PictureShow] adb is running normally.
[2011-07-18 13:07:05 - PictureShow] Performing com.xmobileapp.pictureviewer.PictureShow activity launch
[2011-07-18 13:07:05 - PictureShow] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD '1.6'
[2011-07-18 13:07:05 - PictureShow] WARNING: Application does not specify an API level requirement![2011-07-18 13:07:05 - PictureShow] Device API version is 4 (Android 1.6)
[2011-07-18 13:07:07 - PictureShow] Application already deployed. No need to reinstall.
[2011-07-18 13:07:07 - PictureShow] Starting activity com.xmobileapp.pictureviewer.PictureShow on device emulator-5554
[2011-07-18 13:07:08 - PictureShow] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.xmobileapp.pictureviewer/.PictureShow }
[2011-07-18 13:07:22 - PictureShow] ------------------------------
[2011-07-18 13:07:22 - PictureShow] Android Launch!
[2011-07-18 13:07:22 - PictureShow] adb is running normally.
[2011-07-18 13:07:22 - PictureShow] Performing com.xmobileapp.pictureviewer.PictureShow activity launch
[2011-07-18 13:07:22 - PictureShow] Automatic Target Mode: launching new emulator with compatible AVD '1.6'
[2011-07-18 13:07:22 - PictureShow] Launching a new emulator with Virtual Device '1.6'
[2011-07-18 13:07:23 - PictureShow] New emulator found: emulator-5554
[2011-07-18 13:07:23 - PictureShow] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-18 13:07:51 - PictureShow] WARNING: Application does not specify an API level requirement!
[2011-07-18 13:07:51 - PictureShow] Device API version is 4 (Android 1.6)
[2011-07-18 13:07:51 - PictureShow] HOME is up on device 'emulator-5554'
[2011-07-18 13:07:51 - PictureShow] Uploading PictureShow.apk onto device 'emulator-5554'
[2011-07-18 13:07:51 - PictureShow] Installing PictureShow.apk...
[2011-07-18 13:07:51 - PictureShow] Success!
[2011-07-18 13:07:52 - PictureShow] Starting activity com.xmobileapp.pictureviewer.PictureShow on device emulator-5554看样子我的程序是运行成功了的,但是为什么看不到LAYOUT 的界面。oncreat 重写里 也有 setContentView(R.layout.main); 然后我在网上下载了 些其它人写的工程,运行还是看不到程序的界面!!

解决方案 »

  1.   

    AndroidManifest.xml
    设置
    <uses-sdk android:minSdkVersion="4"></uses-sdk> 
      

  2.   

    API版本不对,先用最低的试试
      

  3.   

    [2011-07-18 16:01:39 - hello] Re-installation failed due to different application signatures.
    [2011-07-18 16:01:39 - hello] You must perform a full uninstall of the application. WARNING: This will remove the application data!
    [2011-07-18 16:01:39 - hello] Please execute 'adb uninstall com.example.android.apis' in a shell.
    [2011-07-18 16:01:39 - hello] Launch canceled!