修改和重新编译的Andr​​oid SDK [英] Modifying and recompiling the Android SDK

查看:171
本文介绍了修改和重新编译的Andr​​oid SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有一些方法和一些类,它们在Android中实现不导出到Android公众SDK。我已经能够创建通过编译我的应用程序放置在Android树中使用的一些功能的应用程序。 是否可以通过从源重新编译它导出这些功能在Android SDK?如何才能做到这一点?我可以在Android SDK中包括自定义类和函数以及(假设当然,我创建了一个新的SDK和一个新的固件)? 谢谢!

I know that some methods and some classes that are implemented in Android are not exported to the Android public SDK. I've been able to create an application that uses some of these functions by compiling my application placing it inside the Android tree. Would it be possible to export these functions to the Android SDK by recompiling it from the sources? How can this be done? Can I include custom classes and functions in the Android SDK as well (supposing of course I create a new SDK and a new firmware)? Thanks!

推荐答案

我没有尝试,但是这应该是回答我的问题:的https://android.googlesource.com/platform/sdk/+/master/docs/howto_build_SDK.txt.

I didn't try it, but this should be the answer to my question: https://android.googlesource.com/platform/sdk/+/master/docs/howto_build_SDK.txt.

这篇关于修改和重新编译的Andr​​oid SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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