我可以在 MacOS 上开发 Android 应用程序吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2672100/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can I develop Android applications on MacOS?
提问by HelloWorld
I want to develop applications on Android. Can the SDK be installed on Mac?
我想在 Android 上开发应用程序。SDK可以安装在Mac上吗?
回答by Jake Wharton
Yes. Android development primarily takes place with Java and in Eclipse (which itself runs on Java) and therefore is cross platform.
是的。Android 开发主要使用 Java 和 Eclipse(它本身在 Java 上运行)进行,因此是跨平台的。
- Download the SDKfor Mac
- Following the installation instructions
This all-in-one postmight be easier to follow for you.
这篇多合一的帖子对您来说可能更容易理解。
If you run into problems a simple Googleor post in their Google Groupwill usually yield a result.
回答by beryllium
Looking for an answer drawing from credible and/or official sources.
寻找来自可靠和/或官方来源的答案。
developer.android.comis official Android site for developers. You can find all desired info at this site. There are steps from developer.android.com to start develop on Mac
developer.android.com是面向开发人员的官方 Android 站点。您可以在此站点上找到所有需要的信息。有从 developer.android.com 开始在 Mac 上开发的步骤
- Download SDK at https://developer.android.com/sdk/index.html. Direct URL for Mac OS X
- Install and prepare Ecipse. Direct URL for Eclipse Classic 3.7.1 for Mac OS X(Cocoa 64)
- Download and configure ADT Plugin
- If you have just installed the SDK for the first time, go to the Hello Worldtutorial.
- 在https://developer.android.com/sdk/index.html下载 SDK 。Mac OS X 的直接 URL
- 安装和准备 Ecipse。Eclipse Classic 3.7.1 for Mac OS X(Cocoa 64) 的直接 URL
- 下载并配置ADT 插件
- 如果您是第一次安装 SDK,请转到 Hello World教程。
回答by OscarRyz
Yes you can develop on Mac, you have to install the SDK
是的,你可以在 Mac 上开发,你必须安装 SDK
回答by John Percival Hackworth
The SDK for the Mac is available at http://developer.android.com/sdk/index.html.
适用于 Mac 的 SDK 可从http://developer.android.com/sdk/index.html 获得。
回答by txmail
You might also check out http://www.appcelerator.com/- They have a cross platform environment that lets you develop Air, Android, iPhone and iPad.
您也可以查看http://www.appcelerator.com/- 他们有一个跨平台环境,可让您开发 Air、Android、iPhone 和 iPad。
回答by JAL
I document my experience installing the Android platform on Mac OSX at:
我记录了我在 Mac OSX 上安装 Android 平台的经验:
回答by ByteMe
Android development on macs is just as easy as developing on windows (even easier actually because you don't need to download drivers for all of your test devices!
在 Mac 上开发 Android 和在 Windows 上开发一样简单(实际上更容易,因为您不需要为所有测试设备下载驱动程序!
Eclipse works great on a Mac but I personally prefer intelliJ, it has less issues with refreshing and cleaning the project.... plus its nice to look at. The only thing it lacks is an interactive GUI for changing xmls, but even there it does a great job of displaying what the app will look like on an actual device!
Eclipse 在 Mac 上运行良好,但我个人更喜欢 intelliJ,它在刷新和清理项目方面的问题较少......而且看起来很不错。它唯一缺少的是用于更改 xmls 的交互式 GUI,但即使在那里它也能很好地显示应用程序在实际设备上的外观!
回答by Di Wang
Yes you can. Corresponding guide is on android developer site.
是的你可以。相应的指南在 android 开发者网站上。