Build Error - Android Q&A, Help & Troubleshooting

I just attempted my first rom building from source. I was using the repo off of Cyanogenmod's github. Long story short I was attempting to build a kitkat rom for the jflteatt ala Samsung Galaxy S4. I repo synced and attempted to build, I got back some errors and was hoping someone might could help. It might be a simple mistake since this is my first attempt at building a rom from source on my own.
http://pastebin.com/3D0r0QUk
Heres a snippet, of course go to paste bin for better view
Code:
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected unqualified-id at end of input
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected '}' at end of input
hardware/qcom/audio-caf/legacy/alsa_sound/ALSAStreamOps.cpp:40:1: error: expected unqualified-id before 'namespace'
hardware/qcom/audio-caf/legacy/alsa_sound/ALSAStreamOps.cpp:499:1: error: expected '}' at end of input
In file included from hardware/qcom/audio-caf/legacy/alsa_sound/ALSAStreamOps.cpp:38:0:
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected unqualified-id at end of input
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected '}' at end of input
make: *** [/home/leroy/cyanogen/out/target/product/jflteatt/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/AudioStreamInALSA.o] Error 1
make: *** [/home/leroy/cyanogen/out/target/product/jflteatt/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/ALSAStreamOps.o] Error 1
Thanks,
Leroy

Related

[Q] How to build kernel for I9100G?

Hi, can someone guide me how to build the kernel for I9100G? I downloaded the kernel source from Samsung and extracted. The instructions in the archive are as follows:
HOW TO BUILD KERNEL 2.6.35 FOR GT-I9100G
1. How to Build
- get Toolchain
Visit http://www.codesourcery.com/, download and install Sourcery G++ Lite 2010q1 toolchain for ARM EABI.
Extract kernel source and move into the top directory.
$ toolchain\arm-2010q1
$ cd kernel/
$ make t1_defconfig
$ make
2. Output files
- Kernel : kernel/arch/arm/boot/zImage
3. How to make .tar binary for downloading into target.
- change current directory to kernel/arch/arm/boot
- type following command
$ tar cvf GT-I9100G_Kernel_Gingerbread.tar zImage
Click to expand...
Click to collapse
Looks simple enough. So I downloaded the toolchain from CodeSourcery and installed. I don't quite understand the first line in step 1
$ toolchain\arm-2010q1
Click to expand...
Click to collapse
What does that mean, exactly? Typing it out just like that gives an error.
If I skip the first line, after "make t1_defconfig", I get the error message "make: *** No rule to make target `t1_defconfig'. Stop."
Help, please?
BTW, I'm using Kubuntu 11.10.
Got it finally. Turned out my dump of the kernel source code was bad and some files were corrupted. Plus, crappy instructions, make t1_defconfig doesn't work. Instead I did
make ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi- t1_defconfig
make ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi-
Compiling now. Hope for the best.
---
Doesn't work.
Got this error:
In file included from drivers/media/video/omapgfx/gfx_bc.c:17:
drivers/gpu/pvr/img_defs.h:89: error: #error ("define an OS")
In file included from drivers/media/video/omapgfx/gfx_bc.c:18:
drivers/gpu/pvr/servicesext.h:811: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PVRSRVReadRegistryString'
drivers/gpu/pvr/servicesext.h:812: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PVRSRVWriteRegistryString'
In file included from drivers/media/video/omapgfx/gfx_bc.c:19:
drivers/gpu/pvr/kernelbuffer.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IMG_BOOL'
drivers/media/video/omapgfx/gfx_bc.c: In function 'bc_init':
drivers/media/video/omapgfx/gfx_bc.c:381: error: implicit declaration of function 'PVRGetBufferClassJTable'
make[4]: *** [drivers/media/video/omapgfx/gfx_bc.o] Error 1
make[3]: *** [drivers/media/video/omapgfx] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
Experienced devs, anyone, help please?
Hi
I too am trying to build the kernel and I am stuck at same error. Can you please let me know how did you resolve this error?
Thanks in advance
Just in case anyone is still looking for solution:
I had the same problem. But managed to compile it successfully, under Ubuntu, using the prebuilt toolchains inside Android's NDK. Simply download, extract and start compiling.
I was able to build kernel successfully using arm linux gnueabi toolchain. Thanks for the help guys. Now I am all set to create a custom kernel
---------- Post added at 10:52 PM ---------- Previous post was at 10:50 PM ----------
The error was coming because of undefined macro for __linux__.
Can be resolved by either replacing it with LINUX or using arm linux gnueabi toolchain instead of arm eabi.
any update ?
or can u share how to build/make a custom rom so i can also try to make a custom rom
thnx!

