Compiling apk problem (apktool + SE apps) - XPERIA X10 General

OK so I've made it this far with akila87's help but now I'm stuck building my decompiled apk. I'm trying to bring back the old 2.1 SE calculator but i don't know if I coded my xml files if they are good because they are not being recompiled or built again. heres the problem...
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Home>cd C:\apktool-install-windows-2.2_r01-3
C:\apktool-install-windows-2.2_r01-3>apktool b Calculator
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
(skipping index file 'C:\apktool-install-windows-2.2_r01-3\Calculator\res\dr
awable-hdpi\Thumbs.db')
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:5: error:
Error: No resource found that matches the given name: attr 'android:background'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:6: error:
Error: No resource found that matches the given name: attr 'android:focusable'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:8: error:
Error: No resource found that matches the given name: attr 'android:layout_heigh
t'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:9: error:
Error: No resource found that matches the given name: attr 'android:layout_margi
n'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:10: error:
Error: No resource found that matches the given name: attr 'android:layout_marg
inLeft'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:11: error:
Error: No resource found that matches the given name: attr 'android:layout_weig
ht'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:7: error:
Error: No resource found that matches the given name: attr 'android:layout_width
'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:4: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:14: error:
Error: No resource found that matches the given name: attr 'android:background'
.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:17: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:22: error:
Error: No resource found that matches the given name: attr 'android:gravity'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:26: error:
Error: No resource found that matches the given name: attr 'android:layout_heig
ht'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:25: error:
Error: No resource found that matches the given name: attr 'android:layout_widt
h'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:27: error:
Error: No resource found that matches the given name: attr 'android:maxLines'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:23: error:
Error: No resource found that matches the given name: attr 'android:padding'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:28: error:
Error: No resource found that matches the given name: attr 'android:scrollHoriz
ontally'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:24: error:
Error: No resource found that matches the given name: attr 'android:scrollbars'
.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:21: error:
Error: No resource found that matches the given name: attr 'android:textColor'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:20: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:30: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:31: error:
Error: No resource found that matches the given name: attr 'android:windowBackg
round'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKT
OOL2546885007159582906.tmp, -S, C:\apktool-install-windows-2.2_r01-3\Calculator\
res, -M, C:\apktool-install-windows-2.2_r01-3\Calculator\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, C:\D
OCUME~1\Home\LOCALS~1\Temp\APKTOOL2546885007159582906.tmp, -S, C:\apktool-instal
l-windows-2.2_r01-3\Calculator\res, -M, C:\apktool-install-windows-2.2_r01-3\Cal
culator\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\apktool-install-windows-2.2_r01-3>_

When you do jar files you have to add the sources before compile or decompile... so maybe that apk needs the sources by doing apktool if (source name) in terminal... maybe if the original source and the 2.2 or 2.3 source?.... hope this helps
Sent from my X10i using XDA App

Exactly. You need to inc source jar or Java classes. Sorry for obvious question (log posted) could you tell me what your build setup is please?
Edit: create an eclipse project and import.
rdannar said:
When you do jar files you have to add the sources before compile or decompile... so maybe that apk needs the sources by doing apktool if (source name) in terminal... maybe if the original source and the 2.2 or 2.3 source?.... hope this helps
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Sent from my X10a using XDA Premium App

MrHassell said:
Exactly. You need to inc source jar or Java classes. Sorry for obvious question (log posted) could you tell me what your build setup is please?
Edit: create an eclipse project and import.
Sent from my X10a using XDA Premium App
Click to expand...
Click to collapse
I'm on CM6 6.1.3 (v54)... I'm trying to edit the stock SE calculator.apk :/ and it decompilied no problem. If I put apktool d calculator (folder) ill get the calculator.out which has the apktool.yml which I copied and pasted into clthe decompiled calculator folder
And where do I get these sources?
Sent from a pyramid in Canadada

your problem is that you didn't imported a framework that works with the apk(in your case the 2.1's framework)
you will find help doing it if you look at the bottom of apktool's help screen
you can import multiple frameworks, so I suggest you to import 2.2's, too
resources are loaded from framework-res.apk
PS.: sometimes recompiling fails if AndroidManifest.xml contains some random crappy stuff. if compiling still fails post that xml and then I could post a corrected one. and please delete any kind of rubbish from the dirs... *caugh* thumbs.db *caugh*

moved to proper forum

