Replies: 2 comments
-
Never mind, I followed the solution given by gogamid in this issue: #106 and it worked for me. |
Beta Was this translation helpful? Give feedback.
-
I"m building android 13 for Rpi-4, I'm going through -https://github.com/android-rpi/device_arpi_rpi4 |
Beta Was this translation helpful? Give feedback.
-
I am facing the below error while building Android:
15:10:03 Disallowed PATH tool "meson" used: []string{"meson", "./build", "--cross-file", "AOSP/out/target/product/rpi4/obj/MESON_MESA3D_GEN/aosp_cross", "--buildtype=release", "-Ddri-search-path=/vendor/lib64/dri", "-Dplatforms=android", "-Dplatform-sdk-version=32", "-Ddri-drivers=", "-Dgallium-drivers=v3d,vc4", "-Dvulkan-drivers=broadcom", "-Dgbm=enabled", "-Degl=enabled", "-Dcpp_rtti=false"}
15:10:03 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
[ 0% 11/7152] build out/target/product/rpi4/obj/MESON_MESA3D/.build.timestamp
FAILED: out/target/product/rpi4/obj/MESON_MESA3D/.build.timestamp
/bin/bash -c "(rm -rf out/target/product/rpi4/obj/MESON_MESA3D/ ) && (mkdir -p out/target/product/rpi4/obj/MESON_MESA3D/ ) && (mkdir -p out/target/product/rpi4/obj/MESON_MESA3D//build ) && (cp -r external/mesa3d//* out/target/product/rpi4/obj/MESON_MESA3D/ ) && (cd out/target/product/rpi4/obj/MESON_MESA3D && PATH=/usr/bin:/usr/local/bin:$PATH meson ./build --cross-file AOSP/out/target/product/rpi4/obj/MESON_MESA3D_GEN/aosp_cross --buildtype=release -Ddri-search-path=/vendor/lib64/dri -Dplatforms=android -Dplatform-sdk-version=32 -Ddri-drivers= -Dgallium-drivers=v3d,vc4 -Dvulkan-drivers=broadcom -Dgbm=enabled -Degl=enabled -Dcpp_rtti=false ) && (PATH=/usr/bin:/bin:/sbin:$PATH ninja -C out/target/product/rpi4/obj/MESON_MESA3D/build ) && (touch out/target/product/rpi4/obj/MESON_MESA3D/.build.timestamp )"
"meson" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
I have installed meson through pip and added it to PATH variable as well.
Can someone please help in resolving this issue?
Beta Was this translation helpful? Give feedback.
All reactions