Hey guys, I need some help here.
I can decompile apks fine, got past the bad magic value error, ICS APKs decompile with no problems at all.
When I make changes... better yet, even when I don't change a thing and go to compile the project, I get an error like this:
Code:
--------------------------------------------------------------------------
|03/15/2012 Thu -- 16:10:40.42|
--------------------------------------------------------------------------
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)
Could Not Find D:\Android\APKMod\place-apk-here-for-modding\../place-apk-here-for-modding/signedPhone.apk
Could Not Find D:\Android\APKMod\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedPhone.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\YG007\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\YG007\apktool\framework\2.apk
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Framework installed to: C:\Users\YG007\apktool\framework\2.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\YG007\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\YG007\apktool\framework\2.apk
I: Loaded.
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...
D:\Android\APKMod\other\..\projects\Phone.apk\res\layout\pref_dialog_editpin.xml:2: error: Error: Resource is not public. (at 'id' with value '@android:id/edittext_container').
aapt: warning: string 'contactsFavoritesLabel' has no default translation in D:\Android\APKMod\other\..\projects\Phone.apk\res; found: bg cs da de el en_US es es_ES et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'contactsIconLabel' has no default translation in D:\Android\APKMod\other\..\projects\Phone.apk\res; found: bg cs da de el en_US es es_ES et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'dialerIconLabel' has no default translation in D:\Android\APKMod\other\..\projects\Phone.apk\res; found: bg cs da de el en_US es es_ES et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt ro ru sk sl sr sv tr uk
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\YG007\AppData\Local\Temp\APKTOOL4181477595211452909.tmp, -I, C:\Users\YG007\apktool\framework\1.apk, -I, C:\Users\YG007\apktool\framework\2.apk, -S, D:\Android\APKMod\other\..\projects\Phone.apk\res, -M, D:\Android\APKMod\other\..\projects\Phone.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\YG007\AppData\Local\Temp\APKTOOL4181477595211452909.tmp, -I, C:\Users\YG007\apktool\framework\1.apk, -I, C:\Users\YG007\apktool\framework\2.apk, -S, D:\Android\APKMod\other\..\projects\Phone.apk\res, -M, D:\Android\APKMod\other\..\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I'm using the LPQ rom, stock, deodexed.
1.apk was pulled from framework-res.apk from the LPQ ROM.
2.apk was pulled from twframework-res.apk from the LPQ ROM.
I've used the search function to find a solution, but I couldn't so I'm posting here.
Anyone know whats going on? Any solutions??
I've been trying for many days to get this to work, it's driving me nuts!!
I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.
Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)
Once again I'n only getting these errors Recompiling TC Themes.
Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.
(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:\android-sdk\place-apk-here-for-modding\../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:\android-sdk\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\twIIce\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W/ResourceType( 3988): Bad string block: string #14 extends to 1847, past end at 60
W/ResourceType( 3988): Bad string block: string #13 extends to 1842, past end at 60
W/ResourceType( 3988): Bad string block: string #12 extends to 1075, past end at 60
W/ResourceType( 3988): Bad string block: string #11 extends to 815, past end at 60
W/ResourceType( 3988): Bad string block: string #10 extends to 812, past end at 60
W/ResourceType( 3988): Bad string block: string #9 extends to 1061, past end at 60
W/ResourceType( 3988): Bad string block: string #8 extends to 1575, past end at 60
W/ResourceType( 3988): Bad string block: string #7 extends to 2075, past end at 60..................
res\xml\com_melodis_midomiMusicIdentifier.xml: Invalid file name: must contain only [a-z0-9_.]
res\xml\com_melodis_midomiMusicIdentifier.xml: Invalid file name: must contain only [a-z0-9_.]
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:9: error: Error: No resource found that matches the given name: attr 'android:shadowColor'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:10: error: Error: No resource found that matches the given name: attr 'android:shadowDx'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:11: error: Error: No resource found that matches the given name: attr 'android:shadowDy'..............................................................................................................................................................................................
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\twIIce\LOCALS~1\Temp\APKTOOL7854039488745011416.tmp, -x, -I, C:\Documents and Settings\twIIce\apktool\framework\1.apk, -S, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res, -M, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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:\DOCUME~1\twIIce\LOCALS~1\Temp\APKTOOL7854039488745011416.tmp, -x, -I, C:\Documents and Settings\twIIce\apktool\framework\1.apk, -S, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res, -M, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I would GREATLY appreciate it if anyone could shed some light on this for me, I've been googling for days, but sadly (at the moment) I've no programming skills whatsoever and sorting through technical posts is confusing at best.
Bump!
twiice said:
Bump!
Click to expand...
Click to collapse
Did you found a solution ?
Ive been trying for days too ... no sucess
Will someone please help me to figure this out
i have jdk6, android sdk installed, my path is set up correctly and im using wanams apk manager
im running all this from root of c drive
I want to Set Logs type to "View by All Call Logs" - Hide SMS from Call Logs
i have decompiled, made the changes and it recompiles perfect
i drop it into my rom, perform a wipe and flash - my contacts then fc's on me...i just cant figure out why...
i have attached my modded file if someone could take a look
Click to expand...
Click to collapse
And for enabling call recording, i get this:
Code:
--------------------------------------------------------------------------
|23/07/2012 -- 10:58:15.51|
--------------------------------------------------------------------------
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/signedSecPhone.apk
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedSecPhone.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-xhdpi/c
all_video_call_icon_dim.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-xhdpi/c
all_video_call_icon_dim.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-land-xh
dpi/call_video_call_icon_dim.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-land-xh
dpi/call_video_call_icon_dim.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-land-xh
dpi/call_video_call_icon.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-xhdpi/c
all_video_call_icon.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc6-xhdpi/c
all_video_call_icon.png
S: Could not decode file, replacing by FALSE value: drawable-mcc450-mnc5-land-xh
dpi/call_video_call_icon.png
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: [email protected]
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
at brut.androlib.Androlib.buildSources(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
The system cannot find the file specified.
Press any key to continue . . .
EDIT
I then decompiled and recompiled without making changes and got this different set of errors
Code:
--------------------------------------------------------------------------
|23/07/2012 -- 11:13:01.23|
--------------------------------------------------------------------------
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/signedSecPhone.apk
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedSecPhone.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\****\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...
aapt: warning: string 'auto_dialing_guide' has no default translation in C:\Apk_
Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'autodialing_enable_1' has no default translation in C:\Ap
k_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'autodialing_enable_2' has no default translation in C:\Ap
k_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'autodialing_enable_3' has no default translation in C:\Ap
k_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'autodialing_enable_disable' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'autodialing_guide_1' has no default translation in C:\Apk
_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'autodialing_guide_2' has no default translation in C:\Apk
_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'callFailed_timeout_408_487' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: pt
aapt: warning: string 'country_setting_1' has no default translation in C:\Apk_M
anager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'country_setting_2' has no default translation in C:\Apk_M
anager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'country_setting_3' has no default translation in C:\Apk_M
anager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'reject_cause_location_reg_fail' has no default translatio
n in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: pt
aapt: warning: string 'reject_cause_location_registering' has no default transla
tion in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: iw pt
aapt: warning: string 'reject_cause_skt_registering' has no default translation
in C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: iw pt
aapt: warning: string 'target_country_setting' has no default translation in C:\
Apk_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
aapt: warning: string 'what_is_autodialing' has no default translation in C:\Apk
_Manager_ICS\other\..\projects\SecPhone.apk\res; found: ko
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es\strings.xml:195:
error: Multiple substitutions specified in non-positional format; did you mean
to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es\strings.xml:196:
error: Unexpected end tag string
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es-rUS\strings.xml:
200: error: Multiple substitutions specified in non-positional format; did you m
ean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-es-rUS\strings.xml:
201: error: Unexpected end tag string
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-it\strings.xml:197:
error: Multiple substitutions specified in non-positional format; did you mean
to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res\values-it\strings.xml:198:
error: Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK
TOOL6557143836137260780.tmp, -I, C:\Users\****\apktool\framework\1.apk, -S, C:\Ap
k_Manager_ICS\other\..\projects\SecPhone.apk\res, -M, C:\Apk_Manager_ICS\other\.
.\projects\SecPhone.apk\AndroidManifest.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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\****\AppData\Local\Temp\APKTOOL6557143836137260780.tmp, -I, C:\Users\****\apk
tool\framework\1.apk, -S, C:\Apk_Manager_ICS\other\..\projects\SecPhone.apk\res,
-M, C:\Apk_Manager_ICS\other\..\projects\SecPhone.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 . . .
C:\Apk_Manager_ICS>
i tried doing this with apktool only and got this:
Code:
icrosoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\****>apktool d "E:\Phone\Android\Galaxy SIII\XXBLG1 **\system\app\SecContacts.apk"
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\****>apktool b C:\Users\****\SecContacts
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK
TOOL289705730655537096.tmp, -I, C:\Users\****\apktool\framework\1.apk, -S, C:\Use
rs\****\SecContacts\res, -M, C:\Users\****\SecContacts\AndroidManifest.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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\****\AppData\Local\Temp\APKTOOL289705730655537096.tmp, -I, C:\Users\****\apkt
ool\framework\1.apk, -S, C:\Users\****\SecContacts\res, -M, C:\Users\****\SecConta
cts\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Click to expand...
Click to collapse
i just want to make my own mods instead of using someone elses files....
still cant get it fixed...does anyone want to help? I thought this was a developer forum...
framework-res.apk wont compile properly after decompiling an making NO changes
Code:
|23/07/2012 -- 14:38:03.56|
--------------------------------------------------------------------------
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/signedframework-res.apk
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'feature_stock_edaily_closed' has no default translation i
n C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: es_US iw ja
ko pt_BR zh_CN zh_HK zh_TW
aapt: warning: string 'feature_stock_edaily_delayed' has no default translation
in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: es_US iw j
a ko pt_BR zh_CN zh_HK zh_TW
aapt: warning: string 'permdesc_fm_receiver' has no default translation in C:\Ap
k_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'permlab_fm_receiver' has no default translation in C:\Apk
_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_allowAttachments' has no default translation i
n C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_allow_smimeencryptionalgonegotiation' has no d
efault translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res
; found: en_US
aapt: warning: string 'policydesc_allow_smimesoftcerts' has no default translati
on in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_limitAttachments' has no default translation i
n C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_max_calendarage' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_max_emailage' has no default translation in C:
\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_max_emailbodytruncsize' has no default transla
tion in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policydesc_max_htmlemailbodytruncsize' has no default tra
nslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: e
n_US
aapt: warning: string 'policydesc_require_encryptedsmimemessages' has no default
translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; foun
d: en_US
aapt: warning: string 'policydesc_require_encryptionsmimealgorithm' has no defau
lt translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fo
und: en_US
aapt: warning: string 'policydesc_require_manualsyncroaming' has no default tran
slation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en
_US
aapt: warning: string 'policydesc_require_signedsmimealgorithm' has no default t
ranslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found:
en_US
aapt: warning: string 'policydesc_require_signedsmimemessages' has no default tr
anslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found:
en_US
aapt: warning: string 'policylab_allowAttachments' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_smimeencryptionalgonegotiation' has no de
fault translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res;
found: en_US
aapt: warning: string 'policylab_allow_smimesoftcerts' has no default translatio
n in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_limitAttachments' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_max_calendarage' has no default translation in
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_max_emailage' has no default translation in C:\
Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_max_emailbodytruncsize' has no default translat
ion in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_max_htmlemailbodytruncsize' has no default tran
slation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en
_US
aapt: warning: string 'policylab_require_encryptedsmimemessages' has no default
translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found
: en_US
aapt: warning: string 'policylab_require_encryptionsmimealgorithm' has no defaul
t translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fou
nd: en_US
aapt: warning: string 'policylab_require_manualsyncroaming' has no default trans
lation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_
US
aapt: warning: string 'policylab_require_signedsmimealgorithm' has no default tr
anslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found:
en_US
aapt: warning: string 'policylab_require_signedsmimemessages' has no default tra
nslation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: e
n_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no defau
lt translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fo
und: en_GB en_US es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation
in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB en_U
S es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no defau
lt translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; fo
und: en_GB en_US es pt
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79
: error: Multiple substitutions specified in non-positional format; did you mean
to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79
: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals
.xml:79: error: Multiple substitutions specified in non-positional format; did y
ou mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals
.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals
.xml:79: error: Multiple substitutions specified in non-positional format; did y
ou mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals
.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml
:79: error: Multiple substitutions specified in non-positional format; did you m
ean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml
:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml
:79: error: Multiple substitutions specified in non-positional format; did you m
ean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml
:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc260-
en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc260-
en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc410-
en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-mcc310-mnc410-
en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\DSA\AppData\Local\Temp\APK
TOOL3382395325731499172.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framew
ork-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\Andr
oidManifest.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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\****\AppData\Local\Temp\APKTOOL3382395325731499172.tmp, -x, -S, C:\Apk_Manag
er_ICS\other\..\projects\framework-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\
projects\framework-res.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 . . .
Try taking a look at this thread in Android development http://forum.xda-developers.com/showthread.php?t=1752201
Sent from my GT-I9300 using Tapatalk 2
_neutron_ said:
still cant get it fixed...does anyone want to help? I thought this was a developer forum...
Click to expand...
Click to collapse
It is but expecting a developer to be at your instant service is stupid .
A developer who knows the answer has to see your post first they don't sit here waiting but are in their hidey holes developing .
jje
I've had this exact same issue decompiling and recompiling.
I'm going to try my Linux box next if I don't get any joy
JJEgan said:
It is but expecting a developer to be at your instant service is stupid .
A developer who knows the answer has to see your post first they don't sit here waiting but are in their hidey holes developing .
jje
Click to expand...
Click to collapse
Thanks for the name calling the first time you speak to me...from behind a pc on the web no less....very manly of you JJ
_neutron_ said:
Thanks for the name calling the first time you speak to me...from behind a pc on the web no less....very manly of you JJ
Click to expand...
Click to collapse
If it helps you, you can install S Voice and disable the double click from the settings of the app. That just decreased my home button time significantly.
_neutron_ said:
Thanks for the name calling the first time you speak to me...from behind a pc on the web no less....very manly of you JJ
Click to expand...
Click to collapse
I have a feeling no developer will help you when you have that kind of attitude.
I was going to post here earlier until I saw the smart comment you made in your second post.
Sent from my GT-I9300 using xda premium
Kryten2k35 said:
If it helps you, you can install S Voice and disable the double click from the settings of the app. That just decreased my home button time significantly.
Click to expand...
Click to collapse
Thanks but thats not what im after
im building a rom - i can mod/decompile/recompile .jar files perfect, i know how to set a rom up blah blah blah - i just cant decompile ANY apks without an error or the relevant app fc'ing on me when flashed
The only things i have on my pc are the android sdk, the jdk, a firmware, some mods and multiple apk editing software - i have re-flashed windows and everything else around 20 times. i have followed 19 different tutorials, downloaded 13 different packages that people say will allow me to do what i want but they dont
i know i have the relevant programs installed correctly, and i know my path is correct (otherwise apk manager wouldnt pick java up and wont work)
I just wanted to know what all the people on this forum are using as they are bringing ou mods and roms every day...not everyone uses linux
i have some background knowledge in android and know how to read smali/xml files, i know how to make the mods and where the mods needs to go....i just cannot get the decompiling/recompiling sorted at all....this has taken me months to get this sorted
nodstuff said:
I have a feeling no developer will help you when you have that kind of attitude.
I was going to post here earlier until I saw the smart comment you made in your second post.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
i suppose im meant to feel like im missing out on your expertise now?
my second post in this thread was THAT BAD it caused you to not want to help AND to make a derogatory comment? i think you need to get out more
and JJ calling me stupid is ok because he has a lot of posts and thanks? hypocrite much?
I didn't make any derogatory comment, I was merely stating facts.
You won't get far here when you behave like that.
You are very angry and there is no need for it.
Sent from my GT-I9300 using xda premium
nodstuff said:
I didn't make any derogatory comment, I was merely stating facts.
You won't get far here when you behave like that.
You are very angry and there is no need for it.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
lol, and your opinion counts for....? i thought so
im not angry (i love being called angry by a person on the web based on the content of one post - baseless drivel), frustrated yes...theres a difference 'o great one'
_neutron_ said:
Thanks but thats not what im after
im building a rom - i can mod/decompile/recompile .jar files perfect, i know how to set a rom up blah blah blah - i just cant decompile ANY apks without an error or the relevant app fc'ing on me when flashed
The only things i have on my pc are the android sdk, the jdk, a firmware, some mods and multiple apk editing software - i have re-flashed windows and everything else around 20 times. i have followed 19 different tutorials, downloaded 13 different packages that people say will allow me to do what i want but they dont
i know i have the relevant programs installed correctly, and i know my path is correct (otherwise apk manager wouldnt pick java up and wont work)
I just wanted to know what all the people on this forum are using as they are bringing ou mods and roms every day...not everyone uses linux
i have some background knowledge in android and know how to read smali/xml files, i know how to make the mods and where the mods needs to go....i just cannot get the decompiling/recompiling sorted at all....this has taken me months to get this sorted
Click to expand...
Click to collapse
I'm in the same position. I have JD for Eclipse installed and such, but I can't get APK's to recompile at all. I get the exact same errors.
Nobody around here is going to hold your hand and help you out with an attitude like that.
Sent from my GT-I9300 using Tapatalk 2
1. Use APKTool directly instead of wrappers. You learn more this way, I promise.
2. You need a newer aapt.exe in your PATH. Grab the Windows platform-tools from here: http://www.hariadi.org/android/manually-download-of-android-sdk-tools-and-sdk-platform-tools/, take the aapt.exe and place it in a folder that's in your %PATH% (or install the Android SDK)
3. APKTool ships with an older framework-res. Grab /system/framework/framework-res.apk (and optionally twframework-res.apk) and run "apktool if framework-res.apk"
(I haven't read your post fully so there may be something I missed, but the above should get you started)
qwerty12 said:
1. Use APKTool directly instead of wrappers. You learn more this way, I promise.
2. You need a newer aapt.exe in your PATH. Grab the Windows platform-tools from here: http://www.hariadi.org/android/manually-download-of-android-sdk-tools-and-sdk-platform-tools/, take the aapt.exe and place it in a folder that's in your %PATH% (or install the Android SDK)
3. APKTool ships with an older framework-res. Grab /system/framework/framework-res.apk (and optionally twframework-res.apk) and run "apktool if framework-res.apk"
(I haven't read your post fully so there may be something I missed, but the above should get you started)
Click to expand...
Click to collapse
Thanks fella
Ive got all that sorted, using apktool returns errors also...so im not sure
As i mentioned i can de/recompile .jar files no problem...and some 'normal' system apks work fine...its only the important ones that i want to mod that are causing issues
_neutron_ said:
using apktool returns errors also...so im not sure
Click to expand...
Click to collapse
Could you give me a log of what happens when you use APKTool directly, please? To decompile android.policy.jar I have to use this version (I don't recommend using it for everything as it doesn't format the resources' XML correctly - but it's fine for making edits with) or I get a "bad magic value" error
Will do, im not at home right now
edit:
complete log of using apktool
As you can see, it loads and decompiles fine, but wont recompile an unmodified framework
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\****>apktool
Apktool v1.4.5 - a tool for reengineering Android apk files
Copyright 2010 Ryszard Wi?niewski <[email protected]>
Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]
COMMANDs are:
d[ecode] [OPTS] <file.apk> [<dir>]
Decode <file.apk> to <dir>.
OPTS:
-s, --no-src
Do not decode sources.
-r, --no-res
Do not decode resources.
-d, --debug
Decode in debug mode. Check project page for more info.
-f, --force
Force delete destination directory.
-t <tag>, --frame-tag <tag>
Try to use framework files tagged by <tag>.
--keep-broken-res
Use if there was an error and some resources were dropped, e.g.:
"Invalid config flags detected. Dropping resources", but you
want to decode them anyway, even with errors. You will have to
fix them manually before building.
b[uild] [OPTS] [<app_path>] [<out_file>]
Build an apk from already decoded application located in <app_path>.
It will automatically detect, whether files was changed and perform
needed steps only.
If you omit <app_path> then current directory will be used.
If you omit <out_file> then <app_path>/dist/<name_of_original.apk>
will be used.
OPTS:
-f, --force-all
Skip changes detection and build all files.
-d, --debug
Build in debug mode. Check project page for more info.
if|install-framework <framework.apk> [<tag>]
Install framework file to your system.
For additional info, see: http://code.google.com/p/android-apktool/
C:\Users\****>apktool d C:\framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\****>apktool b C:\Users\****\framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK
TOOL1954503919927585308.tmp, -x, -S, C:\Users\****\framework-res\res, -M, C:\User
s\****\framework-res\AndroidManifest.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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\****\AppData\Local\Temp\APKTOOL1954503919927585308.tmp, -x, -S, C:\Users\****
\framework-res\res, -M, C:\Users\****\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
C:\Users\****>
_neutron_ said:
Will do, im not at home right now
edit:
Click to expand...
Click to collapse
ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK
Click to expand...
Click to collapse
Like I said in my previous post, you need to have aapt.exe in a folder that's in your path
Hi,
I have problem with decompiling "SystemUI.apk". I tried this guide. framework-res.apk I decompiled succesfully, but when I tried decompile systemui.apk, I give this error. I installed JAVA and APKmanager... Need I still install something?
Code:
|st 14. 11. 2012 -- 17:09:35,37|
--------------------------------------------------------------------------
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Please, I need advise.
Thanks
Mlopik said:
Hi,
I have problem with decompiling "SystemUI.apk". I tried this guide. framework-res.apk I decompiled succesfully, but when I tried decompile systemui.apk, I give this error. I installed JAVA and APKmanager... Need I still install something?
Code:
|st 14. 11. 2012 -- 17:09:35,37|
--------------------------------------------------------------------------
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\Martin\Downloads\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Please, I need advise.
Thanks
Click to expand...
Click to collapse
Try to put Apk Manager on root hard drive "C:\" "D:\"
Enviado desde mi X10i
Are you using latest apktool 1.5.0 ?
xSkArx said:
Try to put Apk Manager on root hard drive "C:\" "D:\"
Enviado desde mi X10i
Click to expand...
Click to collapse
Thanks it is working... :highfive:
Some help please.I have the APK Manager in C:\ and still getting an error when i trying to decompile systemui.apk. What I'm I doing wrong? Heres the screen shot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ink718 said:
Some help please.I have the APK Manager in C:\ and still getting an error when i trying to decompile systemui.apk. What I'm I doing wrong? Heres the screen shot:
Click to expand...
Click to collapse
Use latest apktool 1.5.1
varun.chitre15 said:
Use latest apktool 1.5.1
Click to expand...
Click to collapse
Also make sure there are no spaces in your path. Example:
C:\Foldername\ (correct)
C:\Folder name\ (not correct)
Inviato dal mio GT-I9100 con Tapatalk 2
I succesfuly decompiled .apk with this simple guide!
You can try it. Thanks to him.