oh, mcfly. procedure, procedure. soapbox time?
first verify that apktool is setup and working correctly for you. lets assume that it is;
these are simple instructions for tagging 1 single framework for use in working in 1 rom. additional options are required if working with multiple romsets;
1
tag the rom framework for use in decompiling and recompiling apks that came with the sony rom;
Code:
framework if framework-res.apk
if you were in an unextracted rom folder;
Code:
/system/framework
2
decompile apk you wish to work with
Code:
apktool d Calculator.apk
your apk should decompile without error
3
NOW we verify your apktool setup. recompile the Calculator.apk, unmodified. casing matters and you should specify the output file.
Code:
apktool b Calculator ./built/Calculator.apk
DO YOU HAVE ERRORS AT THIS POINT? if you do, you don't have apktool setup right.
if you don't your xml modifications are either too excessive (they don't jive w/ the jar), or you're improperly making xml modifications. it happens. the changes you make, as the others said, have to jive w/ the jar that accompanies it. my past experience has been that modifications to the /res/values folder that you're making tends to break apk's if its more than just manipulation to a few simple digital values for colors or margins, and even then stability is iffy. i find its better to creatively manipulate the images by overlaying the images where i want them placed in a graphic editor, and then experimenting with creating them to display where i want on the screen. i do this in combination w screenshots from the calculator that i want to display. not a procedure easily explained..
..i was able to turn the current se21 calculator into a htc hybrid by replacing the provided background w/ a black background that has a grey bar across the output field at the top of the screen. i simply put the grey bar on the background image. no xml manipulation required. looks nice compared to the funky blue one it came w.
zip up what you have and send it my way and i can tell you if what you're doing is doable w/ apktool.
i can be of no help to you with eclipse and use of source in your venture. source coding is a little above my current list of working skills beyond simple stock source compiles w the make system for apps and roms.

i have the same error when compiling the com.htc.resources.apk
how i add the sources ?
thanks

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

[GUIDE][LINUX][MIUI] MIUI PatchROM -- BUILD YOUR OWN MIUI ROM

