简体   繁体   English

在Linux中运行/编译Android应用

[英]Run/Compile Android app in Linux

Although I have some experience in Android development, I don't have a lot of experience with linux systems. 尽管我在Android开发方面有一些经验,但是我在Linux系统方面没有很多经验。 I have an Android application and I would like to know if it is possible to compile and/or run it on a Linux system. 我有一个Android应用程序,我想知道是否有可能在Linux系统上编译和/或运行它。 If it is possible, what do I need in order to do so? 如果有可能,我需要做些什么?

It is not yet possible to run android apps on just any linux distribution. 尚无法在任何Linux发行版上运行android应用。 But take a look at the Android-x86 project . 但是,看看Android-x86项目

In case I misunderstood your question : if it is about "regular" android development using linux, there are no real issues. 万一我误解了您的问题:如果是关于使用linux的“常规” android开发,则没有真正的问题。 Just use your favorite IDE. 只需使用您喜欢的IDE。

You may need to read this tutorial to be able to deploy and debug on your device using USB. 您可能需要阅读本教程 ,才能使用USB在设备上进行部署和调试。

Yes, unless I misunderstand. 是的,除非我误会了。 The computer I work on is running Ubuntu 11.10 Linux distribution. 我正在使用的计算机正在运行Ubuntu 11.10 Linux发行版。 You can just download eclipse and get the plugins or do you want to do something else? 您可以只下载eclipse并获取插件,还是要做其他事情?

Eclipse, the ADT-Plugin and the Android-Emulators all work fine in Debian based distributions. Eclipse,ADT-Plugin和Android-Emulators在基于Debian的发行版中都能正常工作。 Probably also on most other like Red Hat or openSuse,..... 大概还可以用于其他大多数设备,例如Red Hat或openSuse,.....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM