Did you if the framework-res.apk of your ROM?I keep getting this after I edit and try to recompile. SecSettings.apk, trying to do the clock mod by Didact74. Any help would be appreciated.
Team Rejectz QUICK FIX
Compiling...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'cpa_err_msg_parameter_error' has no default translation
n C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: en_U
ja ko
aapt: warning: string 'insert_simuim_card' has no default translation in C:\Us
s\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: es_ES it ko p
zh_CN
aapt: warning: string 'insert_simuim_card_message' has no default translation
C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: es_ES
t ko pl zh_CN
aapt: warning: string 'stms_version' has no default translation in C:\Users\Ke
n\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: ja
C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res\xml\date_time_
efs.xml:8: error: Error: No resource found that matches the given name (at 'en
ies' with value '@array/clock_style_entries').
C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res\xml\date_time_
efs.xml:8: error: Error: No resource found that matches the given name (at 'en
yValues' with value '@array/clock_style_values').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutEx
ption: could not exec command: [aapt, p, -F, C:\Users\Kevin\AppData\Local\Temp
PKTOOL6288621379714724474.tmp, -I, C:\Users\Kevin\apktool\framework\1.apk, -S,
:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res, -M, C:\Users\K
in\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.j
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:
sers\Kevin\AppData\Local\Temp\APKTOOL6288621379714724474.tmp, -I, C:\Users\Kev
\apktool\framework\1.apk, -S, C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\
cSettings\res, -M, C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings
ndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.j
a:253)
... 6 more
!!!Aborted!!!
Press any key to continue . . .
sorry for asking, but, did you get to fix the problem?Ah, thank you. That might be the problem.
---------- Post added at 11:27 AM ---------- Previous post was at 10:53 AM ----------
My laptop went down so I'm reloading everything on a different one so I'll try again when I get everything up and running.
Use both of those and you should be fine.I'm using Miui ROM and only have q out of the 3 apk's. Only have framework-res.apk and framework-miui-res.apk
Sent from my SPH-L710 using XDA Premium 4 mobile app
The apk in the dist folder will have all your edited smali files, png's, etc. The only thing missing is the meta-inf folder, which you can copy into the new apk using 7zip (or a similar program) the dist folder will be its own folder inside the apk named folder. Afaik, the build folder is backups of the original files, could be wrong about that though. You should be fine to do miui roms with this tool.:beer:Have a question about steps 7-9 to decompile a apk. So for clarification cause I'm a noob at this. The dist folder holds the new apk, correct. When it says using the build folder to put into the apk of the ROM does that build folder have the dist folder within it? Also once I drag the file back into the apk of the ROM will it automatically make the changes needed? Because initially when you start decompiling your moving or copying the apk your decompiling? Also the apk I would like to decompile is phone.apk which is in apps. But there is no systemui.apk in MIUI ROMs. If not can I still decompile it?
Sent from my SPH-L710 using XDA Premium 4 mobile app
Ok cause I used a different apktool before and didn't have a dist folder when I recompiled that had my new and modified apk that's why I asked. My new apk was no where to be foundThe apk in the dist folder will have all your edited smali files, png's, etc. The only thing missing is the meta-inf folder, which you can copy into the new apk using 7zip (or a similar program) the dist folder will be its own folder inside the apk named folder. Afaik, the build folder is backups of the original files, could be wrong about that though. You should be fine to do miui roms with this tool.:beer:
Slithering from the nether regions of a twisted mind and tarnished soul
Here is an updated version of this invaluable tool.. making development easy. .Ok cause I used a different apktool before and didn't have a dist folder when I recompiled that had my new and modified apk that's why I asked. My new apk was no where to be found
Sent from my SPH-L710 using XDA Premium 4 mobile app
Someone just snuck back in under the radar..lolHere is an updated version of this invaluable tool.. making development easy. .
http://d-h.st/fa9
Profit! !
Nice to see you guys too.. hit me up on handouts when you have the chance bilg..Nice
![]()
I get off work at 2 (EST)Nice to see you guys too.. hit me up on handouts when you have the chance bilg..
Thanks for hitting me back bro. You're appreciated.I get off work at 2 (EST)
![]()