Hello everybody,
Recently, the MIUI team has opened up its source on GitHub. This makes it now possible for everybody to compile MIUI roms. However, the guide they've provided is completely in Chinese. Credits go to ThePCGuy for finding out how it works (original topic) I wrote this guide according to his findings and added complementary items that I found out during my attempts.
Step 1: Preparing your computer
Building your own MIUI rom can only be done on Linux-systems (or *nix, not sure). In this guide I'll be using Ubuntu 11.10.
1. First of all, download a zipball from here. Extract it and place it in a directory (I extracted it in /home/MisterGT/MiCode. From now on, I'll call this the MiCode root directory.
2. Now, it is required to get the android-sdk tools on your computer. You can find those here. Again, extract them somewhere (I put them in /home/MisterGT/Micode/android-sdk-linux).
3. Update your PATH to include the android tools. In a terminal write:
Code:
export PATH=/location/to/android-sdk-linux/platform-tools:/location/to/android-sdk-linux/tools:$PATH
And change the paths accordingly. In my case this would mean
Code:
export PATH=/home/MisterGT/MiCode/android-sdk-linux/platform-tools:/home/MisterGT/MiCode/android-sdk-linux/tools:$PATH
4. On x64 systems you are required to install some 32-bit libraries or the android toolkit will not work. In a terminal write:
Code:
sudo apt-get install ia32-libs
Step 2: Find an appropriate source rom
The package will convert a standard rom to a MIUI rom, so you'll have to choose a ROM you want to use as base. According to the manual, there are two requirements:
Android 2.3.3 - 2.3.7 supported
ROM with root abilities
Only HDPI devices are supported!
So after you've picked one, download it. In your MiCode root dir, create a new map and give it some name (I chose p990 as name). In that folder, put the ROM.zip and do not unzip it.
Step 3: Setting up the makefile
Firstly, copy the makefile from the i9100 directory which is an example. This is how it looks like:
Code:
#
# Makefile for i9100
#
# The original zip file, MUST be specified by each product
local-zip-file := I9100ZCKJ1.zip
# The output zip file of MIUI rom, the default is porting_miui.zip if not specified
local-out-zip-file := MIUI_9100.zip
# All apps from original ZIP, but has smali files chanded
local-modified-apps := LogsProvider Phone MediaProvider Settings
# All apks from MIUI execept MIUISystemUI and framework-miui-res.apk
local-miui-apps := Contacts ContactsProvider Mms TelephonyProvider ThemeManager Launcher2 \
DownloadProvider TelocationProvider Notes Music Torch DownloadProviderUi Updater
# All apps need to be removed from original ZIP file
local-remove-apps := AlipayGphone AmsComposer AndroidQQ_Samsung_Seine BuddiesNow cooldict glyder2 \
ImgoTV iReader kaixin001 Memo MiniDiary MinimalHome mreader PressReader ReadersHub Renren \
Sinamicroblog SinaNews SinaStock SinaWeather SocialHub Tencentmicroblog \
TomEbook Tonghuashun TouchWiz30Launcher Youku_Samsung_seine MusicPlayer \
MediaHub PhotoRetouching VideoEditor thinkdroid QYVideoClient \
Days DigitalClock Dlna DualClock Email EmailWidget FTC FTM FTS Kobo \
Microbesgl Navigator PostIt Protips QuickSearchBox SamsungApps SamsungAppsUNA3 \
SamsungIM SamsungWidget_ProgramMonitor SecretWallpaper1 SecretWallpaper2 \
SevenEngine SnsAccountKx SnsAccountRr SnsDisclaimer SnsImageCache SnsProvider \
Tasks TasksProvider Term TrimApp TwCalendarAppWidget Zinio \
samsungappswidget syncmldm viva_tts
# To include the local targets before and after zip the final ZIP file,
# and the local-targets should:
# (1) be defined after including porting.mk if using any global variable(see porting.mk)
# (2) the name should be leaded with local- to prevent any conflict with global targets
local-pre-zip := local-zip-misc
local-after-zip:= local-test
# The local targets after the zip file is generated, could include 'zip2sd' to
# deliver the zip file to phone, or to customize other actions
include $(PORT_BUILD)/porting.mk
# To define any local-target
local-zip-misc:
cp misc/com.google.android.maps.jar $(ZIP_DIR)/system/framework/
@echo Add google apks
cp misc/apk/* $(ZIP_DIR)/system/app/
@echo Replace build.prop
cp misc/build.prop $(ZIP_DIR)/system/build.prop
local-test:
echo "an example action"
Explanations:
'local-zip-file' = Name of your original ROM zip that you just downloaded
'local-out-zip-file' = Name for your finished MIUI rom
'local-modified-apps' = Apps that will be modified to fit in with the framework. They need to be modified because they contact with the system
'local-miui-apps' = MIUI Apps that will be integrated into the zip
'local-remove-apps' = Apps that will be removed from the original ROM
'local-pre-zip' = Refers to codeblock that should be executed before the zip is done.
'local-after-zip' = Refers to codeblock executed after the zip is completed
'local-zip-misc' = The codeblock just described at 'local-pre-zip'. It adds some Google Apps and a buid.prop
'local-test' = Another codeblock
Step 4: Decompiling apps
Before we can build the new rom, we must decompile some apps and put them in the device folder (so in my case that would be the p990 folder).
/system/framework/android.policy.jar
/system/framework/framework.jar
/system/framework/framework-res.apk
/system/framework/services.jar
/system/app/SystemUI.apk
and all apps that you defined at 'local-modified-apps' in the makefile
Update: as it seems now you need to copy the systemui folder from the i9100 folder. This fixes issues related to systemui.apk not building.
Step 5: Building the rom
Now we're done and we can start building the rom. Open up a terminal and go to the MiCode root dir. Then type:
Code:
source build/envsetup.sh
cd p990 #Or whatever you called your device folder
make zipfile
It will now do a lot of things to build the ROM. Unfortunately, I'm getting a lot of errors when it tries to modify the apps from 'local-modified-apps'. And I don't have any clue to fix it, don't know anything about that..
Nice to see a X8 thread come here...
Sent from my W8 using Tapatalk
Does the base rom need to be in ext4 fotmat and does this work with ldpi devices like Samsung galaxy fit
Sent from my GT-S5670 using xda premium
Nice Informative Thread.
Gonna try it for Samsung Galaxy Fit.
Nice tutorial. I am trying it now on SGS4G.
---------- Post added at 11:39 AM ---------- Previous post was at 11:28 AM ----------
It works pretty slick. I et as far as making the zip and it does it's thing but stops at the SystemUi rebuilding. will have to figure out and will post progress...
so does anybody try this out for the Zte Blade/Skat?
It will only work for HDPI devices, as those are the only ones that are supported by the MIUI team. I'm still getting errors when trying to build SystemUI.apk, I've filed a issue for that though.
Code:
build .build/services.jar...
--------------------------------------------
cp -r services.jar.out/ .build/services
/home/lomash/MiCode/tools/add_miui_smail.sh .build/services_miui .build/services
/home/lomash/MiCode/tools/apktool b .build/services .build/services.jar
I: Checking whether sources has changed...
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/lomash/MiCode/s5670/.build/services.jar, /home/lomash/MiCode/s5670/.build/services/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/lomash/MiCode/s5670/.build/services.jar, /home/lomash/MiCode/s5670/.build/services/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more
make: *** [.build/services.jar] Error 1
Can anyone help me a little?
---------- Post added at 11:28 PM ---------- Previous post was at 11:27 PM ----------
aapt is there in the android-sdk-linux/tools folder.
MisterGT said:
It will only work for HDPI devices, as those are the only ones that are supported by the MIUI team. I'm still getting errors when trying to build SystemUI.apk, I've filed a issue for that though.
Click to expand...
Click to collapse
I am having the same issue. I get as far as SystemUI and get errors. LMK if you find an answer!
Thanks
Will this work on the exhibit II
Sent from my SGH-T679 using xda premium
People you need to read the OP. It tells you what it will work on.
The package will convert a standard rom to a MIUI rom, so you'll have to choose a ROM you want to use as base. According to the manual, there are two requirements:
Android 2.3.3 - 2.3.7 supported
ROM with root abilities
lomash said:
aapt is there in the android-sdk-linux/tools folder.
Click to expand...
Click to collapse
You didn't add the folder to your PATH.
Ppl are saying this is only ics compatible is this true
Sent from my SGH-T679 using xda premium
dswaggz said:
Ppl are saying this is only ics compatible is this true
Sent from my SGH-T679 using xda premium
Click to expand...
Click to collapse
No, that's not true.
~ Gingerbread
The opposite is true. It is only compatible with gingerbread roms.
Sent from my Optimus 2X using XDA App
Does the original ROM we use need to be AOSP-based ?
Now I see why Developers keep Leaving. Everyone keeps asking the same question that has the answer in the original POST!!!!!!!People you need to read the OP. It tells you what it will work on.
The package will convert a standard rom to a MIUI rom, so you'll have to choose a ROM you want to use as base. According to the manual, there are two requirements:
Android 2.3.3 - 2.3.7 supported
ROM with root abilities
Im having issues too can't seems to get pass that error TT im working on galaxy w btw , anyone has sucessfully create a muiu rom? Thx in advance
i'm on 64bit ubuntu and can't install 32bit libraries for some unknown reason.
DarthJonathan said:
Im having issues too can't seems to get pass that error TT im working on galaxy w btw , anyone has sucessfully create a muiu rom? Thx in advance
Click to expand...
Click to collapse
Yeah literally everyone is stuck on the SystemUI.apk building. I'll post the error log from the terminal.
Code:
cp -r SystemUI .build
/home/kemikal/MiCode/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined.
res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here.
/home/kemikal/MiCode/ancora/.build/SystemUI/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
/home/kemikal/MiCode/ancora/.build/SystemUI/res/values/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5695998133584055968.tmp, -I, /home/kemikal/apktool/framework/1.apk, -S, /home/kemikal/MiCode/ancora/.build/SystemUI/res, -M, /home/kemikal/MiCode/ancora/.build/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5695998133584055968.tmp, -I, /home/kemikal/apktool/framework/1.apk, -S, /home/kemikal/MiCode/ancora/.build/SystemUI/res, -M, /home/kemikal/MiCode/ancora/.build/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/MIUISystemUI.apk] Error 1
'@android:style/Theme.Holo.Light.Panel'.
http://pastebin.com/3bWugdSc
'@android:style/Theme.Holo.Light.Panel'.
That Holo style resource can't be found. That seems to be causing the problem. Maybe there is a way to omit or fix that code and continue building?
Sent from my SGH-T679 using Tapatalk

[Q] Can someone provide a Stock Browser for Razr M?

Hi,
so i bought the Razr M since it's finally a well spec'ed Android phone that's not huge. I only have one (well maybe two) big issue(s) with it.
Since Moto decided to make Chrome the sole Browser i can't find any way to get client certificates to work.
I found somewhere on the Interwebs the ICS stock browser (Browser.apk) but that one wouldn't install:
Code:
$ adb install Browser.apk
4622 KB/s (2298320 bytes in 0.485s)
pkg: /data/local/tmp/Browser.apk
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
In some forum i found the advise to change the "android:authorities" fields in AndroidManifest.xml. So i went ahead decompiled the apk and changed those fields. Only now i can't get the apk file to build again:
Code:
$ apktool b Browser
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/wolf/razr_m/Browser/res/layout/bookmark_grid_row.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_group_view.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_thumbnail.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarks.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout-sw600dp/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshots.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
At this point being not a developer i'm getting a little lost.
Would someone be able to help me out with this? What do i need to do to build this apk or maybe someone would be able to build a stock browser package, that is installable on the Razr M?
My second approach was to install Firefox so i could work my certificate into its keystore files but that fails because on the Razr M it seems impossible to move apps to the sd card -- any hopes that this might get "fixed" with the upcomimg jelly bean?
Help would be much appreciated,
-wolf
tequela said:
Hi,
so i bought the Razr M since it's finally a well spec'ed Android phone that's not huge. I only have one (well maybe two) big issue(s) with it.
Since Moto decided to make Chrome the sole Browser i can't find any way to get client certificates to work.
I found somewhere on the Interwebs the ICS stock browser (Browser.apk) but that one wouldn't install:
Code:
$ adb install Browser.apk
4622 KB/s (2298320 bytes in 0.485s)
pkg: /data/local/tmp/Browser.apk
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
In some forum i found the advise to change the "android:authorities" fields in AndroidManifest.xml. So i went ahead decompiled the apk and changed those fields. Only now i can't get the apk file to build again:
Code:
$ apktool b Browser
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/wolf/razr_m/Browser/res/layout/bookmark_grid_row.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_group_view.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmark_thumbnail.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarks.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/bookmarkthumbnailwidget_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/history_item.xml:5: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout-sw600dp/snapshot_item.xml:2: error: No resource identifier found for attribute 'directionality' in package 'android'
/Users/wolf/razr_m/Browser/res/layout/snapshots.xml:4: error: No resource identifier found for attribute 'directionality' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/kl/ns92nt594vg3gnbv7rs46g3c0000gn/T/APKTOOL6218926086063009262.tmp, -I, /Users/wolf/apktool/framework/1.apk, -S, /Users/wolf/razr_m/Browser/res, -M, /Users/wolf/razr_m/Browser/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
At this point being not a developer i'm getting a little lost.
Would someone be able to help me out with this? What do i need to do to build this apk or maybe someone would be able to build a stock browser package, that is installable on the Razr M?
My second approach was to install Firefox so i could work my certificate into its keystore files but that fails because on the Razr M it seems impossible to move apps to the sd card -- any hopes that this might get "fixed" with the upcomimg jelly bean?
Help would be much appreciated,
-wolf
Click to expand...
Click to collapse
Try ics browser+ on the market. It's basically stock with a few tweaks. I like it.
-Sent from my TMOUS HTC One S.-
-Stock/rooted 2.21 + 1.06s baseband-
-Hboot 1.06-
phositadc said:
Try ics browser+ on the market. It's basically stock with a few tweaks. I like it.
-Sent from my TMOUS HTC One S.-
-Stock/rooted 2.21 + 1.06s baseband-
-Hboot 1.06-
Click to expand...
Click to collapse
Thanks for the tip.
Unfortunately ics browser+ doesn't work on the phone. It asks to access my SID and LSID on initial launch and then crashes
Very same thing happened with "quick ics browser".
I see the issue as well. A Quick Browser and Browser+ crashed on mine too. However it's not the only RAZR M caused the problem. My wife's Galaxy Nexus got a problem with them too. I guess it might needed some update for a newer phone? It work fine on my DX with CM9 rom. Anyway, I would suggest you to try and use Dolphin Browser. Work like a charm on mine and my wife's GNex.
Sent from my "XT907"aka RAZRm
Hell-Intimidator said:
I would suggest you to try and use Dolphin Browser. Work like a charm on mine and my wife's GNex.
Click to expand...
Click to collapse
Unfortunately Dolphin browser doesn't support client certificates either. The only browser(s) i'm aware of supporting this is the ICS & JB stock vanilla Android browser(s)....
tequela said:
Thanks for the tip.
Unfortunately ics browser+ doesn't work on the phone. It asks to access my SID and LSID on initial launch and then crashes
Very same thing happened with "quick ics browser".
Click to expand...
Click to collapse
That sucks. It works fine on my One S running ics 4.0.4. I saw another thread saying that the M crashes on the USA today app. Seems like the M has some issues with random apps.
-Sent from my TMOUS HTC One S.-
-Stock/rooted 2.21 + 1.06s baseband-
-Hboot 1.06-
tequela said:
Unfortunately Dolphin browser doesn't support client certificates either. The only browser(s) i'm aware of supporting this is the ICS & JB stock vanilla Android browser(s)....
Click to expand...
Click to collapse
Chrome is the stock jellybean browser that is why it is stock on here because we will be getting updated to jellybean soon
Sent from my XT907 using xda app-developers app
melo563 said:
Chrome is the stock jellybean browser that is why it is stock on here because we will be getting updated to jellybean soon
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
That's not quite true. I know it'd seem like it would be, but there's still a stock Browser app included with Jelly Bean. It's present on the Nexus 7. In fact, one of the things Motorola was saying about the Razr M is that it's the first phone to ship with Chrome as the default browser.
I don't mind having Chrome as the default browser but it's annoying that they don't also leave the stock android browser on there, in case you want to use that.
sleepwalkers said:
That's not quite true. I know it'd seem like it would be, but there's still a stock Browser app included with Jelly Bean. It's present on the Nexus 7. In fact, one of the things Motorola was saying about the Razr M is that it's the first phone to ship with Chrome as the default browser.
Click to expand...
Click to collapse
I heard that chrome was the stock browser but I don't own one so I won't argue.
Sent from my XT907 using xda app-developers app
well i found a way to use my client cert...
there's a plugin for firefox called "Cert Manager" but it only works with FF 13... so i downloaded fennec-13.0b1.en-US.android-arm.apk from the mozilla ftp and installed it on the phone... with the Cert MAnager plugin i was able to load my client cert from a PKCS12 file and can now access my company's intranet from the phone again.
This is not really a nice solution but sufficient for me, since i only need that intranet access every once in a while.
Still hoping that Chrome will add client cert support soon, or that someone will be able to provide a Stock Browser for the M that works...
Maybe with JB it all will get better?
Edit: the firefox solution is buggy... only works right after importing the client certificate. After quitting and reopening the password promt to unlock the "software security device" freezes the app... only thing to do then is to delete firefox's data in preferences->apps and reimport the certificate... quite the hassle
@Motorola: please include the Android Stock Browser again with the upcoming Jelly Bean update!
I'm having this same issue on the Droid Razr HD Maxxx. i tried the firefox solution on my old Droid X and it wasn't an option since i constantly have to refresh the site for work purposes. i found a browser called Sandrob that worked nicely but he stopped developing it after gingerbread. if anybody can find a solution for this pls.
Should just be as easy as grabbing a stock browser.apk for ICS or JB depending on what you're running, placing it in /system/app, changing the permissions and rebooting.
spunker88 said:
Should just be as easy as grabbing a stock browser.apk for ICS or JB depending on what you're running, placing it in /system/app, changing the permissions and rebooting.
Click to expand...
Click to collapse
i couldn't find a stock browser.apk anywhere that would install on the phone. i may be mistaken but i believe the browser apk is device specific. my phone is running ICS for now if you think you can find one would be a great help.
I doubt it will install but if you place it in /system/app and change permissions it should work. Of course you'll need root. Here is a Browser.apk from CM9.
Tutorial for installing Browser on the Nexus 7, should be the same except use an ICS browser, I've attached one:
http://www.theandroidsoul.com/nexus-7-hack-install-aosp-android-browser-n7/
It launches and tries to authenticate to google before FC, subsequent launches FC immediately. I sure would like a working version. Some sites just don't work correctly with Chrome, ie: m.yahoo.com
Chrome does not cache your position on the main page when returning from a news article. It always reverts to page "1"
spunker88 said:
I doubt it will install but if you place it in /system/app and change permissions it should work. Of course you'll need root. Here is a Browser.apk from CM9.
Tutorial for installing Browser on the Nexus 7, should be the same except use an ICS browser, I've attached one:
http://www.theandroidsoul.com/nexus-7-hack-install-aosp-android-browser-n7/
Click to expand...
Click to collapse
Figured out the issue after doing this on my rooted nexus 7...
Renaming the file system/app/BrowserProviderProxy.apk to something.apk does not work, just change the extension to .apx and you are home free. This was on my unlocked rooted dev version m.
Can't thank you enough for tip re: .apx
It was the ONLY way to get the stock ICS browser to work in my Razr Maxx HD. Installed the .apk from further up the thread as per instructions, applied your fix, and it works like a champ, no FC. Nice.
+1
Works great for me too!
.
Sent from my XT907 using xda premium

[Q] Error on compiling from source

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

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