[Q] Error on compiling from source - Nexus 4 Q&A, Help & Troubleshooting

Hi guys,
I'm trying to compile android 4.3 from AOSP. I've successfully compiled the roms like Rasbeanjelly or Martin_ro.
However when I'm trying to compile from source, it gives me the following errors:
packages/apps/Settings/res/values/strings.xml:4537: error: Error parsing XML: not well-formed (invalid token)
packages/apps/Settings/res/layout/intent_sender.xml:48: error: Error: No resource found that matches the given name (at 'text' with value '@string/intent_sender_data_label').
...... long list .....
packages/apps/Settings/res/xml/testing_wifi_settings.xml:29: error: Error: No resource found that matches the given name (at 'title' with value '@string/wifi_config_info').
packages/apps/Settings/res/xml/testing_wifi_settings.xml:37: error: Error: No resource found that matches the given name (at 'title' with value '@string/wifi_status_test').
make: *** [out/target/common/obj/APPS/Settings_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.​
What am I missing here? I've added the proprietary drivers from google, walked through all the steps from the devs website. Any help would be highly appreciated.
I'm on Ubuntu 13.04 btw

Related

[Windows][UTILITY][TOOL] APK Multi-Tool

I am currently working on a major update to the apk manager application as well and changing the name to APK Multi-Tool with some new added features and also to fix some issues with some code errors.
I am also changing a lot of the features as well since a lot of the code has been outdated for a while.
I have updated all the files and modified Apk manager's Scripts to fix many user reported bugs from Daneshm90 apk manager which he had written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Daneshm90 the Original Writer of APK Manager
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Features:
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Batch optimize apk (Zipalign,optipng,or both)
- Batch Ogg optimization
- Batch install apk from script (option 19)
- Batch Theme Image Transfer TOOL
- Batch Theme optipng TOOL
- Batch Theme Zipalign APK TOOL
- Compression level selector (monitor status above menu)
- Error detection. Checks if error occurred anytime u perform a task, and reports it
- Extract, Zip apk's.
- Incorporates brut.all's apktool
- Improved syntax of questions/answers
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- Optimize pngs (ignores .9.pngs)
- Pull apk from phone into modding environment.
- Push to specific location on phone
- Quick sign an apk (Batch mode supported)
- Read log (Option 24)
- Sign apks
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Zipalign apks
- Much Much More
Instructions:
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script
Requirements:
Java 1.6
Android SDK
FAQ
Resulting apk file is much smaller than original! Is there something missing?
First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.
There is no META-INF dir in resulting apk. Is this ok?
Yes. META-INF contains apk signatures mostly and after modifying apk in no longer signed, so there are no signatures in it. You have to sign resulting apk and then META-INF dir will be created.
What do you call "magic apks"?
Sometimes there are some apks which (for my current knowledge) are invalid, broken, theoretically they shouldn't exist. There may be many reasons of their existence: my lack of understanding of Android resources; some non-public, maybe future SDK tools or custom modifications of these; manual hacking of binaries, etc. Usually I can't do anything about it, but you could at least try to replace broken parts by something valid. Actually it's quite likely that they aren't even used, because if they would, then application would crash.
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
TO DO LIST
Add new feature to Randomly Generate a new Key File for signing the apk files after modifying and recompiling of the apk files this will also allow of uploading to the android market as this added feature will allow you to sign apk files that you may of compiled without signing beforehand.
Modify the Signapk script to be compatible with the Randomly Generation feature in the works
and a few other added features are in the works as I am redesigning the application and rewriting a lot of the code to fix issues as well as some of the new features have broken parts as some features have been moved and broken some command line prompts.
Installing APK Multi-Tool Itself
Run the installer and make sure it is pointed to the root of hard drive
Example
C:\APKMultiTools\
Downloads:
http://apk-multi-tool.github.io/APK-Multi-Tool/ for all downloads and updates
Please check back daily or weekly as this project is under active Development and I am releasing Alpha releases on the website for Testing and bug reports.
Latest test build http://hugefiles.net/79bvb14x2f8p
Mailing List:
Google Group Email mailing List
If you like this and wish to wish to send cash my way Donations Are Welcome
Optipng'ing is not working for me. After extraction, Optipng will be run and will do nothing because it says it cannot find the folder.
CUBENSIS said:
Optipng'ing is not working for me. After extraction, Optipng will be run and will do nothing because it says it cannot find the folder.
Click to expand...
Click to collapse
Which optiping are you using the batch theme opt or the original method
Sent from my DROID using xda premium
Option 18, batch optimize.
Sent from my Droid Incredible HD using XDA App
Have you tried using it on the apk itself instead of extracting
Sent from my DROID using xda premium
That's what I did. What i meant to say is I choose option 18, the apk gets extracted, optipng says it can't find the files/directory that was fed to it, and the apk is re-zipped w/o any .png changes. See attached screen grab.
Try placing the file in the transfered folder and running opt 16
Sent from my DROID using xda premium
Seems to be a very helpfull tool.
But GO**AMN, on the website, change the color of the titles from red to something else. Hurts my eyes reading haha.
raziel23x said:
Try placing the file in the transfered folder and running opt 16
Click to expand...
Click to collapse
i had to edit the script because it was calling for roptipng.exe. after chaging it oo optipng.exe, here's the result
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
A subdirectory or file C:\Apk_Multi-Tool\optimized already exists.
A subdirectory or file C:\Apk_Multi-Tool\untouched already exists.
Could Not Find C:\Apk_Multi-Tool\0
Click to expand...
Click to collapse
Regarding option 18, after learning a bit about batch programming and looking through the file...it seems the problem is quite simple. Optipng does not support ** for recursion, and as far as I can tell ** means nothing @ Windows command line. Therefore it will fail since the command in the batch file is
Code:
optipng -o99 "apkopt_temp_%~n1\**\*.png"
Thank you
thank you for continuing updates of this application
Lol thank I completly forgotten to update the script
Sent from my DROID using xda premium
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\JOSHDE~1\AppData\Local\Tem
p\APKTOOL8354808961139312827.tmp, -I, C:\Users\Josh Desktop\apktool\framework\1.
apk, -I, C:\Users\Josh Desktop\apktool\framework\2.apk, -S, C:\Apk_Multi-Tool\ot
her\..\projects\Mms.apk\res, -M, C:\Apk_Multi-Tool\other\..\projects\Mms.apk\And
roidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\JOSHDE~1\AppData\Local\Temp\APKTOOL8354808961139312827.tmp, -I, C:\Users\Jo
sh Desktop\apktool\framework\1.apk, -I, C:\Users\Josh Desktop\apktool\framework\
2.apk, -S, C:\Apk_Multi-Tool\other\..\projects\Mms.apk\res, -M, C:\Apk_Multi-Too
l\other\..\projects\Mms.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
The system cannot find the file specified.
Press any key to continue . . .
This is the error i get when trying to recompile Mms.apk from a sense rom, yes i am using the com.htc.resources.apk with it. Can anyone help?
Why does the Batch Theme Image Transfer TOOL option not do anything?
I enter 15, hit enter and some text blinks on the screen and thats it...?
MarylandCookie said:
Why does the Batch Theme Image Transfer TOOL option not do anything?
I enter 15, hit enter and some text blinks on the screen and thats it...?
Click to expand...
Click to collapse
Did you read the Docs included?
Thanks for the new version, it's pure awesome !!!
If anyone is interested in giving a feature request feel free to post them asi want this tool to be a all in one needed application as well as if you want. To see some features have a stand alone veriarent(sp)
Sent from my DROID using xda premium
I went to Java 1.6 and now I am getting a log file this is the current error. Anyone have any ideas?
Code:
--------------------------------------------------------------------------
|Mon 10/31/2011 -- 13:03:26.95|
--------------------------------------------------------------------------
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
Could Not Find C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedfoursquare.apk
Could Not Find C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedfoursquare.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Will\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
ERROR: 9-patch image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_background.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas).
Found at pixel #128 along top edge.
ERROR: Failure processing PNG image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_background.9.png
ERROR: 9-patch image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_cell.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas).
Found at pixel #57 along top edge.
ERROR: Failure processing PNG image C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\drawable\venues_widget_cell.9.png
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_activity.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_activity.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dark_grey_toolbar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_header.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_invite.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_button_invite').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:10: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_source_phone').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:11: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_source_facebook').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:12: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_source_twitter').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_list_item_request.xml:16: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_button_request').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_option_addressbook_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg_top_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:12: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg_arrow_noside').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_option.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_search_right_border').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_search_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_search_activity.xml:6: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:6: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_share_option_facebook').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/add_friends_option_search_right_border').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/add_friends_option_bg_bottom').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_friends_share_facebook_activity.xml:18: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dark_grey_toolbar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_tip_activity.xml:14: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/addphoto_checkin').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:14: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@drawable/arrow_light_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:16: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@drawable/arrow_light_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:18: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity.xml:23: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/login_button_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity_address.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_activity_address.xml:22: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/login_button_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_activity.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/header_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_activity.xml:6: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_header_button_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_activity.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/explore_icon_mixer').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\add_venue_map_overlay_title.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/map_callout_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_details_activity.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_details_activity.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/badge_detail_loading').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_details_activity.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/badge_details_activity_divider').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_grid_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_set_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_sets_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_sets_activity.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\badge_sets_list_dialog.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dlg_transparent_black_rounded').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/category_none').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_list_item.xml:6: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/arrow_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_page.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/border_round_rect_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\category_picker_page.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/category_none').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_activity.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/new_places_found_btn_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_activity.xml:10: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/new_places_found_refresh').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/call_empty_comment').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_detail_toolbar_btn_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:14: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/btn_add_photo').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:17: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_detail_toolbar_btn_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_activity.xml:18: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/btn_add_comment').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_list_item.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_details_list_item.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photocomment_checkin_button_single_selector').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photos_inactive').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_list_item.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/comments_inactive').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:11: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/addphoto_checkin').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:14: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_section_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:16: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/yes_toggle_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:17: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/no_toggle_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:19: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_section_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:21: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/yes_toggle_on').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:22: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/no_toggle_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_section_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:26: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/modal_fb_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_or_shout_gather_info_activity.xml:27: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/modal_twitter_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_message_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_yellow').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:18: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/curve_arrow_green').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:20: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/calendar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:30: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/checkin_score_bg').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:33: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:42: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_orange').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:46: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/arrow_banner_blue').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:50: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tip_icon_user_orange').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity.xml:58: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dark_grey_toolbar').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_badge_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/checkin_result_badge').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_badge_item.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_off').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_score_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/default_points_icon').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_special_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/special_lock_locked').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_results_activity_special_item.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/arrow_light_grey').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_simple_list_item.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/photo_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\checkin_simple_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/blank_boy').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\edu_new_checkin_button_dialog.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/new_checkin_button_edu_dialog').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\empty_loading.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_activity.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_item_manual').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_header_search.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_header_background').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_header_search.xml:4: error: Error: No resource found that matches the given name (at 'drawableLeft' with value '@drawable/explore_search_icon').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_keyword_item.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_keyword_button').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_keywords_scroller.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_header_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/listview_background_flat').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:5: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_header_blue_left').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:6: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/explore_header_blue_right').
C:\Users\Will\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\foursquare.apk\res\layout\explore_list_divider.xml:9: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/tip_list_item_corner_todo').
and it goes on and on and on like this
From that log there seems to be a issue with the 9.png files.
From what I see there is perhaps a error accuring with the basalmi blocks when decompiling I will look into what may be causing this and perhaps I may have a fix once I finish patching up my custom version of apktool.jar
Sent from my DROID using xda premium
raziel23x said:
From that log there seems to be a issue with the 9.png files.
From what I see there is perhaps a error accuring with the basalmi blocks when decompiling I will look into what may be causing this and perhaps I may have a fix once I finish patching up my custom version of apktool.jar
Sent from my DROID using xda premium
Click to expand...
Click to collapse
Maybe thisll help. It is step by step of what I did and/or didnt do. Maybe I am missing a step or doing something that I am not supposed to be doing. Thanks again for your help.
Error Messages

