[英]How can I install or compile androidmk tool in linux?
I am trying to use androidmk tool to convert Android.mk file to Android.bp. 我正在尝试使用androidmk工具将Android.mk文件转换为Android.bp。 But I don't know from where I can download that.
但是我不知道该从哪里下载。 Please give a little more detail about this.
请对此提供更多详细信息。
I tried cloning https://android.googlesource.com/platform/build/soong but don't know what to do next. 我尝试克隆https://android.googlesource.com/platform/build/soong,但不知道下一步该怎么做。
You need the whole AOSP to build androidmk
. 您需要整个AOSP来构建
androidmk
。
You can get AOSP with repo
( which you need to install first ). 您可以使用
repo
获得AOSP( 您需要先安装 )。
repo init -u https://android.googlesource.com/platform/manifest -b pie-release
repo sync
After you downloaded your AOSP copy with repo init
and repo sync
, you build and run it like this: 在使用
repo init
和repo sync
下载了AOSP副本之后,您可以像下面这样构建和运行它:
. build/envsetup.sh
lunch
m androidmk
androidmk [flags] <inputFile>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.