Android Studio UI Issue - IDEs, Libraries, & Programming Tools

Hi all,
I am having following issue while building my android app... Please help how to solve it
Error:Execution failed for task ':UiTestrocessDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/opt/android-studio/sdk/build-tools/android-4.4.2/aapt package -f --no-crunch -I /opt/android-studio/sdk/platforms/android-19/android.jar -M /root/AndroidStudioProjects/UITest/UiTest/build/manifests/debug/AndroidManifest.xml -S /root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug -A /root/AndroidStudioProjects/UITest/UiTest/build/assets/debug -m -J /root/AndroidStudioProjects/UITest/UiTest/build/source/r/debug -F /root/AndroidStudioProjects/UITest/UiTest/build/libs/UiTest-debug.ap_ --debug-mode --custom-package np.info.niroj.uitest.uitest
Error Code:
1
Output:
W/ResourceType( 2822): ResXMLTree_node header size (nil) is too small.
W/ResourceType( 2822): ResXMLTree_node header size (nil) is too small.
/root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug/menu/global.xml:3: error: Error parsing XML: unbound prefix
/root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug/menu/main.xml:5: error: No resource identifier found for attribute 'showAsAction' in package 'np.info.niroj.uitest.uitest'
/root/AndroidStudioProjects/UITest/UiTest/build/res/all/debug/menu/main.xml:8: error: No resource identifier found for attribute 'showAsAction' in package 'np.info.niroj.uitest.uitest'
Thank you

Related

compile error - CarHomeGoogle

Hi, when i decompile and then compile CarHomeGoogle 2.2.1 without any changes i get error
Code:
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\button_ui_mode_night.xml:2: error: No resource identifier found for attribute 'entries' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout\carhome.xml:5: error: No resource identifier found for attribute 'defaultScreen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land\delete_zone.xml:5: error: No resource identifier found for attribute 'direction' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port\delete_zone.xml:5: error: No resource identifier found for attribute 'direction' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-land-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-hdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellWidth' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'cellHeight' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisStartPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisEndPadding' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'shortAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\layout-port-mdpi\workspace_screen.xml:2: error: No resource identifier found for attribute 'longAxisCells' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:4: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:5: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:6: error: No resource identifier found for attribute 'hintToken' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:7: error: No resource identifier found for attribute 'uri' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:8: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:9: error: No resource identifier found for attribute 'removable' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:10: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'className' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'packageName' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:11: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'action' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:12: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'className' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'screen' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'position' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'icon' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'title' in package 'com.android.carhome'
I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res\xml\default_carhome.xml:13: error: No resource identifier found for attribute 'removable' in package 'com.android.carhome'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, E:\Users\sami\AppData\Local\Temp\APKTOOL8020954777841076030.tmp, -I, C:\Users\sami\apktool\framework\1.apk, -S, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res, -M, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, E:\Users\sami\AppData\Local\Temp\APKTOOL8020954777841076030.tmp, -I, C:\Users\sami\apktool\framework\1.apk, -S, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\res, -M, I:\HTC Desire\Rom edit\apk_manager_4.9\other\..\projects\CarHomeGoogle.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
anyone can help me fix that please?
Anyon? please...

Trying to build the stock kernel from source [SOLVED]

