我需要使用哪个Android平台SDK? [英] Which Android platform SDK do I need?

查看:131
本文介绍了我需要使用哪个Android平台SDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试和分发我PhoneGap的应用程序。它已经运行了iPhone。

I would like to test and distribute my phonegap app. It already runs for iPhone.

起初我安装了最新的SDK(4.0.3),但是这个并不在我的手机上运行。所以...我想我必须安装更多。

At first I installed the newest SDK (4.0.3) but this one does not run on my phone. So... i guess I have to install more.

什么我需要安装在Android SDK管理器?

What do I need to install in the Android SDK Manager?

所有的SDK?我是否需要采样/布防/ GoogleAPI /来源呢?

All SDKs? Do I need the Sample/Arm/GoogleAPI/Sources too?

推荐答案

一般来说,我安装所有的SDK版本,因为它是好是能够测试的各种仿真器,以确保您的应用程序在所有Android版本的作品。你应该总是建立与最新的SDK,但在AndroidManifest.xml中的应用程序文件,你应该有一个安卓的minSdkVersion设置为你希望你的应用程序运行在Android的最低水平。现在我建议7(Android 2.1的)97%的手机运行的是2.1或以上。

Generally I install all the SDK versions as it is good to be able to test on the various emulators to make sure you app works in all versions of Android. You should always build your application with the latest SDK but in your AndroidManifest.xml file you should have a android:minSdkVersion set to the lowest Android level you want your app to run on. For now I recommend 7 (Android 2.1) as 97% of the phones are running 2.1 or above.

这篇关于我需要使用哪个Android平台SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