Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
FAILED to Build Android
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="raptor96" data-source="post: 1775056" data-attributes="member: 396476"><p>When I tried to build Android 7.1.1 on macOS Sierra it fails... Compilation terminated with the following error dialog,</p><p></p><p>[CODE][ 1% 375/24412] build out/target/product/msm8909w/obj/KERNEL_OBJ/usr</p><p>FAILED: /bin/bash -c "(if [ ! -z \"msm8909w_defconfig\" ]; then </p><p>@ rm -f ../out/target/product/msm8909w/obj/KERNEL_OBJ/.config; </p><p>make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- msm8909w_defconfig; </p><p>make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- headers_install; fi ) </p><p>&& (if [ \"msm8909w_defconfig\" != \"msm8909w_defconfig\" ]; then </p><p>echo \"Used a different defconfig for header generation\"; </p><p>@ rm -f ../out/target/product/msm8909w/obj/KERNEL_OBJ/.config; </p><p>make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_LAW.BR.2.5-12100-8x09w.0_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- msm8909w_defconfig; fi ) </p><p>&& (if [ ! -z \"\" ]; then </p><p>echo \"Overriding kernel config with ''\"; </p><p>echo >> out/target/product/msm8909w/obj/KERNEL_OBJ/.config; </p><p>make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- oldconfig; fi )"</p><p>/bin/bash: @: command not found[/CODE]</p><p></p><p></p><p>@ : command not found... How can I fix this error?? I found that @ is used to echo a command when that command fails...</p><p></p><p>Thanks in advance! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="raptor96, post: 1775056, member: 396476"] When I tried to build Android 7.1.1 on macOS Sierra it fails... Compilation terminated with the following error dialog, [CODE][ 1% 375/24412] build out/target/product/msm8909w/obj/KERNEL_OBJ/usr FAILED: /bin/bash -c "(if [ ! -z \"msm8909w_defconfig\" ]; then @ rm -f ../out/target/product/msm8909w/obj/KERNEL_OBJ/.config; make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- msm8909w_defconfig; make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- headers_install; fi ) && (if [ \"msm8909w_defconfig\" != \"msm8909w_defconfig\" ]; then echo \"Used a different defconfig for header generation\"; @ rm -f ../out/target/product/msm8909w/obj/KERNEL_OBJ/.config; make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_LAW.BR.2.5-12100-8x09w.0_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- msm8909w_defconfig; fi ) && (if [ ! -z \"\" ]; then echo \"Overriding kernel config with ''\"; echo >> out/target/product/msm8909w/obj/KERNEL_OBJ/.config; make -j4 -C kernel O=../out/target/product/msm8909w/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/Volumes/android/Android_16oct17/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- oldconfig; fi )" /bin/bash: @: command not found[/CODE] @ : command not found... How can I fix this error?? I found that @ is used to echo a command when that command fails... Thanks in advance! :) [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
FAILED to Build Android
Top