在上发布了以下内容之后,我在这里尝试。
我在文档中解释了buildx命令(来自我的基于Intel的Mac):
# This normally works with build, without buildx
git clone https://github.com/Rothamsted/knetminer
cd knetminer
# buildx is the new thing I'm trying, to have multi-arch support
docker buildx build --platform linux/amd64,linux/arm64 -t knetmi
我想用gradle在树莓派中编译一个android应用程序。
我有一个构建工具,图像软件开发工具包和其他数据从我的电脑到RPI,设置ANDROID_HOME和安装gradle版本。然后,当我运行编译过程时,我得到了这个错误:
Running gradle assembleRelease
on builds/2014427_1738212
Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0