Android Framework - 如何注册新包?

标签 android frameworks android-source

我在/base/packages/的 android 框架中添加了一个新包, 在编译和构建时我收到一个错误包 “com.xx.xxxxxx 不存在” 我需要在框架的某个地方注册这个新包吗?

最佳答案

我想是的。尝试将您的包添加到 build/target/product/core.mkPRODUCT_PACKAGES 中。

关于Android Framework - 如何注册新包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9460892/

相关文章:

Android ImageView 按重量大小不在父 LinearLayout 居中

android - WebRTC 连接在本地网络之外无法工作

css - 原型(prototype)到CSS

javascript - SproutCore javascript

android - RecoverySystem.installPackage java.lang.NullPointerException

android - AOSP 构建错误 : EXECUTABLES/iw_intermediates/version. c

android - 使用InstantSearch-Android时出现MemoryLeak

android - 在位图上写评论

ios - iOS 应用程序中的公共(public)框架

android - Android Lollipop 中的信号 33 是​​什么?