edit: The stock kernel can be built following this thread.
I'm trying to build the stock kernel from source (the one from huaweidevice). I'm running Ubuntu 10.10 64-bit.
I've gotten this far:
- I've extracted config from phone /proc/config.gz and copied it to kernel/.config
- I went through this guide: source.android.com source initializing.html
- I created some symbolic links to get rid of file not found errors when compiling:
kernel-2.6.32-U8800-Froyo/kernel/net/netfilter$ ln -s xt_connmark.c xt_CONNMARK.c
kernel-2.6.32-U8800-Froyo/kernel/net/netfilter$ ln -s xt_HL.c xt_hl.c
kernel-2.6.32-U8800-Froyo/kernel/net/netfilter$ ln -s xt_MARK.c xt_mark.c
kernel-2.6.32-U8800-Froyo/kernel/net/ipv4/netfilter$ ln -s ipt_ECN.c ipt_ecn.c
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter$ ln -s xt_mark.h xt_MARK.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter_ipv4$ ln -s ipt_ecn.h ipt_ECN.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter$ ln -s xt_DSCP.h xt_dscp.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter_ipv4$ ln -s ipt_ttl.h ipt_TTL.h
kernel-2.6.32-U8800-Froyo/kernel/include/linux/netfilter_ipv6$ ln -s ip6t_hl.h ip6t_HL.h
Now for the cross compilation I've tried 3 different toolchains:
- The ones from developer.android.com sdk ndk index.html
- and codesourcery.com sgpp lite arm portal package8734/public/arm-none-eabi/arm-2011.03-42-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
then I've tried compiling with:
make -j8 ARCH=arm CROSS_COMPILE=.../android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
and
make -j8 ARCH=arm CROSS_COMPILE=.../android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/arm-eabi-
and
make -j8 ARCH=arm CROSS_COMPILE=.../arm-2011.03/bin/arm-none-eabi-
they all give me output similar to this (this is with the 4.4.0 toolchain):
Code:
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC net/netfilter/xt_MARK.o
CC net/ipv4/netfilter/ipt_ecn.o
CC net/netfilter/xt_NFQUEUE.o
CC net/ipv4/netfilter/ipt_NETMAP.o
CC net/netfilter/xt_comment.o
CC net/netfilter/xt_connlimit.o
net/netfilter/xt_MARK.c: In function 'mark_tg':
net/netfilter/xt_MARK.c:32: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c:32: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c: At top level:
net/netfilter/xt_MARK.c:41: error: invalid application of 'sizeof' to incomplete type 'struct xt_mark_tginfo2'
make[2]: *** [net/netfilter/xt_MARK.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC net/ipv4/netfilter/ipt_REDIRECT.o
CC net/ipv4/netfilter/ipt_REJECT.o
cc1: warnings being treated as errors
net/ipv4/netfilter/ipt_ecn.c:29: error: 'struct ipt_ECN_info' declared inside parameter list
net/ipv4/netfilter/ipt_ecn.c:29: error: its scope is only this definition or declaration, which is probably not what you want
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_ip':
net/ipv4/netfilter/ipt_ecn.c:33: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:33: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ecn.c:33: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ecn.c:33: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:40: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c: At top level:
net/ipv4/netfilter/ipt_ecn.c:48: error: 'struct ipt_ECN_info' declared inside parameter list
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_tcp':
net/ipv4/netfilter/ipt_ecn.c:58: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:58: error: 'IPT_ECN_OP_SET_ECE' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:59: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:60: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:60: error: 'IPT_ECN_OP_SET_CWR' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:61: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:69: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:70: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:71: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:72: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg':
net/ipv4/netfilter/ipt_ecn.c:84: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:84: error: 'IPT_ECN_OP_SET_IP' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:85: error: passing argument 2 of 'set_ect_ip' from incompatible pointer type
net/ipv4/netfilter/ipt_ecn.c:29: note: expected 'const struct ipt_ECN_info *' but argument is of type 'const struct ipt_ECN_info *'
net/ipv4/netfilter/ipt_ecn.c:88: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:88: error: 'IPT_ECN_OP_SET_ECE' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:88: error: 'IPT_ECN_OP_SET_CWR' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:90: error: passing argument 2 of 'set_ect_tcp' from incompatible pointer type
net/ipv4/netfilter/ipt_ecn.c:48: note: expected 'const struct ipt_ECN_info *' but argument is of type 'const struct ipt_ECN_info *'
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg_check':
net/ipv4/netfilter/ipt_ecn.c:101: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:101: error: 'IPT_ECN_OP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:103: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:106: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:106: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:108: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:111: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_ecn.c:111: error: 'IPT_ECN_OP_SET_ECE' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:111: error: 'IPT_ECN_OP_SET_CWR' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c: At top level:
net/ipv4/netfilter/ipt_ecn.c:124: error: invalid application of 'sizeof' to incomplete type 'struct ipt_ECN_info'
make[3]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[1]: *** [net/netfilter] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
sorry for the messed up links, I'm not allowed to post links (yet).
Any ideas how to get forward?
The reason I'm doing this is that I want to fix the bug that the internal mic is disabled when a stereo headphone / or a 3.5mm jack - 2xrca cable is plugged in. I think I can fix it from kernel-2.6.32-U8800-Froyo/kernel/arch/arm/mach-msm/rpc_server_handset.c, but first I have to get my build environment working
copy missing files instead of link
xt_MARK.c and xt_mark.c are not the same, at least in my source
try copy the missing file from android source
http://android.git.kernel.org/?p=kernel/msm.git;a=tree
wmi543 said:
xt_MARK.c and xt_mark.c are not the same, at least in my source
try copy the missing file from android source
Click to expand...
Click to collapse
It worked I copied all the files from the git instead of ln -s.
"Kernel: arch/arm/boot/zImage is ready"
Thanks for the quick reply.
Then I had to remove comment out CONFIG_FB_MSM_MDDI_NT35582_WVGA=y line from .config and answer no to two questions when running make.
I used the 4.4.0 toolchain
Now I have the zImage but don't know how it'll work because the CONFIG_FB_MSM_MDDI_NT35582_WVGA probably has something to do with the display type.
BTW I've taken a backup with genokolar's recovery img. When I try this new kernel and if I can't boot, I should be able to get it to boot again by doing a restore from the earlier backup?
Now I'll start looking into packing the kernel to an .img (android-dls.com wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images#Structure_of_boot_and_recovery_images)..
OK. I copied the boot.img from the phone in bootloader mode, unpacked it with unpack-bootimg.pl. Then I bsdiffed (binary diff) the resulting boot.img-kernel.gz with the Image file I built, the patch file is only 389K so looks like they are quite similar. The only differences may be because of the display thing I changed in the Makefile.
Might try tomorrow to replace the unpacked kernel with the Image file and see if it works. What is the worst case scenario? I should always be able to restore from the old backup if it doesn't boot?
Maybe I'll also try to get the display thing to build right before trying it on the phone
edit: I read somewhere the .gz extension in the unpacked kernel file is a bug with the unpacking script, so "boot.img-kernel.gz" is actually the unpacked kernel file (so it should be the same as compiled Image) ?
Looks like the unpack-bootimg.pl and repack-bootimg.pl are not working right for the U8800 boot.img. I just tried to unpack the original boot.img and repack it, I got a blue screen when trying to boot. I could restore the original just by going to bootloader mode and copying back the original.
Any ideas how to unpack and repack the boot.img of the U8800?
You can repack the boot/recovery images with the following:
Code:
./mkbootfs RAMDISK DIRECTORY | ./minigzip > ramdisk-boot.img
./mkbootimg --kernel KERNEL --ramdisk ramdisk-boot.img --base 0x00200000 --pagesize 4096 --cmdline 'console=ttyDCC0 androidboot.hardware=huawei' -o boot.img
I just modified the repack perl script accordingly and added lines so that it will mount cust_backup and transfer the image across for me. Saves heaps of time.
stockwell said:
You can repack the boot/recovery images with the following:
Code:
./mkbootfs RAMDISK DIRECTORY | ./minigzip > ramdisk-boot.img
./mkbootimg --kernel KERNEL --ramdisk ramdisk-boot.img --base 0x00200000 --pagesize 4096 --cmdline 'console=ttyDCC0 androidboot.hardware=huawei' -o boot.img
I just modified the repack perl script accordingly and added lines so that it will mount cust_backup and transfer the image across for me. Saves heaps of time.
Click to expand...
Click to collapse
I used the unpack script from http://forum.xda-developers.com/showthread.php?t=891333 then modified the line "#$bootimg = substr($bootimg,2048);" to "$bootimg = substr($bootimg,4096);". There's still a difference of 215 bytes with the repacked img, but it works.
Now I can test the kernel I built myself. Thank you for the help.
edit: Looks like the built kernel doesn't work, now I can start tackling that
CONFIG_FB_MSM_MDDI_NT35582_WVGA=y
if you see only blue screen when you boot your own kernel, refer to my experience, edit .config, change 2 lines as below instead of comment out CONFIG_FB_MSM_MDDI_NT35582_WVGA=y should fix it
CONFIG_FB_MSM_MDDI_AUTO_DETECT=y
CONFIG_FB_MSM_TRY_MDDI_CATCH_LCDC_PRISM=y
BTW, there is a tool "abootimg" which is quite handy for packing the kernel
http://gitorious.org/ac100/abootimg
wmi543 said:
if you see only blue screen when you boot your own kernel, refer to my experience, edit .config, change 2 lines as below instead of comment out CONFIG_FB_MSM_MDDI_NT35582_WVGA=y should fix it
CONFIG_FB_MSM_MDDI_AUTO_DETECT=y
CONFIG_FB_MSM_TRY_MDDI_CATCH_LCDC_PRISM=y
BTW, there is a tool "abootimg" which is quite handy for packing the kernel
http://gitorious.org/ac100/abootimg
Click to expand...
Click to collapse
Works! great! Thanks for the help. Hopefully soon I can release my fixed kernel
Sorry, I'm new to Android. What advantages are there if you get the stock kernel or whatever?
"Stock" means the kernel that comes with the phone when you buy it. I just wanted to build it so I could modify it. I created a modified kernel that allows you to use the internal mic with headphones or for example when you connect the phone to your car stereo. The modified kernel is in the other thread.
Sent from my u8800 using XDA App
So with custom kernel you can achieve more functionality just like normal linux? Good. Would be awesome.

[Q] No Resource Identifier Found errors during CM7 build

Hello, I'm trying to build CM7 from source, and I managed to get through most of it until it starts to compile the Apps in "packages/apps."
The errors I'm getting are:
Code:
target R.java/Manifest.java: ADWLauncher (out/target/common/obj/APPS/ADWLauncher_intermediates/src/R.stamp)
Install: out/host/linux-x86/bin/dx
target R.java/Manifest.java: AccountAndSyncSettings (out/target/common/obj/APPS/AccountAndSyncSettings_intermediates/src/R.stamp)
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'minHeight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'paddingLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: No resource identifier found for attribute 'paddingRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:25: error: No resource identifier found for attribute 'layout_gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_marginTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:32: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'singleLine' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: No resource identifier found for attribute 'textAppearance' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_below' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'layout_alignLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'textAppearance' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: No resource identifier found for attribute 'maxLines' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:56: error: No resource identifier found for attribute 'layout_gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: Error: No resource found that matches the given name (at 'minHeight' with value '?android:attr/listPreferredItemHeight').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:17: error: Error: No resource found that matches the given name (at 'paddingRight' with value '?android:attr/scrollbarSize').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/title').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:40: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceMedium').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/summary').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'layout_below' with value '@android:id/title').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'layout_alignLeft' with value '@android:id/title').
packages/apps/AccountsAndSyncSettings/res/layout/account_preference.xml:46: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceSmall').
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:20: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:20: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'drawSelectorOnTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: No resource identifier found for attribute 'scrollbarAlwaysDrawVerticalTrack' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:37: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: No resource identifier found for attribute 'background' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:48: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:48: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:48: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'layout_marginTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:53: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:60: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:60: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:60: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'background' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: No resource identifier found for attribute 'visibility' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_margin' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'layout_alignParentRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'drawableRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'drawablePadding' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:72: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:29: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:42: error: Error: No resource found that matches the given name (at 'background' with value '@android:drawable/bottom_bar').
packages/apps/AccountsAndSyncSettings/res/layout/account_sync_screen.xml:66: error: Error: No resource found that matches the given name (at 'background' with value '@android:drawable/bottom_bar').
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:20: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:20: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'drawSelectorOnTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: No resource identifier found for attribute 'scrollbarAlwaysDrawVerticalTrack' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/add_account_screen.xml:25: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:20: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:20: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'drawSelectorOnTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: No resource identifier found for attribute 'scrollbarAlwaysDrawVerticalTrack' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:33: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'orientation' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: No resource identifier found for attribute 'background' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:44: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:44: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:44: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'layout_marginTop' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:49: error: No resource identifier found for attribute 'text' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:56: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:56: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:56: error: No resource identifier found for attribute 'layout_weight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:25: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/list').
packages/apps/AccountsAndSyncSettings/res/layout/manage_accounts_screen.xml:38: error: Error: No resource found that matches the given name (at 'background' with value '@android:drawable/bottom_bar').
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:19: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:19: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:19: error: No resource identifier found for attribute 'gravity' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'src' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:24: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'src' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:32: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'src' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_marginLeft' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_marginBottom' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:40: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'id' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_width' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_height' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_marginRight' in package 'android'
packages/apps/AccountsAndSyncSettings/res/layout/preference_widget_sync_toggle.xml:48: error: No resource identifier found for attribute 'layout_gravity' in package 'android'
...........
Sorry about the long log, just to get my point across. So where am I going wrong? Everything went perfectly fine until this step. I don't even understand what the first error means:
Code:
Adding multiple application package resources; only one is allowed.
Use -x to create extended resources.
Is this causing the rest of the errors? I've tried Googling the hell out of it, but I'm still stuck.
What is going on?

