Can't build sdk

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't build sdk

Rakesh Gupta
Hi,
I have been trying to make sdk by following the steps given on: https://source.android.com/setup/create/avd#building_avd_images  but not succeeded even once.

Below are the steps:

$. build/envsetup.sh

$lunch sdk_phone_x86_64

$m

$emulator                 (no problem till here)

$m sdk sdk_repo
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=sdk_phone_x86_64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-45-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QD4A.200805.003
OUT_DIR=/home/rakesh/aosp/output/android-10.0.0_r45


FAILED: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/sdk/sdk_phone_x86_64/android-sdk_eng.rakesh_linux-x86.zip
/bin/bash /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/sdk/sdk_phone_x86_64/android-sdk_eng.rakesh_linux-x86.zip.rsp
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/etc/xtables.lock
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libiprouteutil.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libnetlink.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libselinux.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/libselinux.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libcups.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_blkid.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_com_err.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_e2p.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_misc.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_quota.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_uuid.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2fs.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libiprouteutil.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libnetlink.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libselinux.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/libselinux.so
development/build/sdk-android-x86_64.atree:21: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/development/sys-img-x86_64/images_x86_64_source.properties
development/build/sdk.atree:70: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_generated-api-versions.xml
development/build/sdk.atree:71: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_annotations.zip
development/build/sdk.atree:151: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/common/obj/JAVA_LIBRARIES/shrinkedAndroid_intermediates/shrinkedAndroid.jar
development/build/sdk.atree:156: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes.jar
development/build/sdk.atree:163: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/development/sdk/platform_source.properties
development/build/sdk.atree:169: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/android_jar_intermediates/android.jar
development/build/sdk.atree:170: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/android_jar_intermediates/android-stubs-src.jar
development/build/sdk.atree:174: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.stubs_intermediates/classes.jar
development/build/sdk.atree:176: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android_uiautomator_intermediates/classes.jar
development/build/sdk.atree:178: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android.test.mock.stubs_intermediates/classes.jar
development/build/sdk.atree:179: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android.test.base.stubs_intermediates/classes.jar
development/build/sdk.atree:180: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android.test.runner.stubs_intermediates/classes.jar
development/build/sdk.atree:183: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework.aidl
development/build/sdk.atree:213: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_generated-api-versions.xml
development/build/sdk.atree:217: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_annotations.zip
development/build/sdk.atree:222: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/activity_actions.txt
development/build/sdk.atree:223: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/broadcast_actions.txt
development/build/sdk.atree:224: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/service_actions.txt
development/build/sdk.atree:225: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/categories.txt
development/build/sdk.atree:226: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/widgets.txt
development/build/sdk.atree:227: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/features.txt
development/build/sdk.atree:230: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/common/obj/PACKAGING/sdk-fonts_intermediates
development/build/sdk.atree:262: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/development/sdk/doc_source.properties
22:03:17 ninja failed with: exit status 1



Please help.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/ce500cdb-9610-4095-ba56-eb236814b5aan%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Can't build sdk

Rakesh Gupta
Reverted back to Ubuntu 18.04 from Ubuntu 20.04 and its working

On Wednesday, September 2, 2020 at 10:24:50 PM UTC+5:30 Rakesh Gupta wrote:
Hi,
I have been trying to make sdk by following the steps given on: https://source.android.com/setup/create/avd#building_avd_images  but not succeeded even once.

Below are the steps:

$. build/envsetup.sh

$lunch sdk_phone_x86_64

$m

$emulator                 (no problem till here)

$m sdk sdk_repo
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=sdk_phone_x86_64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-45-generic-x86_64-Ubuntu-20.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QD4A.200805.003
OUT_DIR=/home/rakesh/aosp/output/android-10.0.0_r45


FAILED: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/sdk/sdk_phone_x86_64/android-sdk_eng.rakesh_linux-x86.zip
/bin/bash /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/sdk/sdk_phone_x86_64/android-sdk_eng.rakesh_linux-x86.zip.rsp
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/etc/xtables.lock
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libiprouteutil.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libnetlink.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/libselinux.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib/vndk-29/libselinux.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libcups.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_blkid.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_com_err.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_e2p.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_misc.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_quota.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2_uuid.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libext2fs.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libiprouteutil.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libnetlink.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/libselinux.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/libexif.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/liblz4.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/libnl.so
SDK: warning: including GNU target /home/rakesh/aosp/output/android-10.0.0_r45/target/product/generic_x86_64/system/lib64/vndk-29/libselinux.so
development/build/sdk-android-x86_64.atree:21: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/development/sys-img-x86_64/images_x86_64_source.properties
development/build/sdk.atree:70: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_generated-api-versions.xml
development/build/sdk.atree:71: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_annotations.zip
development/build/sdk.atree:151: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/common/obj/JAVA_LIBRARIES/shrinkedAndroid_intermediates/shrinkedAndroid.jar
development/build/sdk.atree:156: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes.jar
development/build/sdk.atree:163: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/development/sdk/platform_source.properties
development/build/sdk.atree:169: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/android_jar_intermediates/android.jar
development/build/sdk.atree:170: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/android_jar_intermediates/android-stubs-src.jar
development/build/sdk.atree:174: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.stubs_intermediates/classes.jar
development/build/sdk.atree:176: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android_uiautomator_intermediates/classes.jar
development/build/sdk.atree:178: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android.test.mock.stubs_intermediates/classes.jar
development/build/sdk.atree:179: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android.test.base.stubs_intermediates/classes.jar
development/build/sdk.atree:180: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/JAVA_LIBRARIES/android.test.runner.stubs_intermediates/classes.jar
development/build/sdk.atree:183: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework.aidl
development/build/sdk.atree:213: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_generated-api-versions.xml
development/build/sdk.atree:217: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/api-stubs-docs_annotations.zip
development/build/sdk.atree:222: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/activity_actions.txt
development/build/sdk.atree:223: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/broadcast_actions.txt
development/build/sdk.atree:224: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/service_actions.txt
development/build/sdk.atree:225: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/categories.txt
development/build/sdk.atree:226: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/widgets.txt
development/build/sdk.atree:227: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/features.txt
development/build/sdk.atree:230: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/common/obj/PACKAGING/sdk-fonts_intermediates
development/build/sdk.atree:262: couldn't locate source file: /home/rakesh/aosp/output/android-10.0.0_r45/host/linux-x86/development/sdk/doc_source.properties
22:03:17 ninja failed with: exit status 1



Please help.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/f4e7955d-32ea-4ead-9e0d-a4ac4360b373n%40googlegroups.com.