Hi,
I have downloaded the Android Naugat source code and followed the steps present in the User guide. I did ~/bin/repo sync successfully.
While doing "make systemimage BUILD_TARGET_DEVICE=sd",I am getting the following error.
ERROR: /home/test/myandroid/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/VideoPlayer.java:428: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ERROR: /home/test/myandroid/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/VideoPlayer.java:458: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ERROR: /home/test/myandroid/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/HdmiApplication.java:328: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ERROR: /home/test/myandroid/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/HdmiApplication.java:342: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (23 seconds) ####
Could anyone please help me to fix this issue?
Thanks in Advance.
Regards
Susan
Well, I followed the guide of AN11690 (NXP NCI Android Porting Guidelines) and there is a command of "repo sync --force-sync", which removes all patchs from M6.0.1_2.1.0_GA and caused this issue
I was encountered this issue too, although I use android marshmallow 6.0.1, strange that no any tip on google, any one can give me some advice?
the error log is:
... ...
including ./tools/external/fat32lib/Android.mk ...
No private recovery resources for TARGET_DEVICE sabresd_6dq
Copy: out/target/product/sabresd_6dq/root/fstab.freescale
Building with Jack: out/target/common/obj/APPS/CactusPlayer_intermediates/with-local/classes.dex
Launching background server java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar out/host/linux-x86/framework/jack-launcher.jar -cp out/host/linux-x86/framework/jack.jar com.android.jack.server.JackSimpleServer
ERROR: /home/pvd/i.MX6/android/aosp/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/VideoPlayer.java:428: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ERROR: /home/pvd/i.MX6/android/aosp/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/VideoPlayer.java:458: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ERROR: /home/pvd/i.MX6/android/aosp/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/HdmiApplication.java:328: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
ERROR: /home/pvd/i.MX6/android/aosp/external/fsl_imx_omx/CactusPlayer/src/com/freescale/cactusplayer/HdmiApplication.java:342: ACTION_WIFI_DISPLAY_DISCONNECTION cannot be resolved or is not a field
make: *** [out/target/common/obj/APPS/CactusPlayer_intermediates/with-local/classes.dex] Error 41
[0;31m#### make failed to build some targets (02:01 (mm:ss)) #### [00m
B.R.
Sun
Hi Sun,
Try installing all the dependencies again and do repo sync.
Regards
Susan
Hello,
Try installing the bellow libraries and see if that solve your problem:
$ sudo apt-get install libcurl4-openssl-dev nss-updatedb.
Best Regards,
Diego.
Hi Diego,
I have installed libcurl4-openssl-dev and nss-updatedb but got the same error still.
Everything is OK before I ported a NFC driver followed AN11690 (NXP NCI Android Porting Guidelines, 3.2 Android Mashmallow), when the error encountered, I have tried "make update-api" and "make clean" but also the same error.
B. R.
Sun
Let me install the drivers and see if I get the same error as you.
Best regards,
Diego
Hi Support-team,
I am also facing this same issue,could you please help me to resolve this issue.
Thanks in advance
Sachin