Re: Opengapps build issue on android-x86

230 views
Skip to first unread message
Message has been deleted

Mauro Rossi

unread,
Mar 4, 2018, 4:27:50 PM3/4/18
to Android-x86
Googled: "acp: missing destination file"
Interesting result: https://github.com/opengapps/aosp_build/issues/80

Il giorno domenica 4 marzo 2018 20:44:52 UTC+1, Harkaman ha scritto:

Recently , i am building new android-x86 with gapps and facing some issue. But, when  I built android-x86 without gapps ( also with newer mesa and kernel) it build without any issue. 

 

When I build without/exclude Phonesky \  in device.mk. It build ok. tested. But, no play store. Then I build again include Phonesky (apk). Then i get error again. How can I solve this issue?


I tried most of the help and tips from other dev, but it did not solve the issue.


2 weeks ago I build both android-x86 32/64 bit and cm-x86 both 32bit/64 bit gapps. no issue at all. I am facing this issue this week.


what I did : 

rm -rf out/target/product/x86/obj/APPS/

try to clean all out/target/product/{x86,x86_64}/system folder

 remove the full out/host

build again with make clean and make installclean.

I ddi fresh download source from osdn as well still same.



I am using this method:



#OpenGAPPS
 $
(call inherit-product, vendor/opengapps/build/opengapps-packages.mk)

 

#OpenGAPPS
 GAPPS_VARIANT
:= pico
 
 
 GAPPS_FORCE_BROWSER_OVERRIDES
:= true
 
 
 GAPPS_EXCLUDED_PACKAGES
:= FaceLock \
     
AndroidPlatformServices \
     
PrebuiltGmsCoreInstantApps \

<!-- BEGIN OPENGAPPS-X86 -->
   
 
<remote name="opengapps" fetch="https://github.com/opengapps/"  />
 
 
   
<project path="vendor/opengapps/build" name="aosp_build" revision="master" remote="opengapps" />
   
<project path="vendor/opengapps/sources/all" name="all" clone-depth="1" revision="master" remote="opengapps" />
   
<project path="vendor/opengapps/sources/x86" name="x86" clone-depth="1" revision="master" remote="opengapps" />
   
<project path="vendor/opengapps/sources/x86_64" name="x86_64" clone-depth="1" revision="master" remote="opengapps" />
   
   
<!-- END OPENGAPPS-X86 -->






error 1


nothing matches overlay file view_pager_tab_background.xml, for flavor v21



[ 78% 30614/38776] target Prebuilt: Ph...PS/Phonesky_intermediates/package.apk)

FAILED
: /bin/bash -c "(out/host/linux-x86/bin/acp -fp  out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk ) && (if (zipinfo out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then rm -rf out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs && mkdir out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs; unzip out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk 'lib/*.so' -d out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs && zip -d out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk 'lib/*.so' && ( cd out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs && find lib -type f | sort | zip -D -X -0 ../package.apk -@ ) && rm -rf out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs; fi ) && (if ! out/host/linux-x86/bin/zipalign -c -p 4 out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk >/dev/null ; then mv out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk.unaligned out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk.aligned; mv out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk.aligned out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk; fi )"

acp
: missing destination file

[ 78% 30614/38776] Building with Jack:...g_intermediates/with-local/classes.dex

ninja
: build stopped: subcommand failed.

build
/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed

make
: *** [ninja_wrapper] Error 1

make
: Leaving directory '/media/harkman/7915d850-4613-4b73-8c5c-c68726b11a8d/android-x86'




#### make failed to build some targets (02:45:13 (hh:mm:ss)) ####






error 2


Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using exi



sting value
in manifest.

Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using exi

sting value
in manifest.

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using e

xisting value
in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); usin

g existing value
in manifest.

[ 78% 30606/38775] target Prebuilt: Phonesky (out/target...product/x86/obj/APPS/Phonesky_intermediates/package.apk)

FAILED
: /bin/bash -c "(out/host/linux-x86/bin/acp -fp  out/target/product/x86/obj/APPS/Phonesky_intermediates/packa

ge.apk ) && (if (zipinfo out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk 'lib/*.so' 2>/dev/null

| grep -v ' stor ' >/dev/null) ; then rm -rf out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlib

s && mkdir out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs; unzip out/target/product/x86/ob

j/APPS/Phonesky_intermediates/package.apk 'lib/*.so' -d out/target/product/x86/obj/APPS/Phonesky_intermediates/unco

mpressedlibs && zip -d out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk 'lib/*.so' && ( cd out/ta

rget/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs && find lib -type f | sort | zip -D -X -0 ../pack

age.apk -@ ) && rm -rf out/target/product/x86/obj/APPS/Phonesky_intermediates/uncompressedlibs; fi ) && (if ! out/h

ost/linux-x86/bin/zipalign -c -p 4 out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk >/dev/null ;

then mv out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk out/target/product/x86/obj/APPS/Phonesky

_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/x86/obj/APPS/Phone

sky_intermediates/package.apk.unaligned out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk.aligned;

 mv out/target/product/x86/obj/APPS/Phonesky_intermediates/package.apk.aligned out/target/product/x86/obj/APPS/Phon

esky_intermediates/package.apk; fi )"


acp
: missing destination file

[ 78% 30606/38775] target Package: InputDevices (out/tar...uct/x86/obj/APPS/InputDevices_intermediates/package.apk)

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

[ 78% 30606/38775] Building with Jack: out/target/common.../APPS/EmergencyInfo_intermediates/with-local/classes.dex

ninja
: build stopped: subcommand failed.

build
/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed

make
: *** [ninja_wrapper] Error 1

make
: Leaving directory '/home/harkamanshivakoti/android-x86'

#### make failed to build some targets (01:15:32 (hh:mm:ss)) ####

root@harkaman
:~/android-x86#



error 3


native: #07 pc 000000000000d748  /home/harkamanshivakoti/android-x86/out/host/linux-x86/bin/dex2oatd (???)



/bin/bash: line 1: 31136 Aborted                 (core dumped) ( ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2

oatd
--runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -classpath --runtime-arg "&" --boot-image=out/targe

t
/product/x86/dex_bootjars/system/framework/boot.art --dex-file= --dex-location=/system/priv-app/Phonesky/Phonesky.

apk
--oat-file=out/target/product/x86/obj/APPS/Phonesky_intermediates/oat/x86/package.odex --android-root=out/targe

t
/product/x86/system --instruction-set=x86 --instruction-set-variant=x86 --instruction-set-features=default --inclu

de
-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --abort-on-hard-verifier-error --no-inline

-from=core-oj.jar --compile-pic )

[ 78% 30592/38775] target Package: Contacts (out/target/product/x86/obj/APPS/Contacts_intermediates/package.apk)

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c mdpi-v4. Use --preferred-density instead.

warning
: ignoring flag -c hdpi-v4. Use --preferred-density instead.

Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using exi

sting value
in manifest.

Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using exi

sting value
in manifest.

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using e

xisting value
in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); usin

g existing value
in manifest.

nothing matches overlay file view_pager_tab_background
.xml, for flavor v21

[ 78% 30592/38775] Building with Jack: out/target/common/obj/APPS/Dialer_intermediates/with-local/classes.dex

ninja
: build stopped: subcommand failed.

build
/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed

make
: *** [ninja_wrapper] Error 1

make
: Leaving directory '/home/harkamanshivakoti/android-x86'




Reply all
Reply to author
Forward
0 new messages