get error while compile OTA Updater from github

i want modified OTA Updater, when i compile, i get error
Code:
D:\file\APKmanager\other\..\projects\OTAUpdater-1.0.5.apk\AndroidManifest.xml:16: error: No resource identifier found for attribute 'hardwareAccelerated' in package 'android'
where is wrong? I did not change the android manifest. pplease answer

[Q/A] Build Errors and such...

Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Good idea , hope someone will know this one.
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Export includes file: hardware/qcom/display/libgenlock/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/export_includes
Export includes file: device/lge/mako/camera/mm-camera-interface/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/export_includes
make: *** No rule to make target `/home/elio/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
Click to expand...
Click to collapse
i have been trying to build for mako and i get stuck at this error.
i'm ubuntu 12.04 64bit.
Looks like a kernel error.
Add this lines to your local_manifest
Code:
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
then
Code:
repo sync -j4 && make clean && . build/envsetup.sh && time brunch mako
fix for most errors
Gnome said:
Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Click to expand...
Click to collapse
I am just starting out on building Roms but for almost any error even if you can't fix it just delete your folder/directory with the source and reinitialize repo in a new directory
Sent from my lg optimus f6 which boot loader can't be unlocked I'm never getting a new lg phone
help
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
codingninja62001 said:
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
Click to expand...
Click to collapse
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
okey it isn't omni its cyanogenmod and f6 as LG optimus f6 a budget phone that ive working on a port for and can you explain in a little more detail and my KERNEL_OBJ/usr is empty so no source there
---------- Post added at 05:13 PM ---------- Previous post was at 04:35 PM ----------
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
Hey can you help me with this new error i had fixed that one yesterday not much detail it spits out do you know how to declare GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY or fix this
Code:
frameworks/native/libs/gui/Surface.cpp: In member function 'virtual android::status_t android::Surface::lock(ANativeWindow_Buffer*, ARect*)':
frameworks/native/libs/gui/Surface.cpp:818:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Please help me
build/core/base_rules.mk:316: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' ./external/busybox/Android.mk:171: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' vendor/cm/build/tasks/kernel.mk:285: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' build/core/tasks/kernel.mk:209: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' vendor/cm/build/tasks/kernel.mk:299: warning: overriding commands for target `TARGET_KERNEL_BINARIES' build/core/tasks/kernel.mk:220: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES' vendor/cm/build/tasks/kernel.mk:348: warning: overriding commands for target `kerneltags' build/core/tasks/kernel.mk:252: warning: ignoring old commands for target `kerneltags' vendor/cm/build/tasks/kernel.mk:353: warning: overriding commands for target `kernelconfig' build/core/tasks/kernel.mk:255: warning: ignoring old commands for target `kernelconfig' vendor/cm/build/tasks/kernel.mk:372: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/kernel' build/core/tasks/kernel.mk:269: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/kernel' Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/govind/n/out/target/product/Z00L/obj/SHARED_LIBRARIES/libqmiservices_intermediates/export_includes', needed by '/home/govind/n/out/target/product/Z00L/obj/EXECUTABLES/wcnss_service_intermediates/import_includes', missing and no known rule to make it make: *** [ninja_wrapper] Error 1 #### make failed to build some targets (25 seconds) #### Build step 'Execute shell' marked build as failure FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE
https://hastebin.com/qixotiyuqo.sql plz help me in sorting out this error

[Solved/Abandoned] Building CM14 Issues

So I'm just trying to build CM14(I'm well aware it's basically stock android at this point), and I'm getting quite far in the build process, but getting some errors. I was hoping someone a little more experienced might be able to give me some insight on what the issue is.
Here's the most recent bit from the console:
Code:
/home/kronflux/android/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
host Java: dumpkey (/home/kronflux/android/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
device/huawei/angler/sepolicy/file.te:30:ERROR 'duplicate declaration of type/attribute' at token ';' on line 21108:
type sysfs_thermal, sysfs_type, fs_type;
type sysfs_surfaceflinger, fs_type, sysfs_type;
checkpolicy: error(s) encountered while parsing configuration
system/sepolicy/Android.mk:140: recipe for target '/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery' failed
make: *** [/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target Export Resources: framework-res (/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: <private-symbols> is deprecated. Use the command line flag --private-symbols instead.
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: private symbol package already specified. Ignoring...
warning: string 'allow_button' has no default translation.
warning: string 'deny_button' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'other_permissions' has no default translation.
warning: string 'permission_title' has no default translation.
res/drawable-nodpi-v4/default_wallpaper.png:0: error: Resource entry default_wallpaper is already defined.
res/drawable-nodpi-v4/default_wallpaper.jpg:0: Originally defined here.
device/huawei/angler/overlay/frameworks/base/core/res/res/values/config.xml:29: error: Resource at config_orientationSensorType appears in overlay but not in the base package; use <add-resource> to add.
build/core/package_internal.mk:389: recipe for target '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk' failed
make: *** [/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: Leaving directory '/home/kronflux/android'
#### make failed to build some targets (04:00:18 (hh:mm:ss)) ####
kronflux said:
So I'm just trying to build CM14(I'm well aware it's basically stock android at this point), and I'm getting quite far in the build process, but getting some errors. I was hoping someone a little more experienced might be able to give me some insight on what the issue is.
Here's the most recent bit from the console:
Code:
/home/kronflux/android/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
host Java: dumpkey (/home/kronflux/android/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
device/huawei/angler/sepolicy/file.te:30:ERROR 'duplicate declaration of type/attribute' at token ';' on line 21108:
type sysfs_thermal, sysfs_type, fs_type;
type sysfs_surfaceflinger, fs_type, sysfs_type;
checkpolicy: error(s) encountered while parsing configuration
system/sepolicy/Android.mk:140: recipe for target '/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery' failed
make: *** [/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target Export Resources: framework-res (/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: <private-symbols> is deprecated. Use the command line flag --private-symbols instead.
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: private symbol package already specified. Ignoring...
warning: string 'allow_button' has no default translation.
warning: string 'deny_button' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'other_permissions' has no default translation.
warning: string 'permission_title' has no default translation.
res/drawable-nodpi-v4/default_wallpaper.png:0: error: Resource entry default_wallpaper is already defined.
res/drawable-nodpi-v4/default_wallpaper.jpg:0: Originally defined here.
device/huawei/angler/overlay/frameworks/base/core/res/res/values/config.xml:29: error: Resource at config_orientationSensorType appears in overlay but not in the base package; use <add-resource> to add.
build/core/package_internal.mk:389: recipe for target '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk' failed
make: *** [/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: Leaving directory '/home/kronflux/android'
#### make failed to build some targets (04:00:18 (hh:mm:ss)) ####
Click to expand...
Click to collapse
you need to go to overlay/frameworks/base/core/res/res/values/config.xml at you device tree and find "config_orientationSensorType", delete it or change it as comment with <!-- -->
Also you will find major probs at sepolicies when building
leskal said:
you need to go to overlay/frameworks/base/core/res/res/values/config.xml at you device tree and find "config_orientationSensorType", delete it or change it as comment with <!-- -->
Also you will find major probs at sepolicies when building
Click to expand...
Click to collapse
I ended up getting it to build last night with various errors and poking around to fix it.
Unfortunately it wouldn't boot, so who knows what else needs to be done. I guess I'll just have to wait for the pros to get it up and running, and stick with AOSP for now.
Thanks for the reply though.

Can't install substratum themes

Hi, I'm having troubles installing themes on Substratum, I'm a root user and when I wanna install any theme it prints me this error: target application/overlay outdated or mismatched configuration
This is the log:
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/conversation_list_item_view.xml:25: error: Error: No resource found that matches the given name (at 'layout_marginEnd' with value '@*com.google.android.apps.messaging:dimen/conversation_list_image_preview_margin_end').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/conversation_list_item_view.xml:26: error: Error: No resource found that matches the given name (at 'layout_marginEnd' with value '@*com.google.android.apps.messaging:dimen/conversation_list_image_preview_margin_end').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/mediapicker_audio_chooser.xml:5: error: Error: No resource found that matches the given name (at 'text' with value '@*com.google.android.apps.messaging:string/audio_picker_hint_text').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/mediapicker_image_chooser.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@*com.google.android.apps.messaging:id/gallery_grid_view').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/mediapicker_image_chooser.xml:4: error: Error: No resource found that matches the given name (at 'columnWidth' with value '@*com.google.android.apps.messaging:dimen/gallery_image_cell_size').
» [com.google.android.apps.messaging]: Installation of "com.google.android.apps.messaging" has failed.
» [com.google.android.dialer]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable/bubble_ripple_checkable_circle.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@*com.google.android.dialer:color/bubble_checkable_mask').
» [com.google.android.dialer]: Installation of "com.google.android.dialer" has failed.
Any idea what's going on?
I am getting the same error any help?
Basidialfiddle said:
Hi, I'm having troubles installing themes on Substratum, I'm a root user and when I wanna install any theme it prints me this error: target application/overlay outdated or mismatched configuration
This is the log:
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/conversation_list_item_view.xml:25: error: Error: No resource found that matches the given name (at 'layout_marginEnd' with value '@*com.google.android.apps.messaging:dimen/conversation_list_image_preview_margin_end').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/conversation_list_item_view.xml:26: error: Error: No resource found that matches the given name (at 'layout_marginEnd' with value '@*com.google.android.apps.messaging:dimen/conversation_list_image_preview_margin_end').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/mediapicker_audio_chooser.xml:5: error: Error: No resource found that matches the given name (at 'text' with value '@*com.google.android.apps.messaging:string/audio_picker_hint_text').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/mediapicker_image_chooser.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@*com.google.android.apps.messaging:id/gallery_grid_view').
» [com.google.android.apps.messaging]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/mediapicker_image_chooser.xml:4: error: Error: No resource found that matches the given name (at 'columnWidth' with value '@*com.google.android.apps.messaging:dimen/gallery_image_cell_size').
» [com.google.android.apps.messaging]: Installation of "com.google.android.apps.messaging" has failed.
» [com.google.android.dialer]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/drawable/bubble_ripple_checkable_circle.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@*com.google.android.dialer:color/bubble_checkable_mask').
» [com.google.android.dialer]: Installation of "com.google.android.dialer" has failed.
Any idea what's going on?
Click to expand...
Click to collapse
Did you try to restart your phone and reapply the theme ??
laugeek57 said:
Did you try to restart your phone and reapply the theme ??
Click to expand...
Click to collapse
I tried and stil got the same error
contact the theme developer about these error..

Categories

Resources