Hi ,
I am building AOSP latest branch and I am getting below error during my 
build - Can you please help me to understand the nature of error and 
suggest any fix ?


shakan@blr-ubuntu-108:~/workspace/mte/aosp$ m
============================================
PLATFORM_VERSION_CODENAME=R
PLATFORM_VERSION=R
TARGET_PRODUCT=fvp
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-171-generic-x86_64-Ubuntu-16.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
============================================
[  5% 1/17] Dialer dexpreopt
FAILED: 
out/target/product/fvpbase/obj/APPS/Dialer_intermediates/dexpreopt.zip
/bin/bash -c "bash 
out/target/product/fvpbase/obj/APPS/Dialer_intermediates/dexpreopt.sh 
out/target/common/obj/APPS/Dialer_intermediates/dex.jar 
out/target/product/fvpbase/obj/APPS/Dialer_intermediates/dexpreopt.zip"
dex2oatd F 04-01 10:55:28    44    44 method_verifier.cc:5280] Verification 
error in void 
android.support.v7.widget.Toolbar.<init>(android.content.Context, 
android.util.AttributeSet, int)
dex2oatd F 04-01 10:55:28    44    44 method_verifier.cc:5280] void 
android.support.v7.widget.Toolbar.<init>(android.content.Context, 
android.util.AttributeSet, int) failed to verify: void 
android.support.v7.widget.Toolbar.<init>(android.content.Context, 
android.util.AttributeSet, int): [0x1B0] copy1 v16<-v3 type=Precise 
Reference: int[] cat=1
dex2oatd F 04-01 10:55:28    44    44 method_verifier.cc:5280]
dex2oatd F 04-01 10:55:29    44    44 compiler_driver.cc:906] Had a hard 
failure verifying all classes, and was asked to abort in such situations. 
Please check the log.
error: 
out/target/product/fvpbase/obj/APPS/Dialer_intermediates/dexpreopt.sh:23 
exited with status 1
error in command:
ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/dex2oatd 
--avoid-storing-invocation 
--write-invocation-to=out/target/product/fvpbase/obj/APPS/Dialer_intermediates/oat/arm64/package.invocation
 
--runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg 
-Xbootclasspath:out/soong/fvpbase/dex_artjars_input/core-oj.jar:out/soong/fvpbase/dex_artjars_input/core-libart.jar:out/soong/fvpbase/dex_artjars_input/core-icu4j.jar:out/soong/fvpbase/dex_artjars_input/okhttp.jar:out/soong/fvpbase/dex_artjars_input/bouncycastle.jar:out/soong/fvpbase/dex_artjars_input/apache-xml.jar:out/soong/fvpbase/dex_bootjars_input/framework.jar:out/soong/fvpbase/dex_bootjars_input/ext.jar:out/soong/fvpbase/dex_bootjars_input/telephony-common.jar:out/soong/fvpbase/dex_bootjars_input/voip-common.jar:out/soong/fvpbase/dex_bootjars_input/ims-common.jar:out/soong/fvpbase/dex_bootjars_input/framework-atb-backward-compatibility.jar
 
--runtime-arg 
-Xbootclasspath-locations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar
 
${class_loader_context_arg} ${stored_class_loader_context_arg} 
--boot-image=out/soong/fvpbase/dex_artjars/android/apex/com.android.art/javalib/boot.art:out/soong/fvpbase/dex_bootjars/android/system/framework/boot-framework.art
 
--dex-file=$1 --dex-location=/product/priv-app/Dialer/Dialer.apk 
--oat-file=out/target/product/fvpbase/obj/APPS/Dialer_intermediates/oat/arm64/package.odex
 
--android-root=out/empty --instruction-set=arm64 
--instruction-set-variant=generic --instruction-set-features=default 
--no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error 
--force-determinism --no-inline-from=core-oj.jar --copy-dex-files=false 
--compiler-filter=quicken --no-generate-mini-debug-info 
--compilation-reason=prebuilt
10:55:30 ninja failed with: exit status 1
#### failed to build some targets (04:37 (mm:ss)) ####

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/b22726ee-e579-4ded-8167-81a1ac86bccf%40googlegroups.com.

Reply via email to