推荐用于 Android 开发工作站的 Linux 发行版
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17432090/
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
Recommended Linux Distro for Android Development Workstation
提问by samis
I'm trying to determine which is the best/preferred/recommended linux distribution for native Android development ?
我正在尝试确定哪个是本机 Android 开发的最佳/首选/推荐的 linux 发行版?
I'm looking into Ubuntu now, but am also considering CentOS (I've always liked RedHat).
我现在正在研究 Ubuntu,但也在考虑 CentOS(我一直喜欢 RedHat)。
I guess at a bear minimum, the OS needs to
我想至少,操作系统需要
- Support the latest JDK (required by Android SDK)
- Run Eclipse (which means a Desktop package is required as well, like GNOME or KDE).
- 支持最新的JDK(Android SDK需要)
- 运行 Eclipse(这意味着还需要桌面包,如 GNOME 或 KDE)。
At work I develop on windows using mono and visual studio, but now that I got 4.2.2 loaded on my kindle fire, I really want to start doing some native Android stuff (which will hopefully help my Monodroid debugging skills).
在工作中,我使用 Mono 和 Visual Studio 在 Windows 上进行开发,但是现在我的 Kindle Fire 上加载了 4.2.2,我真的很想开始做一些原生 Android 的东西(这将有助于我的 Monodroid 调试技能)。
Update:Make that a Kindle Fire HD 8.9, since my battery started to expand ever so slightly (I caught it early, it gets worse), pushing away the side trim a few millimeters, Amazon is sending a upgraded replacement.
更新:把它变成 Kindle Fire HD 8.9,因为我的电池开始稍微膨胀(我很早就发现了,它变得更糟),将侧边推开几毫米,亚马逊正在发送升级的替代品。
Thanks.
谢谢。
采纳答案by nif
For Android application development using the SDK, it doesn't really matter. However, if want to create or modify more low-level components in Android, the official recommendation is Ubuntu [1]:
对于使用 SDK 的 Android 应用程序开发,这并不重要。但是,如果要在 Android 中创建或修改更多低级组件,官方推荐的是 Ubuntu [1]:
The Android build is routinely tested in house on recent versions of
Ubuntu LTS (10.04), but most distributions should have the required
build tools available. Reports of successes or failures on other
distributions are welcome.
Be aware, that for building the Android system and kernel source for newer Android versions (> 2.3), you will need a 64-bit (amd64) distribution. I compiled the Android source on Ubuntu 13.04 amd64 without a problem.
请注意,要为较新的 Android 版本 (> 2.3) 构建 Android 系统和内核源代码,您将需要 64 位 (amd64) 发行版。我在 Ubuntu 13.04 amd64 上编译了 Android 源代码,没有任何问题。
You don'tneed that for pure application development. Use whatever you prefer.
你并不需要一个纯粹的应用开发。使用任何你喜欢的。
References:
参考:
回答by doubleA
I would say go with the one the the most support. Right now that would be Ubuntu. Cent OS is for servers. Unless you are also going to be running a server I would not recommend it. Linux Mint is in second place but it is from Ubuntu. So Ubuntu is final answer. the new android studiois also supported but an Ubuntu
我会说和最支持的人一起去。现在那将是 Ubuntu。Cent OS 适用于服务器。除非您还打算运行服务器,否则我不会推荐它。Linux Mint 位居第二,但它来自 Ubuntu。所以 Ubuntu 是最终答案。也支持新的android studio,但支持 Ubuntu