Related
I want to do a full theme for ICS, probaly using ViperBoys ROM or the stock deodex ROM. I have to contact Viper yet to get his blessing. One issue though. I can't find a apktool/manager that will compile the modded apk's and xml's. If anyone knows of a apk manager that WILL compile these apk's I would sure love to know about it.
I have tried the WANAM manager, no luck. apk 4.9 and 5.0 no luck. And numerous others. If anyone can help me, I will do a full blown theme for our phones. Decompiling is not a issue, compiling is where all the problems arise.
Suggestions??
What error messages are you getting?
Sent from my EVO using xda premium
errors
mostly public.xml errors. I will try to compile one, then copy and paste the error in here, thanks for your response.
will u teach me alsoo? any hlp will be appreciated
Sent from my HTC One V using xda premium
Numerous people have tired to help you bro. I sent you my tools and you never even replied back. And slayer tried to help you for hours.
If you are getting errors on recompiling then you are probably editing wrong.
You need to post your errors
Sent from my EVO using xda premium
fernando sor said:
Numerous people have tired to help you bro. I sent you my tools and you never even replied back. And slayer tried to help you for hours.
If you are getting errors on recompiling then you are probably editing wrong.
You need to post your errors
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I'm also interested in this. I'd like to do a skin/theme combo if possible. If you have the knowledge/tools to share, I will, in turn, create a How-to thread to share the wealth. Let me know if you and/or slayer can find a few minutes... I'm a very fast learner and a thorough documenter. I'll PM you as well. Thanks in advance.
Sent from my EVO using Tapatalk 2
Edit: fernando sor, I just saw the link in your signature (I was on Tapatalk before) so I'm going to give that a read. Not sure if it works for Sense 4.0 since it's in the Evo 3D forum, but I'm sure at least some, if not most, of the concepts apply. From what I hear, a lot of people are waiting for a release of Virtuous Ten Studio that supports Sense 4.0, but, nonetheless, there are Sense 4.0 themes out there for other devices, so it's certainly possible!
Hi Fernando
I used your tools and they were great, and thanks for sending. The primary reason I posted this was I wanted to see if their was anything new that I might have missed, and I have switched phones since Slayer was working with me.
I'm not unappreciative Fernando, just trying to stay current, one never knows when there might be a break through on this as things can change rapidly at times. My bad for not responding to what you sent. again, they worked great, now if we can just get something for the remaining 16 apk's
teach me??
If you mean will I teach you how to theme, I can only say there are people far better at ti than I am, I only learned recently myself. If you see folks with recognized themer out there by their screen name you would want to check with them, I am not qualified to teach yet, if there is anything else I might be able to help with let me know.
musicman625 said:
Hi Fernando
I used your tools and they were great, and thanks for sending. The primary reason I posted this was I wanted to see if their was anything new that I might have missed, and I have switched phones since Slayer was working with me.
I'm not unappreciative Fernando, just trying to stay current, one never knows when there might be a break through on this as things can change rapidly at times. My bad for not responding to what you sent. again, they worked great, now if we can just get something for the remaining 16 apk's
Click to expand...
Click to collapse
Well if you post the error logs we may be able to help
Sent from my ADR6425LVW using xda premium
sounds good
I plan on trying to work on Framework and Resources tonight to see what I can get accomplished. I will post errors, if you don't mind a nine mile long post lol
So far the only app that I have found that won't even decompile is HtcDialer.apk. All others so far have decompiled and recompiled just fine. You will see flag /integer errors on some of them, ignore them, the app compiles. This is using the same apktool that Fernando is using just fyi. If you are seeing other errors, check your images, there are bad ones, trust me. None of them will compile with image errors.
Sent from LTEVO!
Errors from HTC Resources
---------------------
|Wed 06/06/2012 -- 17:57:30.07|
--------------------------------------------------------------------------
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\layouts.xml:3: error: Found tag layout where item is expected
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:1975: error: Public entry identifier 0x2050209 entry index is larger than available symbols (index 521, total symbols 521).
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:1975: error: Public symbol dimen/zero_dummy_dimen declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3854: error: Public symbol layout/htc_list_item_2text_2stamp declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3855: error: Public symbol layout/htc_list_item_2text_bright declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3859: error: Public symbol layout/htc_list_item_dlna_1 declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3856: error: Public symbol layout/htc_list_item_image_2text_image_bright declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3857: error: Public symbol layout/htc_list_item_imageicon_2text_2stamp declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3858: error: Public symbol layout/htc_list_item_separator declared here is not defined.
C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res\values\public.xml:3853: error: Public symbol layout/zero_dummy_layout declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\mike\AppData\Local\Temp\APKTOOL3247610965678022077.tmp, -x, -I, C:\Users\mike\apktool\framework\1.apk, -S, C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res, -M, C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\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, C:\Users\mike\AppData\Local\Temp\APKTOOL3247610965678022077.tmp, -x, -I, C:\Users\mike\apktool\framework\1.apk, -S, C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\res, -M, C:\Android\Apk_Manager_WanamICS\other\..\projects\com.htc.resources.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
These are the errors I got when compiling Resources, and the apk is from Viper rom
hello can someone help me? i am trying to theme SystemUI.apk but i get error when i try to decompile
Please make your decision:9
Decompiling Apk
testCan't find framework resources for package of id: 2. You must install proper
framework files, see project website for more info.
"An Error Occured, Please Check The Log (option 21)"
Press any key to continue . . .
here is what i get when i first run the script
--------------------------------------------------------------------------
|Fri 06/15/2012 -- 14:54:13.08|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
what am i missing?
Do you have the right resources apk installed?
Sent From My Sweet Ass EVO LTE
Reviving this thread because I installed VTS and went thru the tutorial for creating a skin. I didn't modify any files or settings and these are the errors I get when trying to build the project in step 10. I haven't purchased a license. Anyone have any ideas what the problem is?
14:30:36.779: [Normal] - <BuildProject>d__16.MoveNext: 'Building project: Matte'
14:30:36.787: [Debug] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Matte: Compiling changed M10 pictures'
14:30:37.048: [Debug] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Matte: Copying 'C:\Users\myName\Documents\Virtuous Ten Studio\Projects\My.Own.Skin\Matte\Data' to 'C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9''
14:30:38.154: [Debug] - M10Transformer.Encode: 'M10 encode: 93ms'
14:30:38.302: [Debug] - M10Transformer.Encode: 'M10 encode: 18ms'
14:30:38.385: [Normal] - ApkTool.CompileApk: 'Compiling apk'
14:30:38.387: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files (x86)\Java\jre6\bin\java.exe'
14:30:38.387: [Debug] - ApkTool.CompileApk: 'ApkTool args: -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_1.5.0.jar" b "C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9" "C:\Users\myName\Documents\Virtuous Ten Studio\Projects\My.Own.Skin\Matte\Binary\Matte.apk"'
14:30:43.173: [Error] - ApkTool.CompileApk: 'ApkTool: W: Could not find sources'
14:30:43.174: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
14:30:43.176: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
14:30:43.176: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\arrays.xml:18: error: Found tag reference-array where item is expected'
14:30:43.176: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1008: error: Public symbol array/autocompletetextview_backgrounds declared here is not defined.'
14:30:43.176: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1004: error: Public symbol array/carousel_colors declared here is not defined.'
14:30:43.176: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1007: error: Public symbol array/htcbutton_drawables declared here is not defined.'
14:30:43.177: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1011: error: Public symbol array/htcexpandablelistview_drawables declared here is not defined.'
14:30:43.177: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1012: error: Public symbol array/htcfastscrollerhrzt_drawables declared here is not defined.'
14:30:43.177: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1010: error: Public symbol array/quickcontactbadge_drawables declared here is not defined.'
14:30:43.177: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1005: error: Public symbol array/skinProgressBarArray declared here is not defined.'
14:30:43.178: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1006: error: Public symbol array/skinSeekBarArray declared here is not defined.'
14:30:43.178: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res\values\public.xml:1009: error: Public symbol array/togglebutton_backgrounds declared here is not defined.'
14:30:43.178: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, -F, C:\Users\myName\AppData\Local\Temp\APKTOOL5017037619860584830.tmp, -x, -I, C:\Users\myName\apktool\framework\1.apk, -I, C:\Users\myName\apktool\framework\2-4.0-tag.apk, -S, C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res, -M, C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\AndroidManifest.xml]'
14:30:43.178: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)'
14:30:43.179: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)'
14:30:43.179: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:269)'
14:30:43.179: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:192)'
14:30:43.179: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:174)'
14:30:43.180: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:188)'
14:30:43.180: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:70)'
14:30:43.180: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, -F, C:\Users\myName\AppData\Local\Temp\APKTOOL5017037619860584830.tmp, -x, -I, C:\Users\myName\apktool\framework\1.apk, -I, C:\Users\myName\apktool\framework\2-4.0-tag.apk, -S, C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\res, -M, C:\Users\myName\AppData\Local\Temp\63166cb4-152f-4b24-8d50-a66904d7bef9\AndroidManifest.xml]'
14:30:43.180: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:83)'
14:30:43.180: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)'
14:30:43.181: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
14:30:43.181: [Debug] - ApkTool.CompileApk: 'ApkTool failed, see log for further details'
14:30:43.181: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'
14:30:43.252: [Error] - <>c__DisplayClass38.<BuildApkAsync>b__37: 'Matte: Compiling resource files failed!'
Click to expand...
Click to collapse
---------- Post added at 03:18 PM ---------- Previous post was at 02:37 PM ----------
Figured it out. Delete arrays.xml, public.xml, and styles.xml from the data\res\values folder. Everything worked after that.
Hey,
I'm a little lost.
I a newbie, but want to try to change in a apk file, so that i can change the language to danish, because i am.
But i don't know which software to use.
I'm on windows 7.
Thx
velein
Found this by searching...
http://www.virtuousrom.com/p/ten-studio.html
Thx, but after changing some language stuff, i try to build the .apk file.
then this happens:
22:46:11.952: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether sources has changed...'
22:46:11.952: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
22:46:11.953: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
22:46:11.954: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\arrays.xml:30: error: Error parsing XML: not well-formed (invalid token)'
22:46:11.954: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:105: error: Public symbol array/album_art_size_values declared here is not defined.'
22:46:11.954: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:104: error: Public symbol array/album_art_sizes declared here is not defined.'
22:46:11.955: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:108: error: Public symbol array/camera_button declared here is not defined.'
22:46:11.955: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:109: error: Public symbol array/camera_button_values declared here is not defined.'
22:46:11.955: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:106: error: Public symbol array/default_tab declared here is not defined.'
22:46:11.956: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:107: error: Public symbol array/default_tab_values declared here is not defined.'
22:46:11.956: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:110: error: Public symbol array/repeat_modes declared here is not defined.'
22:46:11.956: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res\values\public.xml:111: error: Public symbol array/repeat_modes_values declared here is not defined.'
22:46:11.956: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mikkel\AppData\Local\Temp\APKTOOL743745514086871364.tmp, -I, C:\Users\Mikkel\apktool\framework\1.apk, -S, C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res, -M, C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\AndroidManifest.xml]'
22:46:11.957: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)'
22:46:11.957: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)'
22:46:11.957: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:248)'
22:46:11.957: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:171)'
22:46:11.958: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:154)'
22:46:11.958: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:182)'
22:46:11.958: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:67)'
22:46:11.959: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mikkel\AppData\Local\Temp\APKTOOL743745514086871364.tmp, -I, C:\Users\Mikkel\apktool\framework\1.apk, -S, C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\res, -M, C:\Users\Mikkel\Documents\Virtuous Ten Studio\Projects\TEST\TEST\Data\AndroidManifest.xml]'
22:46:11.959: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:83)'
22:46:11.959: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)'
22:46:11.959: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
22:46:11.960: [Debug] - ApkTool.CompileApk: 'ApkTool failed, see log for further details'
22:46:11.960: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'
22:46:11.960: [Error] - <>c__DisplayClass15.<BuildApkAsync>b__14: 'Apktool failed while compiling apk!'
22:46:11.960: [Error] - <>c__DisplayClass15.<BuildApkAsync>b__14: 'ApkTool failed, see log for further details'
Well then off hand I'd say there is a error in your modification. Or you could try a different version of Apktool. Try arrays.xml on line 30, just like the log says...
thewadegeek said:
Found this by searching...
http://www.virtuousrom.com/p/ten-studio.html
Click to expand...
Click to collapse
Will try it... Nice thing if I can adding new languange in my custrom.
With apk tool I just can do pack the apk, while do repack, I get some error.
ICS or GB
velein said:
Thx, but after changing some language stuff, i try to build the .apk file.
then this happens:
...
22:46:11.960: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'
22:46:11.960: [Error] - <>c__DisplayClass15.<BuildApkAsync>b__14: 'Apktool failed while compiling apk!'
22:46:11.960: [Error] - <>c__DisplayClass15.<BuildApkAsync>b__14: 'ApkTool failed, see log for further details'
Click to expand...
Click to collapse
are u on GB or ics ?
if ICS try this one
http://forum.xda-developers.com/showthread.php?t=1752201
manually i have successfuly mod some apk with it
regards
Can anyone make mod of transparent statusbar for jellysony rom
Sent from my Sony Walkman to yours
me too, waiting for some people to help
sory for my english
No one, here can make transparent status bar for cm10, jellysony
Sent from my Sony Walkman to yours
TAJ_Rocks said:
No one, here can make transparent status bar for cm10, jellysony
Sent from my Sony Walkman to yours
Click to expand...
Click to collapse
be a patient bro, i believe can someone help this
sory for my english
reed_bone said:
be a patient bro, i believe can someone help this
sory for my english
Click to expand...
Click to collapse
Hope so someone would make it
Sent from my Sony Walkman to yours
TAJ_Rocks said:
Can anyone make mod of transparent statusbar for jellysony rom
Sent from my Sony Walkman to yours
Click to expand...
Click to collapse
reed_bone said:
me too, waiting for some people to help
sory for my english
Click to expand...
Click to collapse
I'll try help you.
Please, upload yours SystemUI.apk.
here it is
please do soon
I just make a transparent notification drawer..for CM10,,working on Jelly Sony because the rom based on nAa CM10
TRY THIS
http://forum.xda-developers.com/showthread.php?t=2043272
TAJ_Rocks said:
please do soon
Click to expand...
Click to collapse
Dude, i've got problem decompiling your apk file.
Do you make some modifications on your SystemUI - themes, for exemple?
Well, I've attached 2 files.
1. update-systemui-trans: Will try to make transparent your Status Bar.
2. backup-systemui-user: will recovery your original System file.
For while, i'll try to make it on my device.
Stay tuned!
bobgeneric said:
Dude, i've got problem decompiling your apk file.
Do you make some modifications on your SystemUI - themes, for exemple?
Well, I've attached 2 files.
1. update-systemui-trans: Will try to make transparent your Status Bar.
2. backup-systemui-user: will recovery your original System file.
For while, i'll try to make it on my device.
Stay tuned!
Click to expand...
Click to collapse
that is because you've just got the SystemUI.apk
u need to first install the framework of the rom then only u can decompile the apk's of that rom..
@TAJ
if u can upload framework-res.apk, i can try it out..
---------- Post added at 05:27 PM ---------- Previous post was at 04:47 PM ----------
Yes now I can.. I tried it and got it done for me on nightly i'm using..
Just upload the framework-res.apk
Dont be lazy..
Hit the thanx button buddy..
Sidy said:
that is because you've just got the SystemUI.apk
u need to first install the framework of the rom then only u can decompile the apk's of that rom..
@TAJ
if u can upload framework-res.apk, i can try it out..
---------- Post added at 05:27 PM ---------- Previous post was at 04:47 PM ----------
Yes now I can.. I got it done for me on nightly i'm using..
Just upload the framework-res.apk
Dont be lazy..
Hit the thanx button buddy..
Click to expand...
Click to collapse
Sorry, but you don't help me... :'(
I got that same log error decompiling my own SystemUI
bobgeneric said:
Sorry, but you don't help me... :'(
I got that same log error decompiling my own SystemUI
Click to expand...
Click to collapse
Which apk tool are u using.. Get the latest apk tool.. And if u can post wat error u getting might b I can.. I'm still learning all these like u so can't b sure to help u.. But ya we both will learn something from it..
Dont be lazy..
Hit the thanx button buddy..
Sidy said:
Which apk tool are u using.. Get the latest apk tool.. And if u can post wat error u getting..
Dont be lazy..
Hit the thanx button buddy..
Click to expand...
Click to collapse
My SystemUI.apk
Virtuous Ten Studio+apktool_1.5.0
Log error:
Code:
08:39:07.350: [Debug] - RecentFilesViewModel.LoadRecentFilesFromSettings: 'Loading recent files, found 3'
08:39:07.442: [Debug] - AboutViewModel.Initialize: 'Problem loading assembly for version information: C:\Program Files\Virtuous Ten Studio\unins000.exe'
08:39:07.443: [Debug] - AboutViewModel.Initialize: 'VTS: 1.11.21.7217'
08:39:07.443: [Debug] - AboutViewModel.Initialize: 'LogFramework: 1.11.21.5826'
08:39:07.443: [Debug] - AboutViewModel.Initialize: 'SmaliStructure: 1.11.21.3523'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'M10Framework: 1.11.21.2645'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'M10Structure: 1.11.21.2053'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'Utilities: 1.11.21.3584'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'ToolWrapper: 1.11.21.5634'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'UACHelper: 1.11.21.3494'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'TaskFramework: 1.11.21.2390'
08:39:07.444: [Debug] - AboutViewModel.Initialize: 'SatisfactionTracker: 1.11.21.2472'
08:39:09.264: [Debug] - StartupManager.LogSystemInformation: 'OS: 6.1.7601.65536'
08:39:09.265: [Debug] - StartupManager.LogSystemInformation: '.Net: 4.0.30319.296'
08:39:09.265: [Debug] - StartupManager.LogSystemInformation: 'CPU cores: 2'
08:39:09.265: [Debug] - StartupManager.LogSystemInformation: 'Resolution: 1440x900'
08:39:09.265: [Debug] - StartupManager.LogSystemInformation: 'RAM: 3291,648MB'
08:39:13.137: [Debug] - ApkTool.SearchForFrameworkPath: 'Using ApkTool framework path: C:\Users\Herbert\apktool\framework'
08:39:16.534: [Debug] - LicenseManager.GetLicense: 'Searching documents folder for license'
08:39:16.534: [Normal] - LicenseManager.GetLicense: 'No license file found, showing dialog'
08:39:21.631: [Normal] - WorkspaceViewModel.LoadSolution: 'Loading solution, path: C:\Users\Herbert\Documents\Virtuous Ten Studio\Projects\SystemUI-ICS\SystemUI-ICS.tensln'
08:39:21.720: [Debug] - TenSolutionViewModel.Initialize: 'Solution loading: 85ms'
08:39:23.174: [Normal] - StartupManager.SearchForUpdates: 'Searching for updates, beta: False, alpha: False'
08:39:26.500: [Debug] - TenProjectViewModel.LoadBackups: 'Found 13 backups for project 'SystemUI.apk''
08:39:27.571: [Debug] - ApkProjectViewModel.AnalyzeAdditionalData: 'Project 'SystemUI.apk' doesn't have a successful import, aborting load of additional data.'
08:40:43.643: [Debug] - ADBTool.Shell: 'Starting Adb...'
08:40:52.751: [Debug] - ADBTool.Shell: 'ADB shell: su'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: find /data/app /system/app /system/framework -type f \( -iname "*.apk" -o -iname "*.jar" \)'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: exit'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: exit'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: [email protected]:/ # su'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: [email protected]:/ # find /data/app /system/app /system/framework -type f \( -inam'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: tem/framework -type f \( -inam <e "*.apk" -o -iname "*.jar" \)'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /data/app/com.buak.Link2SD-2.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /data/app/com.teslacoilsw.launcher-1.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /data/app/com.speedsoftware.rootexplorer-1.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Talk.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SetupWizard.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Phonesky.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/OneTimeInitializer.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/NetworkLocation.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/MediaUploader.apk'
08:40:52.752: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleServicesFramework.apk'
08:40:52.753: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GooglePartnerSetup.apk'
08:40:52.753: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleLoginService.apk'
08:40:52.753: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleFeedback.apk'
08:40:52.753: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleEars.apk'
08:40:52.753: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/WAPPushManager.apk'
08:40:52.753: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/VpnDialogs.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/UserDictionaryProvider.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Trebuchet.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/ThemeManager.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/ThemeChooser.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/TelephonyProvider.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SystemUI.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SystemConnector.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Superuser.apk'
08:40:52.755: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Stk.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleContactsSyncAdapter.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SpeechRecorder.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SpareParts.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SoundRecorder.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SharedStorageBackup.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/SettingsProvider.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Settings.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Radio.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleCalendarSyncAdapter.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/PicoTts.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Phone.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/PackageInstaller.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Mms.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/MiniCM10.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/MediaProvider.apk'
08:40:52.756: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/LiveWallpapersPicker.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/LatinIME.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/KeyChain.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/InputDevices.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/HTMLViewer.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GoogleBackupTransport.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Gallery2.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/FmRxService.apk'
08:40:52.757: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Exchange2.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Email.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/DrmProvider.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/DownloadProviderUi.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/DownloadProvider.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Development.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/DeskClock.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/DefaultContainerService.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/GenieWidget.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/DSPManager.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CrystalMiniCM10.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/ContactsProvider.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Contacts.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CertInstaller.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CalendarProvider.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Calendar.apk'
08:40:52.758: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Calculator.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CMWallpapers.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CMUpdater.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/ChromeBookmarksSyncAdapter.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CMFileManagerThemes.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/CMFileManager.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Browser.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Bluetooth.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/BackupRestoreConfirmation.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/ApplicationsProvider.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/Apollo.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/app/AntHalService.apk'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/core.jar'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.google.widevine.software.drm.jar'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/core-junit.jar'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.google.android.media.effects.jar'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/content.jar'
08:40:52.759: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.google.android.maps.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.sonyericsson.suquashi.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.dsi.ant.antradio_library.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.android.location.provider.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/com.android.future.usb.accessory.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/bu.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/bouncycastle.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/bmgr.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/apache-xml.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/uiautomator.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/android.test.runner.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/svc.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/android.policy.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/services.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/am.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/send_bug.jar'
08:40:52.760: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/SemcSmfmf.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/requestsync.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/pm.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/monkey.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/javax.obex.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/input.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/ime.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/framework2.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/framework.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/framework-res.apk'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/fmreceiverif.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: /system/framework/ext.jar'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: [email protected]:/ # exit'
08:40:52.761: [Debug] - ADBTool.Shell: 'ADB shell: [email protected]:/ # exit'
08:41:01.244: [Normal] - <>c__DisplayClassf.<UseRemoteFile>b__e: 'Importing remote file: /system/app/SystemUI.apk'
08:41:01.250: [Debug] - ADBTool.ADBSend: 'Starting Adb...'
08:41:01.320: [Debug] - ADBTool.ADBSend: 'ADB command: pull "/system/app/SystemUI.apk" "C:\Users\Herbert\AppData\Local\Temp\975e2449-08b1-4b07-847b-983f5bf242bf\SystemUI.apk"'
08:41:01.690: [Debug] - ADBTool.ADBSend: 'ADB: 3558 KB/s (1217250 bytes in 0.334s)'
08:41:01.708: [Debug] - <DeleteOldFilesAsync>d__9.MoveNext: 'Deleting old project files'
08:41:04.216: [Debug] - <>c__DisplayClass32.<ImportFilesAsync>b__31: 'Decompiling: C:\Users\Herbert\AppData\Local\Temp\975e2449-08b1-4b07-847b-983f5bf242bf\SystemUI.apk'
08:41:04.233: [Debug] - <>c__DisplayClass32.<ImportFilesAsync>b__31: 'SystemUI.apk: Decompiling resource files'
08:41:04.235: [Normal] - ApkTool.DecompileApk: 'Decompiling apk: SystemUI.apk'
08:41:04.240: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files\Java\jre6\bin\java.exe'
08:41:04.240: [Debug] - ApkTool.DecompileApk: 'ApkTool args: -jar "C:\Program Files\Virtuous Ten Studio\External\ApkTool\apktool_1.4.7.jar" d -s -t tag -f "C:\Users\Herbert\AppData\Local\Temp\975e2449-08b1-4b07-847b-983f5bf242bf\SystemUI.apk" "C:\Users\Herbert\Documents\Virtuous Ten Studio\Projects\SystemUI-ICS\SystemUI.apk\Data"'
08:41:13.474: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Copying raw classes.dex file...'
08:41:13.475: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table...'
08:41:13.491: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
08:41:13.522: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table from file: C:\Users\Herbert\apktool\framework\1-tag.apk'
08:41:13.523: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
08:41:13.523: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding file-resources...'
08:41:13.523: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080661'
08:41:13.523: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080660'
08:41:13.523: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
08:41:13.524: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
08:41:13.524: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
08:41:13.524: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
08:41:13.524: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080660'
08:41:13.524: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080661'
08:41:13.525: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding values*/* XMLs...'
08:41:13.525: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Done.'
08:41:13.525: [Error] - ApkTool.DecompileApk: 'ApkTool: Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01080661'
08:41:13.525: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)'
08:41:13.525: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)'
08:41:13.526: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)'
08:41:13.526: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)'
08:41:13.526: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)'
08:41:13.526: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)'
08:41:13.526: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)'
08:41:13.526: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)'
08:41:13.527: [Error] - ApkTool.DecompileApk: 'ApkTool: at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)'
08:41:13.527: [Error] - ApkTool.DecompileApk: 'ApkTool: at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)'
08:41:13.527: [Error] - ApkTool.DecompileApk: 'ApkTool: at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)'
08:41:13.527: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)'
08:41:13.527: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)'
08:41:13.528: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)'
08:41:13.528: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)'
08:41:13.528: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)'
08:41:13.528: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:94)'
08:41:13.528: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)'
08:41:13.529: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.apktool.Main.cmdDecode(Main.java:128)'
08:41:13.529: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:65)'
08:41:13.529: [Debug] - ApkTool.DecompileApk: 'ApkTool failed, see log for further details'
08:41:13.529: [Debug] - ApkTool.DecompileApk: 'Exitcode: 1'
08:41:13.529: [Error] - <>c__DisplayClass32.<ImportFilesAsync>b__31: 'SystemUI.apk: Decompiling resource files failed!'
08:41:14.041: [Debug] - TenProjectViewModel.LoadBackups: 'Found 13 backups for project 'SystemUI.apk''
08:41:14.101: [Debug] - ApkProjectViewModel.AnalyzeAdditionalData: 'Project 'SystemUI.apk' doesn't have a successful import, aborting load of additional data.'
I guess we will have to wait for some expert..
Are u using. ADB or apk tool command window..
I haven't used those, I have been using the default Windows7 command prompt..
Dont be lazy..
Hit the thanx button buddy..
Sidy said:
I guess we will have to wait for some expert..
Are u using. ADB or apk tool command window..
I haven't used those, I have been using the default Windows7 command prompt..
Dont be lazy..
Hit the thanx button buddy..
Click to expand...
Click to collapse
I did consult some experts, and all that i needed just change my framework tag and API Level to 4.1
Now i can decompile my own SystemUI.apk
The problem now, is to make effect the transparency. I edited my drawable.xml... changed the .png... but no effect...
I'm having problems decompiling APKs from the Huawei U8350.
I have tried the latest versions of APKTool, APKManager, APK Multi-Tool and also Virtuous Ten Studio. Of the four VTS has the least errors but still it is not decompiling properly and it doesn't matter which APK it is. The typical errors are as follows.
Code:
09:54:39.800: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table...'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Config flags size > 36. Exceeding bytes: 0xFA000000.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Invalid config flags detected. Dropping resources: array-w101dp-ERR0'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Config flags size > 36. Exceeding bytes: 0x38000000.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Invalid config flags detected. Dropping resources: array-w224dp-ERR1'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Config flags size > 36. Exceeding bytes: 0x6C020000.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Invalid config flags detected. Dropping resources: array-w224dp-ERR2'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Config flags size > 36. Exceeding bytes: 0x3A030000.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Invalid config flags detected. Dropping resources: array-w224dp-ERR3'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Decoding AndroidManifest.xml with resources...'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table from file: C:\Users\Duncan\apktool\framework\1.apk'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Regular manifest package...'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Decoding file-resources...'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: W: Cant find 9patch chunk in file: "drawable/candidate_hl_bg2.9.PNG". Renaming it to *.png.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Decoding values */* XMLs...'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Done.'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'ApkTool: I: Copying assets and libs...'
09:54:39.801: [Debug] - ApkTool.DecompileApk: 'Apk decompiled!'
Can anyone help?
Q&A for [Windows][UTILITY][TOOL] APK Multi-Tool
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Windows][UTILITY][TOOL] APK Multi-Tool. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Issue Explianed
bovirus said:
Please read carefully the answer and can image that YOU are wrong.
You are talking about an object that YOU DON'T KNOW.
As I explained the folder/storage unit is not part of this tools.
This tool decompress/recompress/sign the apk. That's all.
All other activities are out of this thread.
Click to expand...
Click to collapse
They are referring to the SystemUI.apk location change as of 4.4 KitKat or higher see URL: android.googlesource.com/platform/frameworks/base/+/ccbf84f
The system.bat file in the other directory is the issue; I have added the SystemUI.apk location and corrected some typos to the system.bat file for use on 4.4 Kitkat or higher.
I added lines 21, 45-46.
Code:
@ECHO off
COLOR 0A
ECHO *********************************************************************************
ECHO * *
ECHO * We are about to pull the needed Dependencies from your phone *
ECHO * This Is a Universal Script Designed to attempt to pull all needed Files *
ECHO * *
ECHO *********************************************************************************
pause
cls
ECHO *********************************************************************************
ECHO * *
ECHO * All ROMs Froyo and above require the system/framework/framework-res.apk *
ECHO * All ROMs Gingerbread and above require the /system/app/SystemUI.apk *
ECHO * All Samsung ROMs require the /system/framework/twframework-res.apk *
ECHO * All Sense UI ROMs require the system/framework/com.htc.resources.apk *
ECHO * All Xperia ROMs require the system/framework/SemcGenericUxpRes.apk *
ECHO * All XNote ROMs require the system/framework/lidroid-res.apk *
ECHO * All mediatek chipset Devices require the system/framework/mediatek-res.apk *
ECHO * All MIUI ROMs may require the system/framework/framework-miui.apk *
ECHO * ALL v4.4 KitKat and above require the /system/priv-app/SystemUI.apk *
ECHO * *
ECHO *********************************************************************************
pause
ECHO. Waiting for device...
adb kill-server
adb wait-for-device
ECHO *********************************************************************************
ECHO * *
ECHO * Device found Beginning system pull from required files from phone *
ECHO * Please note that not all phones will have all the files listed above *
ECHO * *
ECHO *********************************************************************************
ECHO. Device found.
ECHO attempting to pull framework-res.apk
adb pull system/framework/framework-res.apk
ECHO attempting to pull twframework-res.apk
adb pull system/framework/twframework-res.apk
ECHO attempting to pull com.htc.resources.apk
adb pull system/framework/com.htc.resources.apk
ECHO attempting to pull SemcGenericUxpRes.apk
adb pull system/framework/SemcGenericUxpRes.apk
ECHO attempting to pull SystemUI.apk
adb pull system/app/SystemUI.apk
ECHO attempting to pull SystemUI.apk for v4.4 KitKat and above
adb pull system/priv-app/SystemUI.apk
ECHO attempting to pull lidroid-res.apk
adb pull system/framework/lidroid-res.apk
ECHO attempting to pull mediatek-res.apk
adb pull system/framework/mediatek-res.apk
ECHO attempting to pull framework-miui.apk
adb pull system/framework/framework-miui.apk
pause
ECHO. System pull complete Killing ADB
adb kill-server
ECHO. ADB KILLED NOW Returning to main menu
pause
exit
Error while recompiling whatsapp APK
i was re-compiling an APK , even without modifying it and i keep getting this Error:
PHP:
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on 0677E8'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Copying classes.dex file...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:26: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:25: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:32: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:31: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:42: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:41: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:46: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:45: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:363)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:286)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:258)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:236)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:88)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 5 more'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:89)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
any and i trace the XML and i found the (android:searchViewEditQuery) & (android:searchViewVoiceIcon) already defined !!
plz help
the same Error!!
i got this error too by using APkMultiTool
PHP:
[C:\WINDOWS\TEMP
\brut_util_Jar_3333383656781163009.tmp, p, --forced-package-id, 127, --min-sdk-v
ersion, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.1
1.432, -F, C:\WINDOWS\TEMP\APKTOOL2640143219887317542.tmp, -I, C:\Users\XXXXX\a
pktool\framework\1.apk, -S, C:\Users\XXXXX\APK-Multi-Tool-WIP-2.0\projects\What
sapp64.apk\res, -M, C:\Users\XXXXX\APK-Multi-Tool-WIP-2.0\projects\Whatsapp64.a
pk\AndroidManifest.xml]
Please help , it used to work before, the previous was by using (Virtuous Ten Studio) and this one was by ApkMultiTool "ApkManager_ics" the stable one
f.alansari said:
i was re-compiling an APK , even without modifying it and i keep getting this Error:
PHP:
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on 0677E8'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Copying classes.dex file...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:26: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:25: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:32: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:31: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:42: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:41: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:46: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:45: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:363)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:286)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:258)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:236)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:88)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 5 more'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:89)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
any and i trace the XML and i found the (android:searchViewEditQuery) & (android:searchViewVoiceIcon) already defined !!
plz help
Click to expand...
Click to collapse
When I got this error it was the framework that was installed was not the one the apk file your are trying to compile was made for. Make sure the framework you use is the same one the apk your compiling runs on.
sixxkilur said:
When I got this error it was the framework that was installed was not the one the apk file your are trying to compile was made for. Make sure the framework you use is the same one the apk your compiling runs on.
Click to expand...
Click to collapse
how do i know the correct one? or from where i obtain it?
f.alansari said:
how do i know the correct one? or from where i obtain it?
Click to expand...
Click to collapse
Your best bet is pull the framework directly from the device.
I ran into this issue when I was attempting to compile a theme apk that was designed for CyanogenMod 11 while there was a framework from a touchwiz rom in the other directory and it was also one of my installed frameworks.
I tried different version of APK tools and got the same errors.
I then pulled the framework file from the device running CyanogenMod C11 and installed that one and the errors are gone.
The basics, if your apk will install and run fine on your current OS on your device then pull that framework and or SystemUI.apk then you should be good to go.
Error Decompiling..
--------------------------------------------------------------------------
|Fri 03/27/2015 -- 13:53:30.52|
--------------------------------------------------------------------------
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Input file (Xiao\Documents\APK-Multi-Tool\projects/framework-res.apk) was not found or was not readable.
--------------------------------------------------------------------------
|Fri 03/27/2015 -- 13:57:34.10|
--------------------------------------------------------------------------
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
The directory name is invalid.
The directory is not empty.
Input file (Xiao\Documents\APK-Multi-Tool\projects/framework-res.apk) was not found or was not readable.
(call was unexpected at this time.
--------------------------------------------------------------------------
|Fri 03/27/2015 -- 13:59:05.20|
--------------------------------------------------------------------------
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Input file (Xiao\Documents\APK-Multi-Tool\projects/framework-res.apk) was not found or was not readable.
i have done all the procedure ,but i cant still decompile the apk. pls ....help
problem on decompile
Hi ! everbody!
i have problem on decompile an apk file ... when i try apl multi tool .. i get this erorr :
Code:
--------------------------------------------------------------------------
|Thu 04/23/2015 -- 18:42:38.04|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Press any key to continue . . .
apk file is com.ngb.wpsconnect.aps that i attach here
please help me , ty
hey anyone can help me ?
No answer ???
Up
http://forum.xda-developers.com/showthread.php?t=1310151
So I followed the link supplied within this thread, to a "Hugefiles.net" url .... Next thing you know I have 5000 pop ups, fake virus alert messages from the website.... (shaking my head)
do you think we can talk the poster of the APK Multitool 2.0 to hosting it on DROPBOX? Its FREE ya know. And then we wont have to deal with the annoyances associated with trying to download your stuff.
Thanks.