我可以在 Windows 中重建声音代码吗
我在android的声音代码中下载了AlarmClock,我已经修改了它,但是我想运行它,
我可以在Windows中重建AlarmClock吗,如果可以的话,怎么做?谢谢。
i download AlarmClock in the sound code of android,i have modified it,but i want to run it
can i rebuild AlarmClock in Windows, if i can ,how? thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不可以,Android 平台代码必须构建在 Linux(或 Mac)上。有关 Android 平台的构建要求,请参阅下载说明。附带说明一下,您必须下载整个 Android 平台,您不能只下载“AlarmClock”并构建它,它需要在平台其他部分定义的类和对象。
No, the android platform code MUST be built on a linux (or Mac). See the download instructions for the build requirements for the android platform. On a side note to this, you have to download the entire android platform, you cannot just pull down "AlarmClock" and build it, it requires classes and objects defined in other parts of the platform.
是的,可以,但是您需要对 SDK 中未公开但实际上存在于 Android 源代码的其余部分中的内容进行大量修补。这可能意味着您可能会失去许多依赖于 Android 源代码中的私有内容的功能,唯一的解决方法是参考 Ryan Conrad 的答案。
Yes, you can, but you need to heavily patch things that are not exposed in the SDK but are actually present in the rest of the Android source code. This may mean you might lose a lot of functionality that is dependent on private stuff in the Android source, and the only way around that is to refer to Ryan Conrad's answer.