Help on Kernel 2.6.35.10 Compilation Error

I encounter the following error when compiling the kernel 2.6.35.10.
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_request_end':
drivers/mmc/host/msm_sdcc.c:208: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_dma_complete_tlet':
drivers/mmc/host/msm_sdcc.c:350: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_start_command_deferred':
drivers/mmc/host/msm_sdcc.c:560: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:561: error: 'MSM_MMC_REQ_TIMEOUT' undeclared (first use in this function)
drivers/mmc/host/msm_sdcc.c:561: error: (Each undeclared identifier is reported only once
drivers/mmc/host/msm_sdcc.c:561: error: for each function it appears in.)
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_probe':
drivers/mmc/host/msm_sdcc.c:1897: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:1948: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_remove':
drivers/mmc/host/msm_sdcc.c:2010: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
make[3]: *** [drivers/mmc/host/msm_sdcc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
My compliation steps are as follows
1. download kernel 2.6.35.10 is from microslav_mm's git webpage:
$ cd /home/username/android/
$ git clone git://github.com/mmxtrem/android_kernel_swift.git
$ cd cm-kernel after a little rename
2. pull out the /proc/config.gz from my GT540 phone (SDSL 2.1) for kernel configuration.
$ adb pull /proc/config.gz .
$ cat config.gz | gunzip > .config
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
3. configure the cross-compiler and trigger the compilation
$ export CCOMPILER=/home/username/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
How can I fix this compilation error? Any suggestions will be appreciated.
Shawn
csqjxiao said:
I encounter the following error when compiling the kernel 2.6.35.10.
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_request_end':
drivers/mmc/host/msm_sdcc.c:208: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_dma_complete_tlet':
drivers/mmc/host/msm_sdcc.c:350: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_start_command_deferred':
drivers/mmc/host/msm_sdcc.c:560: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:561: error: 'MSM_MMC_REQ_TIMEOUT' undeclared (first use in this function)
drivers/mmc/host/msm_sdcc.c:561: error: (Each undeclared identifier is reported only once
drivers/mmc/host/msm_sdcc.c:561: error: for each function it appears in.)
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_probe':
drivers/mmc/host/msm_sdcc.c:1897: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c:1948: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
drivers/mmc/host/msm_sdcc.c: In function 'msmsdcc_remove':
drivers/mmc/host/msm_sdcc.c:2010: error: 'struct msmsdcc_host' has no member named 'req_tout_timer'
make[3]: *** [drivers/mmc/host/msm_sdcc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
My compliation steps are as follows
1. download kernel 2.6.35.10 is from microslav_mm's git webpage:
$ cd /home/username/android/
$ git clone git://github.com/mmxtrem/android_kernel_swift.git
$ cd cm-kernel after a little rename
2. pull out the /proc/config.gz from my GT540 phone (SDSL 2.1) for kernel configuration.
$ adb pull /proc/config.gz .
$ cat config.gz | gunzip > .config
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
3. configure the cross-compiler and trigger the compilation
$ export CCOMPILER=/home/username/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
How can I fix this compilation error? Any suggestions will be appreciated.
Shawn
Click to expand...
Click to collapse
Same here. Any ideas?
Can you guys put the errors in a code tag? not so messy
These errors comes with arm-eabi-linaro-4.6.2
Compiling with arm-eabi-4.4.3 also print this error but compilation of kernel continues to the end. But. Where can I find kernel image? I suppose it should be in arch/arm/boot/ but it isn't. Or where I have to looking for the Image file?
Code:
[email protected] ~/android/kernel/$ ls -l arch/arm/boot/
razem 16
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 bootp
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 compressed
-rw-r--r-- 1 smogf smogf 1274 04-01 23:27 install.sh
-rw-r--r-- 1 smogf smogf 3118 04-01 23:27 Makefile
[email protected] ~/android/kernel/mmxtrem-android_kernel_swift-6010f54
I've tried once again with make zImage and compilation fails with the same error as before. I have no idea. Any help will be useful.
smogf said:
These errors comes with arm-eabi-linaro-4.6.2
Compiling with arm-eabi-4.4.3 also print this error but compilation of kernel continues to the end. But. Where can I find kernel image? I suppose it should be in arch/arm/boot/ but it isn't. Or where I have to looking for the Image file?
Code:
[email protected] ~/android/kernel/$ ls -l arch/arm/boot/
razem 16
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 bootp
drwxr-xr-x 2 smogf smogf 4096 04-01 23:27 compressed
-rw-r--r-- 1 smogf smogf 1274 04-01 23:27 install.sh
-rw-r--r-- 1 smogf smogf 3118 04-01 23:27 Makefile
[email protected] ~/android/kernel/mmxtrem-android_kernel_swift-6010f54
I've tried once again with make zImage and compilation fails with the same error as before. I have no idea. Any help will be useful.
Click to expand...
Click to collapse
It seems bootp, Compressed, install.sh and Makefile is in the folder your looking at...
Otherwise I think the image name starts with initrd
Sent using the LG GT540 Polishblood PreRC CM9 4.0 using XDA Premium

Trying to compile Tesla for Huawei Nova

Hi guys!
I'm trying to unofficially compile tesla ROM for our device. I already solved some compile issues, but now I found an issue that I can't find any where when googleing for it.
Here is my whole build output so far! It stopped at 94% of the build process. The error is at the end.
Long story short, this is what I'm getting:
Code:
[ 94% 51226/54069] build /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o
FAILED: /bin/bash -c "(echo \"target C++:\"\" Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp\" ) && (mkdir -p /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/ ) && (PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/huawei/hwcan/include -I frameworks/av/include -I frameworks/av/media/libstagefright -I frameworks/av/media/libstagefright/include -I ./frameworks/native/include/media/openmax -I external/gtest/include -I frameworks/av/media/libstagefright/tests -I /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates -I /home/vinnom/tesla/out/target/product/hwcan/gen/EXECUTABLES/Utils_test_intermediates -I libnativehelper/include/nativehelper \$(cat /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/vinnom/tesla/out/target/product/hwcan/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g0 -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -Werror -Wall -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -fpie -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d -o /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o frameworks/av/media/libstagefright/tests/Utils_test.cpp ) && (cp /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d >> /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; rm -f /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d )"
target C++: Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp
In file included from frameworks/av/media/libstagefright/tests/Utils_test.cpp:29:
In file included from frameworks/av/include/media/stagefright/Utils.h:27:
frameworks/av/include/media/stagefright/MediaDefs.h:120:22: error: unused function 'bitsToAudioEncoding' [-Werror,-Wunused-function]
static AudioEncoding bitsToAudioEncoding(int32_t bits) {
^
frameworks/av/include/media/stagefright/MediaDefs.h:134:16: error: unused function 'audioEncodingToBits' [-Werror,-Wunused-function]
static int32_t audioEncodingToBits(AudioEncoding encoding) {
^
2 errors generated.
UPDATE 2018-06-10
I just had to switch from static to inline.
Then, as I described in this post, I had to change a xml file. Those java errors in the post I mentioned doesn't occur anymore, but I have another one.
The java.lang can't be found in classpath or bootclasspath. I'm trying to export some paths of android.jar to CLASSPATH, until now didn't seem to work. For now, I'm lost.
Ok,
following #Henkate's advice, I changed kernel source, as I was using the wrong one. I tried to build again, same error.
Then, knowing it wouldn't be a good fix, I edited the file with error, commenting out those 2 functions which was being caught in the non-used thing. It didn't solved the issue and produced another which is below:
Code:
FAILED: /bin/bash -c "(echo \"target thumb C++:\"\" libstagefright_32 <= frameworks/av/media/libstagefright/FLACExtractor.cpp\" ) && (mkdir -p /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/ ) && (PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/huawei/hwcan/include -I ./frameworks/av/include/media/ -I ./frameworks/av/media/libavextensions -I ./frameworks/av/media/libstagefright/mpeg2ts -I ./frameworks/av/include/media/stagefright/timedtext -I ./frameworks/native/include/media/hardware -I ./frameworks/native/include/media/openmax -I ./external/flac/include -I ./external/tremolo -I ./external/libvpx/libwebm -I ./system/netd/include -I system/media/audio_utils/include -I hardware/qcom/media-caf/msm8937/mm-core/inc -I ./external/stagefright-plugins/include -I frameworks/av/media/libstagefright -I /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates -I /home/vinnom/tesla/out/target/product/hwcan/gen/SHARED_LIBRARIES/libstagefright_intermediates -I libnativehelper/include/nativehelper \$(cat /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/vinnom/tesla/out/target/product/hwcan/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -mfpu=neon-vfpv4 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g0 -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall -DENABLE_STAGEFRIGHT_EXPERIMENTS -DQTI_FLAC_DECODER -fPIC -D_USING_LIBCXX -fsanitize=unsigned-integer-overflow,signed-integer-overflow -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d -o /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.o frameworks/av/media/libstagefright/FLACExtractor.cpp ) && (cp /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d >> /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.P; rm -f /home/vinnom/tesla/out/target/product/hwcan/obj_arm/SHARED_LIBRARIES/libstagefright_intermediates/FLACExtractor.d )"
target thumb C++: libstagefright_32 <= frameworks/av/media/libstagefright/FLACExtractor.cpp
frameworks/av/media/libstagefright/FLACExtractor.cpp:542:55: error: use of undeclared identifier 'bitsToAudioEncoding'
mTrackMetadata->setInt32(kKeyPcmEncoding, bitsToAudioEncoding(getBitsPerSample()));
^
1 error generated.
It was building until 94% and now it just builds until 48%. I guess was just lazy to try that. The fix is yet to be found.
PS: I still can't tag #Henkate =/ =/ =/ lol
Vinnom said:
Hi guys!
I'm trying to unofficially compile tesla ROM for our device. I already solved some compile issues, but now I found an issue that I can't find any where when googleing for it.
Here is my whole build output so far! It stopped at 94% of the build process. The error is at the end.
Long story short, this is what I'm getting:
Code:
[ 94% 51226/54069] build /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o
FAILED: /bin/bash -c "(echo \"target C++:\"\" Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp\" ) && (mkdir -p /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/ ) && (PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/huawei/hwcan/include -I frameworks/av/include -I frameworks/av/media/libstagefright -I frameworks/av/media/libstagefright/include -I ./frameworks/native/include/media/openmax -I external/gtest/include -I frameworks/av/media/libstagefright/tests -I /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates -I /home/vinnom/tesla/out/target/product/hwcan/gen/EXECUTABLES/Utils_test_intermediates -I libnativehelper/include/nativehelper \$(cat /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/vinnom/tesla/out/target/product/hwcan/obj/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libm/include -isystem bionic/libm/include/arm64 -c -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -O2 -g0 -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -fno-rtti -Werror -Wall -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -fpie -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d -o /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.o frameworks/av/media/libstagefright/tests/Utils_test.cpp ) && (cp /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d >> /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.P; rm -f /home/vinnom/tesla/out/target/product/hwcan/obj/EXECUTABLES/Utils_test_intermediates/Utils_test.d )"
target C++: Utils_test <= frameworks/av/media/libstagefright/tests/Utils_test.cpp
In file included from frameworks/av/media/libstagefright/tests/Utils_test.cpp:29:
In file included from frameworks/av/include/media/stagefright/Utils.h:27:
frameworks/av/include/media/stagefright/MediaDefs.h:120:22: error: unused function 'bitsToAudioEncoding' [-Werror,-Wunused-function]
static AudioEncoding bitsToAudioEncoding(int32_t bits) {
^
frameworks/av/include/media/stagefright/MediaDefs.h:134:16: error: unused function 'audioEncodingToBits' [-Werror,-Wunused-function]
static int32_t audioEncodingToBits(AudioEncoding encoding) {
^
2 errors generated.
Click to expand...
Click to collapse
In the frameworks/av/media/libstagefright/tests/Android.mk file, you'll find "-werror"....delete it and try building again.
we dropped Nougat long ago
but looks like you need something in frameworks av
edit: look here, seems related https://github.com/nos-caf/android_frameworks_av/commit/b0f756564be8f900edc841270e2ae36aa7d110ed
I know, but as I'm starting in this world of building roms, I'm trying for a tree already done
If I successfully build it, then I'll to get a working tree for Oreo ^^
I'll try the advice from @quake73 and update the topic
HUAWEI NOVA user since 12/2016 =)
---Current ROM: AospExtended
---Kernel:stock
MOTO X user since 03/2015 =)
---Current ROM: Tesla N
---Kernel: Tesla N stock
NEXUS 4 user 2013-2015 =/
Kernel Adiutor Interactive profile: INTERACTIVE
Kernel Adiutor Intelliactive profile: INTELLIACTIVE
Kernel Adiutor Intellimm profile: INTELLIMM
Kernel Adiutor Smartmax profile: SMARTMAX
martinusbe said:
we dropped Nougat long ago
but looks like you need something in frameworks av
edit: look here, seems related https://github.com/nos-caf/android_frameworks_av/commit/b0f756564be8f900edc841270e2ae36aa7d110ed
Click to expand...
Click to collapse
I just looked, files differ a bit but nothing worrysome =)
quake73 said:
In the frameworks/av/media/libstagefright/tests/Android.mk file, you'll find "-werror"....delete it and try building again.
Click to expand...
Click to collapse
I removed that tag and it worked!
After that, I have found another error for which I found the fix. The error occurred when systemui was compiling.
frameworks/base/packages/SystemUI/res/layout/status_bar.xml had the problem with namespace and the fix was found here.
Solving Errors
(...)frameworks/base/packages/SystemUI/res/layout/battery_bar_rot0.xml:28: error: No resource identifier found for attribute 'viewLocation' in package 'com.android.systemui' and frameworks/base/packages/SystemUI/res/layout/battery_bar_rot0.xml:35: error: No resource identifier found for attribute 'viewLocation' in package 'com.android.systemui'. It may related to a bug in Android with custom widget namespace detection (?). In layout files, change the namespace declaration xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" to xmlns:systemui="http://schemas.android.com/apk/res-auto" seems to work. There're some more files have the same problem and can be similarily modified to get them fixed and built.
Click to expand...
Click to collapse
The error was described in the log outlining viewLocation attribute.
Another issue fixed.
Now I'm facing something about some java files. It seems I'm getting issues with some types that can't be resolved to a type. The output with the errors is below.
Code:
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java:474: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java:499: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java:510: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:216: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:217: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:311: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java:312: The method getNavigationBarView() from the type PhoneStatusBar refers to the missing type Navigator
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:148: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:149: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:150: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:172: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:173: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:548: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:549: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:568: Navigator cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:568: Navigator cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:570: The method onVerticalChanged(boolean) of type new OnVerticalChangedListener(){} must override or implement a supertype method
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:866: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:869: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:872: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1225: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1226: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1226: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1228: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1228: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1229: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1230: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1230: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1810: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1811: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1819: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1824: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:1826: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2022: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2026: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2061: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2062: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2112: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2113: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2114: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2114: OnVerticalChangedListener cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2120: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2121: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2125: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2129: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2129: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2133: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2137: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2138: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2166: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2172: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2417: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:2418: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3188: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3188: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3832: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3833: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3854: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3923: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3924: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3993: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:3995: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4014: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4015: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4130: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4131: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4290: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4295: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4299: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4302: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4650: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4656: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4657: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4957: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4958: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4959: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4961: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4961: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:4962: DUPackageMonitor cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5043: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5044: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5101: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5102: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5247: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5248: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5249: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5252: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5277: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5278: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5596: Navigator cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java:5597: NavigationController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/tiles/NavigationBarTile.java:36: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/qs/tiles/NavigationBarTile.java:131: DUActionUtils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/LockIcon.java:36: The hierarchy of the type LockIcon is inconsistent
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:110: The import com.android.internal.utils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:123: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:126: The import com.android.systemui.slimrecent cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:233: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:412: DUActionUtils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:436: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:437: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:446: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:446: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:451: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:727: DUActionUtils cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1681: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1682: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1692: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1694: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1705: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1706: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1725: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/BaseStatusBar.java:1726: RecentController cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:34: The import android.support.v7.graphics.Palette cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:51: Palette cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:172: Palette cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/KeyguardAffordanceView.java:602: Palette cannot be resolved to a type
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/BarTransitions.java:38: The import com.android.systemui.navigation cannot be resolved
ERROR: /home/vinnom/tesla/frameworks/base/packages/SystemUI/tests/../src/com/android/systemui/statusbar/phone/BarTransitions.java:78: NavbarOverlayResources cannot be resolved to a type
Still googleing for solutions for this
wow .... how exciting. i hope it can be true. Oreo for Nova.
babysocola1x said:
wow .... how exciting. i hope it can be true. Oreo for Nova.
Click to expand...
Click to collapse
Well, if I manage to build nougat, then I'll try to learn and move on to oreo ^^
The whole weekend I tried to solve the error but I couldn't.
Then I thought to start a log of everything I did. Just to make sure that it would be a clean log, I cleaned my folder and repo sync everything anew.
The log is attached. Help is very welcome

Categories

Resources