[Q] Compiling ICS

Hi i'm trying to build ICS Source but i'm getting this error:
HTML:
make: *** No rule to make target `out/target/product/ace/obj/STATIC_LIBRARIES/libaudiointerface_intermediates/libaudiointerface.a', needed by `out/target/product/ace/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so'. Stop.
make: *** Waiting for unfinished jobs....
target thumb C++: libaudio <= hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp
In file included from hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:34:
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:51: error: expected class-name before '{' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:70: error: ISO C++ forbids declaration of 'AudioStreamOut' with no type
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:70: error: 'AudioStreamOut' declared as a 'virtual' field
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:70: error: expected ';' before '*' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:77: error: ISO C++ forbids declaration of 'AudioStreamIn' with no type
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:77: error: 'AudioStreamIn' declared as a 'virtual' field
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:77: error: expected ';' before '*' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:85: error: 'AudioStreamOut' has not been declared
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:86: error: 'AudioStreamIn' has not been declared
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:97: error: expected class-name before '{' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h: In member function 'virtual int android::AudioHardware::AudioStreamOutQ5V2::format() const':
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:110: error: 'AudioSystem' has not been declared
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h: In member function 'virtual uint32_t android::AudioHardware::AudioStreamOutQ5V2::latency() const':
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.h:111: error: 'frameSize' was not declared in this scope
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp: In destructor 'virtual android::AudioHardware::~AudioHardware()':
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:53: error: 'AudioStreamOut' was not declared in this scope
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:53: error: expected primary-expression before ')' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp: At global scope:
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:62: error: expected constructor, destructor, or type conversion before '*' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:341: error: expected '}' at end of input
make: *** [out/target/product/ace/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
i have tryed many things to fix this erro but no success
i hope some one can help me
bump
Sent from my SGH-T959 using xda premium
Many devs face this error and they are fighting with this.
I just started compiling android but did finish a successful build at 05:00am this morning and didn't get (or see) this error but, no i'm expert by any means..
Considering the error:
No rule to make target `out/target/product/ace/obj/STATIC_LIBRARIES/libaudiointerface_intermediates/libaudiointerface.a', needed by....
Click to expand...
Click to collapse
It literally says its missing something, the rule, so would it be an idea to resync repo perhaps ?
I resynced last night and there were no changes. But, yes, resyncing is important... You never know when Google will drop more source, and they may or may not announce it via mailinglist.
Inspire 4G // BlackICE
Try compiling for tuna/maguro/panda first
Also, try removing libaudio folder from device folder, and if your device has aosp then try using libaudio from there(assuming you are using device from cm7)
I also face with this error ... Maybe something is wrong in include/media
I'm getting this error for my passion.
Ive gotten a little farther by changing the namespace from android to android_audio_legacy as they did it hardware/libhardware_legacy/include/hardware_legacy/
Has anyone managed to fix this problem yet?
But it will still conpiling. Not a big problem. We can fix this later.
Sent from Xperia X10 Self-modded
I can't even seen to compile for tuna keep getting errors on llvm. I compile cm7 so my builds setup is good. Confused
texasice said:
I'm getting this error for my passion.
Ive gotten a little farther by changing the namespace from android to android_audio_legacy as they did it hardware/libhardware_legacy/include/hardware_legacy/
Click to expand...
Click to collapse
Could you pastebin the modded file or generate an .patch file for your change ?
@up I also face with llvm error Do someone have fixed that issue ?
mikegapinski said:
Could you pastebin the modded file or generate an .patch file for your change ?
@up I also face with llvm error Do someone have fixed that issue ?
Click to expand...
Click to collapse
in AudioHardware.h line 28 change :
Code:
namespace android {
as mentioned to :
Code:
namespace android_audio_legacy {
I tried it myself just by curiosity and it leads to these errors :
Code:
target thumb C++: libaudio <= hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp
In file included from hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:37:
hardware/msm7k/libaudio-qsd8k/AudioHardware.h:318: error: 'Mutex' does not name a type
hardware/msm7k/libaudio-qsd8k/AudioHardware.h:328: error: ISO C++ forbids declaration of 'SortedVector' with no type
hardware/msm7k/libaudio-qsd8k/AudioHardware.h:328: error: expected ';' before '<' token
hardware/msm7k/libaudio-qsd8k/AudioHardware.h:337: error: 'Mutex' does not name a type
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:92: error: 'AudioHardware' has not been declared
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:102: error: 'AudioHardware' has not been declared
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:102: error: ISO C++ forbids declaration of 'AudioHardware' with no type
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp: In function 'int android::AudioHardware()':
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:103: error: only constructors take base initializers
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:109: error: 'TTY_MODE_OFF' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:112: error: 'msm_bt_endpoint' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:112: error: expected primary-expression before ')' token
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:116: error: invalid type in declaration before ';' token
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:118: error: 'doA1026_init' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:124: error: 'mNumBTEndpoints' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:125: error: 'mInit' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:126: error: return-statement with no value, in function returning 'int'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:131: error: return-statement with no value, in function returning 'int'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:158: error: 'mNumBTEndpoints' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:160: error: 'mBTEndpoints' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:160: error: expected type-specifier before 'msm_bt_endpoint'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:160: error: expected ';' before 'msm_bt_endpoint'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:161: error: 'mInit' was not declared in this scope
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:164: error: expected primary-expression before 'int'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:164: error: expected ')' before 'int'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:167: error: return-statement with no value, in function returning 'int'
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:169: error: 'snd_get_bt_endpoint' cannot be used as a function
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:206: error: no return statement in function returning non-void
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp: At global scope:
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:208: error: expected constructor, destructor, or type conversion before '::' token
hardware/msm7k/libaudio-qsd8k/AudioHardware.cpp:2025: error: expected '}' at end of input
make: *** [out/target/product/passion/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
Any update on this? I had to add LOCAL_MODULE_TAGS := optional to some of the Android.mk to even reach that far. Faulty code from Google or am I doing something wrong myself?
Ive gotten past this by just removing the libaudio* folders from the Android.mk
It at least results in a system.img for the passion
In hardwark/msm7k/Android.mk
for mine qsd8k
from
Code:
common_msm_dirs := libcopybit liblights libopencorehw librpc libstagefrighthw
msm7k_dirs := $(common_msm_dirs) boot libgralloc libaudio
qsd8k_dirs := $(common_msm_dirs) libgralloc-qsd8k libaudio-qsd8k dspcrashd
msm7x30_dirs := liblights libgralloc-qsd8k librpc libaudio-qdsp5v2
to
Code:
common_msm_dirs := libcopybit liblights libopencorehw librpc libstagefrighthw
msm7k_dirs := $(common_msm_dirs) boot libgralloc libaudio
qsd8k_dirs := $(common_msm_dirs) dspcrashd
msm7x30_dirs := liblights libgralloc-qsd8k librpc libaudio-qdsp5v2
i also removed libgralloc cause it causes the screen to not work.
mikegapinski said:
Could you pastebin the modded file or generate an .patch file for your change ?
@up I also face with llvm error Do someone have fixed that issue ?
Click to expand...
Click to collapse
for go past llvm errors i've excluded -Werror in frameworks/compile/slang/Android.mk (local_cflags_for_slang line)
Fix, er, well, lets it build...
On the libaudio issue in msm7k for ICS:
Okay, after mucking around with it for a bit, it looks like it was an issue with namespaces, and things having the same name. So what I did to get it to compile is I went through and specified everything to use the android_audio_legacy namespace except for the things that needed to be on the android namespace.
I also slapped on a definition for 2 methods that were undefined. I do not know if it will work, but it does build.
My diff is here: http://pastebin.com/iP7FSa0C
Disclaimers:
C++ is not my primary language, actually, its not a language I know much of at all
I have not been able to test it, I can only verify that it builds, which I assume is better than having to remove the makefile.
I pretty much did the same thing as jbcode42
It builds but doesnt work.
http://pastebin.com/JGYBKfSs
I sow that libaudio.so is no more used in ICS i think ... Now it is an module under system/hw ex. audio.primary.goldfish ... We will need to wait for new soruces from CM or CA to get rid of the errors ...
lupohirp said:
for go past llvm errors i've excluded -Werror in frameworks/compile/slang/Android.mk (local_cflags_for_slang line)
Click to expand...
Click to collapse
Thanks for this. Any ideas why that error is coming up? It seems like others have got it to compile without modifications. What is everyone compiling on? I am on Ubuntu 11.10 with GCC 4.6.1

[Q] Building error aosp

guys im getting this error when building any help here cause im a complete newbie.
from this guide
http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/
Code:
PRODUCT_COPY_FILES device/sony/sirius/rootdir/system/etc/libnfc-nxp.conf:system/etc/libnfc-nxp.conf ignored.
No private recovery resources for TARGET_DEVICE sirius
No recovery.fstab for TARGET_DEVICE sirius
make: *** No rule to make target `–j'. Stop.
#### make failed to build some targets (38 seconds) ####
Now when i repo sync it gives me this error:
error: hardware/libhardware/: platform/hardware/libhardware checkout 628ce4aedaa03d989ac403df533448cd78e701f7
EDIT:i searched online and somehow got past the error but now im getiing this error
Code:
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/nfc/include/nfc_api.h:32,
from external/libnfc-nci/src/nfa/include/nfa_api.h:32,
from packages/apps/Nfc/nci/jni/NativeLlcpConnectionlessSocket.cpp:26:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpConnectionlessSocket.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/libnfc-nci/src/hal/include/nfc_hal_api.h:27:0,
from external/libnfc-nci/src/include/NfcAdaptation.h:24,
from packages/apps/Nfc/nci/jni/NativeLlcpServiceSocket.cpp:19:
hardware/libhardware/include/hardware/nfc.h:56:1: error: expected unqualified-id before '<<' token
<<<<<<< HEAD
^
hardware/libhardware/include/hardware/nfc.h:94:3: error: 'nfc_nci_module_t' does not name a type
} nfc_nci_module_t;
^
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/NativeLlcpServiceSocket.o] Error 1
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( iS>iBestScore ){
^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
int iS;
^
#### make failed to build some targets (03:21 (mm:ss)) ####
never mind i some how got it to work and i built aosp and flashed it and it BOOTS !!.
have you concidered PMming Pabx or Krabappel2548
these two xda users may know where i do not
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Der-WU said:
@Farooq95
Any news about the error?
I got the same.
Greatz WuChEn
Click to expand...
Click to collapse
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Doesn't work for me
Farooq95 said:
try in the terminal
Code:
git commit -a
if it doent work then
Code:
repo forall -vc "git reset --hard"
Click to expand...
Click to collapse
Hi
I am stuck at the same point. Didn't get it working even after running repo forall -vc....
Please help

Sony - Xperia - SGP611 - Custom Rom build error

Hi there all,
I have been trying for about a week to get a custom android 5 built for a client for their Xperia Z3 tablet i have followed all the instructions on the Sony website and am running Ubuntu 16, after getting the repositories and required sony Vendor files i finally get to the make -j4 command, this starts to run until it hits an error saying that there is no vendor file for scorpion_windy and then breaks the make process, my question is can i download this resource separately, and also if not how can i choose what files the make command uses can i not just skip the scorpion_windy file?
I am a complete noob and any assistance in this regard would be much appreciated!
Thanks in advance
The info on this thread is what I used http://forum.xda-developers.com/z3-...torial-stock-android-marshmallow-6-0-t3409486 It worked fine on LinuxMint KDE.
SGP611 Build errors
Hi There,
I appreciate the input, but i am attempting to compile the aosp archive, once i complete the setup and finally get to make -j4 the process runs along until it gives me an error regarding the file healthd and the specific error of battery monitor error, i have tried to do this in kit kat, jellybean and marshmallow now have all the sony device files followed the instructions here
developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-marshmallow-for-unlocked-xperia-devices/
But no dice im pretty confused and frustrated at this point any thoughts would be very much appreciated
Can you post a copy of the error from the terminal console?
iancornelius said:
Can you post a copy of the error from the terminal console?
Click to expand...
Click to collapse
Hi There,
Thank you for your reply here is the error im getting
...
including ./vendor/sony/yukon-seagull/proprietary/Android.mk ...
including ./vendor/sony/yukon-tianchi/proprietary/Android.mk ...
No private recovery resources for TARGET_DEVICE scorpion_windy
make: *** No rule to make target 'external/openssl/flavor.mk'. Stop.
#### make failed to build some targets (01:02 (mm:ss)) ####
very frustrating when you learning
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Monkybomb said:
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Click to expand...
Click to collapse
I've recently built Nougat for my device and came across no errors and followed the guide to the single letter. Have you done everything it has asked to? Most importantly the first part regarding openjdk-8 and the other libraries to be installed.

How to build stock Android TV rom for S805, S812 .... ?

Hi there,
Recently, I was curious to know and learn how to build Android from source code.
I have AceMax M8S+ and I want to install stock Android TV os in it.
I have done the research and found a few repositories that have Amlogic build tools and etc.
I downloaded the manifest, update to the proper revisions and old packages and still got an error after 1 hour of building.
Code:
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:39: error: Error: No resource found that matches the given name (at 'theme' with value '@style/DeskClock').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:179: error: Error: No resource found that matches the given name (at 'theme' with value '@style/ScreensaverSettingsActivityTheme').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:194: error: Error: No resource found that matches the given name (at 'theme' with value '@style/TimerAlertFullScreenTheme').
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/t1000/android'
#### make failed to build some targets (01:47:50 (hh:mm:ss)) ####
Here are the sources that I found
amlogic_android_manifest -> github/firmanjml
android_device_amlogic -> github/Android-Amlogic
github.com/khadas

Categories

Resources