简体   繁体   English

Android开源项目中的构建模块

[英]Building module in Android Open Source Project

I've made some edits to the code of the Android keyboard (here: https://android.googlesource.com/platform/packages/inputmethods/LatinIME/ ). 我对Android键盘的代码进行了一些编辑(在这里: https : //android.googlesource.com/platform/packages/inputmethods/LatinIME/ )。 I'm left with the folders and files: Android.mk, CleanSpec.mk, common/, dictionaries/, java-overridable/, java/, native/, tests/, tools/. 我剩下的文件夹和文件:Android.mk,CleanSpec.mk,common /,字典/,java-overridable /,java /,native /,tests /,tools /。

How can I now build this as an APK I can put onto a device? 现在如何将其构建为可放入设备的APK? I've read Google's build instructions ( https://source.android.com/source/requirements.html ) but I'm really unsure how to do this still. 我已经阅读了Google的构建说明( https://source.android.com/source/requirements.html ),但我真的不确定如何执行此操作。 Could someone provide an idiot's guide to it, for me? 有人可以为我提供白痴的指南吗?

Enter the path of the Android.mk file, run mm . 输入Android.mk文件的路径,运行mm Checking the output and you will find the apk is in somewhere in out/target/product/... 检查输出,您会发现apk在out / target / product / ...中的某处。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM