If you are using this SDK to build an application that is compatible only with Android-powered devices running the Android 1.1 platform, please note that you must set the the android:minSdkVersion attribute in the application's manifest to the API Level of Android 1.1 — "2".Specifically, you specify the android:minSdkVersion attribute in a <uses-sdk> element as a child of <manifest> in the manifest file. When set, the attribute looks like this:<manifest>
  ...
  <uses-sdk minSdkVersion="2" />
  ...
</manifest>  By setting android:minSdkVersion in this way, you ensure that users will only be able to install your application if their devices are running the Android 1.1 platform. In turn, this ensures that your application will function properly on their devices, especially if it uses APIs introduced in Android 1.1. if your application does not use any new APIs introduced in Android 1.1, you can indicate Android 1.0 compatibility by removing minSdkVersion or setting the attribute to "1". However, before publishing your application, you must make sure to compile your application against the Android 1.0 system image (available in the Android 1.0 SDK), to ensure that it builds and functions properly for Android 1.0 devices. You should test the application against system images corresponding to the API Levels that the application is designed to be compatible with.If you are sure your application is not using Android 1.1 APIs and has no need to use them, you might find it easier to keep working in the Android 1.0 SDK, rather than migrating to the Android 1.1 SDK and having to do additional testing.)

解决方案 »

  1.   

    ophone嘛,sdk都不能和android共存,模拟器。什么玩意啊
      

  2.   

    该结贴,但是没 好帖子,自己再顶顶,哈哈
    不过感觉兼容性,google本身的版本之间兼容性还算可以,但是好多厂商修改后的android,他们之间兼容性确实不行,都自己整加了接口
    不行了,不行了,做j2ee是有时被强奸一次,做android每天都被android轮奸N次,都快撑不住了
      

  3.   

    我以前也是JAVAEE的  呵呵android不向下兼容确实闹听,水货手机刷机之后的版本号,我总觉得不太可靠,比如公司现在用的G2就是1.6的版本,但是程序在1.6的模拟器上根本跑步起来,但是在手机上就可以跑。现在还没用过化为的手机,测试机全是HTC的  G2 G3 G4  暂时就用过这三个。
      

  4.   

    版本兼容性是android的诟病,当然这是开源必经的路吧。比如我做过semc的机子,同一款机子,在sdk表现也有些不同,刷成1.5和刷成1.6的屏幕分辨率都会有差别。当然,不同机子差距会更大,兼容性得视情况而定。
      

  5.   

    1. ophone基于android1.5上面修改的,但是以及偏离的android的道路,即使ophone要升级到2.0.但是已经很android没关了。2. HTC,motor的android,在framework层都没有动多少,他们主要是自己做的BSP。3. android1.5,1.6,2.0每一个版本的代码都会相差比较多,很多接口在各个版本都不一样。