从AOSP编译电子邮件应用程序 [英] Compile Email application from AOSP

查看:93
本文介绍了从AOSP编译电子邮件应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想向AOSP电子邮件应用程序添加一些不再受支持的功能.因此,我在此处(这是一个Eclipse项目)中克隆了存储库,并将其迁移到Android Studio中的Gradle项目中.但是之后,它涉及到大量的Java错误,资源丢失等等.

I would like to add some features to the AOSP Email application which is not supported anymore. So I cloned the repository here (which is a Eclipse project) and migrated it to a Gradle project in Android Studio. But after that it comes to thousend Java errors, missing resources and so on...

那么Google真的不是那里的仓库吗?我是否可能需要来自AOSP的其他回购协议?就目前而言,我不能再使用它了……

So has Google really a not working repo there? Do I maybe need some other repos from AOSP? As it is for now I can't work with it anymore...

推荐答案

因此,我在此处克隆了存储库(这是一个Eclipse项目),并将其迁移到Android Studio中的Gradle项目.

So I cloned the repository here (which is a Eclipse project) and migrated it to a Gradle project in Android Studio.

没有一个AOSP项目被设计为以这种方式使用.它们被设计为作为固件构建的一部分构建.

None of the AOSP projects are designed to be used this way. They are designed to be built as part of a firmware build.

如果您的目标是将更改归还给AOSP,则需要遵循其说明进行操作使用其源代码.

If your objective is to contribute changes back to the AOSP, you will need to follow their instructions for using their source code.

如果您的目标是创建自己的电子邮件应用程序,则可以从一些可以作为常规Android应用程序构建的库开始(例如K-9 Mail)开始,为您提供更好的服务.否则,您将需要解决所有这些问题,因为它们会引用通过Android SDK无法在您的应用程序项目中使用的内容.

If your objective was to create your own email app, you may be better served starting with some base that is buildable as a regular Android app (e.g., K-9 Mail). Otherwise, you are going to need to fix all of those problems, as they reference things that are not going to be available to your app project via the Android SDK.

这篇关于从AOSP编译电子邮件应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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