I recently wrote some code to allow the use of CEDET with Android projects. This is currently in a bzr development branch of CEDET on sourceforge. The post is here:
It supports creating a new android project, builds, starting up the debugger, installing on a device and moving between some XML files and some matching .java files, and vs-versa. It includes some fixes to the java support and smart completion also.
As with most things of this nature, help getting it more robust is welcome.
Why then not to use Eclipse with Emacs+ plugin which will give all the power of Google tools + familiar Emacs shortcuts, etc? Alternatively you can simply set your key scheme to Emacs by doing Eclipse->Window->Preferences->General->Keys and setting schema to Emacs
If you are adamant on using Emacs "as is" I would also recommend looking into "Mavenizing" your project with maven-android-plugin which you can trigger from Emacs
Android-emacs-toolkit helps to build android development environment on emacs. It contains a emacs major mode which help to develop android sdk and ndk program.
It provides support for create new avd, launch avd, create new android project, build and rebuild Android sdk project, build and rebuild Android ndk project, install and uninstall apk, run executable ndk project, output emulator log on emacs.
This toolkit tested on WindowsXP/7, Ubuntu11 with android-sdk and android-ndk-r7.
It's certainly possible not to use Eclipse. You'll miss on some features such as better semantic help with Java than I think you can't get anywhere else, but you'll gain the ability to use your favorite editor, easier-to-debug build processes, and the possibility to work on a less powerful machine.
The Developers' Guide has a section on developing in other IDEs. The SDK contains a small Emacs package to debug Android applications with GUD. There's a little information in the Emacs Wiki, pointing to two interfaces to run SDK tools inside Emacs (Emacs is nice for reading logcat output, for instance): RemVee's android-mode, and Jonathan Arkell's EmDroid.
发布评论
评论(6)
您绝对可以使用 Emacs:http://riddell.us/AndroidWithEmacsOnUbuntu.html。 (该网站已消失,但 Wayback Machine 捕获了一个副本,可以在此处找到 http://web.archive.org/web/20120321225744/http://riddell.us/AndroidWithEmacsOnUbuntu.html)它描述了如何使用Emacs并且仅使用Emacs进行测试应用程序。
没有日食。
You can absolutely use Emacs: http://riddell.us/AndroidWithEmacsOnUbuntu.html. (This site has disappeared but a copy was captured by the Wayback Machine which can be found here http://web.archive.org/web/20120321225744/http://riddell.us/AndroidWithEmacsOnUbuntu.html) It describes how to use Emacs and only Emacs for a test application.
No Eclipse.
我最近编写了一些代码,允许在 Android 项目中使用 CEDET。目前它位于 Sourceforge 上 CEDET 的 bzr 开发分支中。该帖子在这里:
http://sourceforge.net/mailarchive/message.php?msg_id= 27126953
它支持创建一个新的 android 项目、构建、启动调试器、在设备上安装以及在一些 XML 文件和一些匹配的 .java 文件之间移动,反之亦然。它还包括对 java 支持和智能完成的一些修复。
与大多数此类性质的事情一样,欢迎帮助使其变得更加强大。
下载的基本说明如下:
http://sourceforge.net/projects/cedet/develop
和你需要 android 分支。
I recently wrote some code to allow the use of CEDET with Android projects. This is currently in a bzr development branch of CEDET on sourceforge. The post is here:
http://sourceforge.net/mailarchive/message.php?msg_id=27126953
It supports creating a new android project, builds, starting up the debugger, installing on a device and moving between some XML files and some matching .java files, and vs-versa. It includes some fixes to the java support and smart completion also.
As with most things of this nature, help getting it more robust is welcome.
Basic instructions for download are here:
http://sourceforge.net/projects/cedet/develop
and you'll need the android branch.
那么为什么不将 Eclipse 与 Emacs+ 插件 一起使用,它将提供 Google 工具 + 熟悉的 Emacs 的所有功能快捷方式等?或者,您可以通过执行
Eclipse->Window->Preferences->General->Keys
将您的键方案设置为 Emacs,并将模式设置为 Emacs如果您坚持使用 Emacs“作为是”我还建议使用 maven-android-plugin< 来“Mavenizing”您的项目/a> 您可以从 Emacs 触发
Why then not to use Eclipse with Emacs+ plugin which will give all the power of Google tools + familiar Emacs shortcuts, etc? Alternatively you can simply set your key scheme to Emacs by doing
Eclipse->Window->Preferences->General->Keys
and setting schema to EmacsIf you are adamant on using Emacs "as is" I would also recommend looking into "Mavenizing" your project with maven-android-plugin which you can trigger from Emacs
您可以尝试 Android-emacs-toolkit。
http://code.google.com/p/android-emacs-toolkit/
Android-emacs-toolkit 帮助构建 android 开发
emacs 上的环境。它包含一个 emacs 主要模式,可以帮助
开发android sdk和ndk程序。
它提供对创建新的avd、启动avd、创建的支持
新的 Android 项目、构建和重建 Android sdk 项目、
构建和重建Android ndk项目,安装和卸载
apk,运行可执行的 ndk 项目,输出模拟器登录
emacs。
该工具包在 WindowsXP/7、Ubuntu11 和 android-sdk 上进行了测试
android-ndk-r7。
You can try Android-emacs-toolkit.
http://code.google.com/p/android-emacs-toolkit/
Android-emacs-toolkit helps to build android development
environment on emacs. It contains a emacs major mode which help
to develop android sdk and ndk program.
It provides support for create new avd, launch avd, create
new android project, build and rebuild Android sdk project,
build and rebuild Android ndk project, install and uninstall
apk, run executable ndk project, output emulator log on
emacs.
This toolkit tested on WindowsXP/7, Ubuntu11 with android-sdk and
android-ndk-r7.
当然可以不使用Eclipse。您将错过一些功能,例如比我认为在其他任何地方都无法获得的更好的 Java 语义帮助,但您将获得使用您最喜欢的编辑器的能力、更易于调试的构建过程以及在功能较弱的机器上工作。
开发人员指南中有一个关于在其他 IDE 中进行开发的部分。该 SDK 包含一个小型 Emacs 包,用于使用 GUD 调试 Android 应用程序。 Emacs Wiki 中有一些信息,指向 Emacs 内部运行 SDK 工具的两个接口(Emacs例如,非常适合读取
logcat
输出):RemVee 的android-mode
,和 Jonathan Arkell 的 EmDroid。It's certainly possible not to use Eclipse. You'll miss on some features such as better semantic help with Java than I think you can't get anywhere else, but you'll gain the ability to use your favorite editor, easier-to-debug build processes, and the possibility to work on a less powerful machine.
The Developers' Guide has a section on developing in other IDEs. The SDK contains a small Emacs package to debug Android applications with GUD. There's a little information in the Emacs Wiki, pointing to two interfaces to run SDK tools inside Emacs (Emacs is nice for reading
logcat
output, for instance): RemVee'sandroid-mode
, and Jonathan Arkell's EmDroid.我推荐使用 Eclipse。但是,如果您不想使用 Eclipse,请阅读这篇文章:
http://developer.android.com/guide/developing/other-ide.html
I recommend using Eclipse. However if you do not wish to use Eclipse, read this article:
http://developer.android.com/guide/developing/other-ide.html