Related
hey i was trying to compile my email.apk but keep getting errors sorry for the long post can anyone help me. this is what i am getting what have i done wrong.
C:\>cd "C:\Documents and Settings\belsmith\Desktop\Apktool"
C:\Documents and Settings\belsmith\Desktop\Apktool>apktool b email
I: Checking whether sources has changed...
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:\DOCUME~1\belsmith\LOCALS~1\Temp\
APKTOOL5343843107761720866.tmp, -I, C:\Documents and Settings\belsmith\apktool\f
ramework\1.apk, -I, C:\Documents and Settings\belsmith\apktool\framework\2.apk,
-S, C:\Documents and Settings\belsmith\Desktop\Apktool\email\res, -M, C:\Documen
ts and Settings\belsmith\Desktop\Apktool\email\AndroidMan ifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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:\D
OCUME~1\belsmith\LOCALS~1\Temp\APKTOOL534384310776 1720866.tmp, -I, C:\Documents
and Settings\belsmith\apktool\framework\1.apk, -I, C:\Documents and Settings\bel
smith\apktool\framework\2.apk, -S, C:\Documents and Settings\belsmith\Desktop\Ap
ktool\email\res, -M, C:\Documents and Settings\belsmith\Desktop\Apktool\email\An
droidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:191)
... 6 more
aapt: warning: string 'account_settings_smime_import_certificate_title' has no d
efault translation in C:\Documents and Settings\belsmith\Desktop\Apktool\email\r
es; found: de es fr it ko
aapt: warning: string 'account_settings_smime_installed_certificates_lis t' has n
o default translation in C:\Documents and Settings\belsmith\Desktop\Apktool\emai
l\res; found: de es fr it ko
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-de\plurals.x
ml:4: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-de\plurals.x
ml:4: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-es\plurals.x
ml:4: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-es\plurals.x
ml:4: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-fr\plurals.x
ml:4: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-fr\plurals.x
ml:4: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-it\plurals.x
ml:4: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-it\plurals.x
ml:4: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-ko\plurals.x
ml:4: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\belsmith\Desktop\Apktool\email\res\values-ko\plurals.x
ml:4: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\belsmith\Desktop\Apktool>
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
--I have made one of the perfect animation xmls that is sure to revamp the way you feel your galaxy y/pocket/pop
--Here are the animations added/replaced-->>>>>>>>>>>
--ICS app opening, closing, switching animations
--My own popup animations,,, (i call as the come from ORIGIN )
--my own recent app dialog open and close animations (looks even better with ics recent app dialog mod)
--Lock screen post swipe gesture animations (the lock screen doesnt fade out now,, rather it zooms out to reveal whats behind)
--All fade-in and fade-out anims regarding popups,, etc replaced
--Shortened anim time to get too systemapps very fast like Settings.apk
--Shall soon add a mod for CRT-ON animation for lockscreen
1) decompile framework-res.apk
2) download the attached zip and copy all files from anim folder inside to framework-res.apk/anim/
3) Open integers.xml and add
these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
4) Recompile and feel a whole new GALAXY YOUNG (its really young and fast now)
-----------------=====================Press THANKS IF YOU LIKED IT :good:---------
=========================================
As ,, said before,,, heres the secret to CRT-on animation after swipe
open lock_screen_exit.xml in anim folder
replace all with this
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false" android:zAdjustment="top"
xmlns:android="http://schemas.android.com/apk/res/android">
<scale android:interpolator="@anim/accelerate_interpolator" android:duration="200" androidivotX="50.0%" androidivotY="50.0%" android:fromXScale="1.0" android:toXScale="1.0" android:fromYScale="1.0" android:toYScale="0.003" />
<scale android:interpolator="@anim/accelerate_interpolator" android:duration="200" androidivotX="50.0%" androidivotY="50.0%" android:startOffset="200" android:fromXScale="1.0" android:toXScale="0.0" android:fromYScale="1.0" android:toYScale="0.5" />
</set>
save and close,,, recompile and push !!!!!!!!!!!!!!!!!
What different with other animation of ICS?JB??
Can you show us the video of the animations?
Sent from my GT-S5360 using xda premium
Will try & report...
Regards,
Ganesh
Please do as i cannot upload video
Ganesh A said:
Will try & report...
Regards,
Ganesh
Click to expand...
Click to collapse
Thankyou,,, please try and report bro,,, check lockscreen after swipe animation,,, popup animation,, recent apps dialog animation,,, and ICS like app opening,, closing transition animations and report,,, Post videos if possible,,, as i cannot upload video ,,,
see again!!!
shoutokuyaki said:
What different with other animation of ICS?JB??
Click to expand...
Click to collapse
Bro,,, Please re read my post and see the extra anims in it
This is my own,,, not some marlin's bro
Cyb3r5p4c3 said:
In case you're using the jelly bean framework from marinalin85, can you pm me this framework-res.apk with your animations? Tia!
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
and i cant send u finished apk as it is of pocket,,, i posted the mod since the mod can be done on any ginger bread build
Can you edit your 1st post - in the miscellaneous options tick the box to disable smilies in text
Will make it easier for people to copy and paste your code without the smilies replacing with a smiley face
i have many posts,, tell me the topic of the post so i can edit
mvsdroid said:
i have many posts,, tell me the topic of the post so i can edit
Click to expand...
Click to collapse
If that's referring to me asking you to disable smilies from your 1st post I'm of course referring to the first post in this thread with all the coding - disable the smilies from the post so it doesn't interfere with the code
SS yo..
rotation animation
can we animate rotation like in cm??? im in GB
noob question....
hey, where I can find Intergers.xml? I cant find it..
pattricio---- some devs/modders are already working on that,,, i am presently expanding my knowledge base so as to do that,,, i too love that animated auto rotate
and Yahailham---- u will find it in values folder
I would LOVE a flashable .zip!
Sent from my GT-S5360 using xda app-developers app
Does this have crt animation?
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
Can you make an overscroll bounce effect plz! I would seriously love that!
:victory::victory::victory:
why i cant recompile the framework after put all the files??
i use framework from hyperion 8
and here is the log from APK Manager.
Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find E:\Android Corner\oprek\Tools\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find E:\Android Corner\oprek\Tools\APK Manager\place-apk-here-for-modding\../place-apk-here-for-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 'Keypad_cancel' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'keyguard_pin_accepted' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'lockscreen_pin_locked_message' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'lockscreen_ruim_pin_blocked' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'lockscreen_sim_pin_blocked' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'lockscreen_simcard_puk_blocked' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'permdesc_accessUsb' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: en_GB nb
aapt: warning: string 'permdesc_readOwnerData' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'permdesc_writeOwnerData' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'permlab_accessUsb' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: en_GB nb
aapt: warning: string 'permlab_readOwnerData' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'permlab_writeOwnerData' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'status_bar_clear_all_button' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'status_bar_latest_events_title' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'status_bar_no_notifications_title' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'status_bar_ongoing_events_title' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'stopSelectingText' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_dual_clock_city_local' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_dual_clock_city_seoul' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_fake_call_activated' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_glass_lock_help_text_1' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_glass_lock_help_text_2' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_puzzle_lock_help_text_1' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_puzzle_lock_help_text_2' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_skt_missing_sim_message1' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_skt_missing_sim_message2' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_skt_usim_not_used' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_help_text_1' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_help_text_2' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_sorry_text' has no default translation in E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res; found: is_IS
E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res\values\integers.xml:26: error: Resource entry config_activityShortDur is already defined.
E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res\values\integers.xml:4: Originally defined here.
E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res\values\integers.xml:27: error: Resource entry config_activityDefaultDur is already defined.
E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res\values\integers.xml:5: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ISKAND~1\AppData\Local\Temp\APKTOOL1774376018245507271.tmp, -x, -S, E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res, -M, E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ISKAND~1\AppData\Local\Temp\APKTOOL1774376018245507271.tmp, -x, -S, E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\res, -M, E:\Android Corner\oprek\Tools\APK Manager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
try to my ussr v9 rom
success
but some system app was fc
like job manager..mms..setting...and rootexploler too
how i fix that
thanks before
I am unable to compile Settings.apk
Please Help
I will explain the details
Got Settings.apk and framework-res.apk from ROM
Placed them in APKTool Directory.
Opened CMD in APKTool Directory
Typed "apktool if framework-res.apk" and press enter
C:\Users\Laura\Desktop\Apk Tool>apktool d settings.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Laura\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Click to expand...
Click to collapse
After that i tried to compile it without making any changes
C:\Users\Laura\Desktop\Apk Tool>apktool b settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Laura\Desktop\Apk Tool\settings\AndroidManifest.xml:73: error: No reso
urce identifier found for attribute 'requiredForAllUsers' in package 'android'
aapt: warning: string 'category_printers' has no default translation in C:\Users
\Laura\Desktop\Apk Tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'cell_broadcast_settings_summary' has no default translati
on in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: az az_AZ et hy ka km
lo mn ms ne ne_NP si si_LK
aapt: warning: string 'experimental_webview' has no default translation in C:\Us
ers\Laura\Desktop\Apk Tool\settings\res; found: af am ar az az_AZ be bg ca cs d
a de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM in it iw
ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl pl pt pt
_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'experimental_webview_summary' has no default translation
in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: af am ar az az_AZ be bg
ca cs da de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM i
n it iw ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl
pl pt pt_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'location_category_app_settings' has no default translatio
n in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'low_battery_warning_policy_notification' has no default t
ranslation in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: es
aapt: warning: string 'nfc_payment_ask' has no default translation in C:\Users\S
hafal\Desktop\Apk Tool\settings\res; found: az az_AZ et hy ka km lo mn ms ne ne_
NP si si_LK
aapt: warning: string 'print_services_title' has no default translation in C:\Us
ers\Laura\Desktop\Apk Tool\settings\res; found: az et hy ka km lo mn ms ne si
aapt: warning: string 'process_stats_ram_use' has no default translation in C:\U
sers\Laura\Desktop\Apk Tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'wimax_settings_summary' has no default translation in C:\
Users\Laura\Desktop\Apk Tool\settings\res; found: az az_AZ et hy ka km lo mn ms
ne ne_NP si si_LK
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\Laura\AppData\Local\Tem
p\APKTOOL3863357879640053709.tmp, -0, arsc, -I, C:\Users\Laura\apktool\framewor
k\1.apk, -S, C:\Users\Laura\Desktop\Apk Tool\settings\res, -M, C:\Users\Laura\
Desktop\Apk Tool\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:
\Users\Laura\AppData\Local\Temp\APKTOOL3863357879640053709.tmp, -0, arsc, -I, C
:\Users\Laura\apktool\framework\1.apk, -S, C:\Users\Laura\Desktop\Apk Tool\set
tings\res, -M, C:\Users\Laura\Desktop\Apk Tool\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 19, --target-sdk-version, 19, -F, C:\Users\Laura\AppData\Local\Temp\
APKTOOL3863357879640053709.tmp, -0, arsc, -I, C:\Users\Laura\apktool\framework\
1.apk, -S, C:\Users\Laura\Desktop\Apk Tool\settings\res, -M, C:\Users\Laura\De
sktop\Apk Tool\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Click to expand...
Click to collapse
Can anyone help me with this ?
I am assuming you are running 4.3 with this if so
Download the zip and extract the folder it has three files in
aapt.exe
apktool.bat
apktool.jar
In your folder C:\Users\Laura\Desktop\Apk Tool replace the files with these (backup you originals first to another folder)
Also copy these same three files to your folder C;\Windows\System32\
Find the framework apktool folder most likely Laura\apktool\framework and delete any files in it called 1.apk, 2.apk
Extract framework-res.apk and twframework-res.apk from your phone to your working folder (you already have the framework one so just the twframework apk)
run the apktool if framework-res.apk then run apktool if twframework-res.apk
This will now have put two complete new files in your apktool framework folder
Finally decompile the secsettings.apk or any apk and try to compile it, hopefully it should work for you
It took me a while to get the correct files to work I was getting the same sort of errors, now it works properly, hope it helps you.
Android.4.3.files
UPDATE, just tried it on SystemUI and it failed, so tried Settings and that didn't fully fail, still created the APK but said there were errors so not sure on that one, only framework-res and twframework-res work without errors, so up to you if you want to try it
ag4751 said:
I am assuming you are running 4.3 with this if so
Download the zip and extract the folder it has three files in
aapt.exe
apktool.bat
apktool.jar
In your folder C:\Users\Laura\Desktop\Apk Tool replace the files with these (backup you originals first to another folder)
Also copy these same three files to your folder C;\Windows\System32\
Find the framework apktool folder most likely Laura\apktool\framework and delete any files in it called 1.apk, 2.apk
Extract framework-res.apk and twframework-res.apk from your phone to your working folder (you already have the framework one so just the twframework apk)
run the apktool if framework-res.apk then run apktool if twframework-res.apk
This will now have put two complete new files in your apktool framework folder
Finally decompile the secsettings.apk or any apk and try to compile it, hopefully it should work for you
It took me a while to get the correct files to work I was getting the same sort of errors, now it works properly, hope it helps you.
Android.4.3.files
UPDATE, just tried it on SystemUI and it failed, so tried Settings and that didn't fully fail, still created the APK but said there were errors so not sure on that one, only framework-res and twframework-res work without errors, so up to you if you want to try it
Click to expand...
Click to collapse
Thank you so much for replying...
But I'm not on 4.3
I'm on CM11 4.4 ( [CM11][4.4][ROM][KERNEL][NOV23] temasek's UNOFFICIAL Build - V7 (r3p2 mali) )
laura almeida said:
Thank you so much for replying...
But I'm not on 4.3
I'm on CM11 4.4 ( [CM11][4.4][ROM][KERNEL][NOV23] temasek's UNOFFICIAL Build - V7 (r3p2 mali) )
Click to expand...
Click to collapse
If you get it work without errors would you let me know how / which apktool and aapt file you use so I can try them its frustrating that only framework and twframework are the only ones that work properly
The apktool.jar in the zip is the latest one compatible with 4,4
ag4751 said:
If you get it work without errors would you let me know how / which apktool and aapt file you use so I can try them its frustrating that only framework and twframework are the only ones that work properly
The apktool.jar in the zip is the latest one compatible with 4,4
Click to expand...
Click to collapse
While using the apktool that you provided i'm getting these errors can you help ?
Code:
C:\Users\Laura\Desktop\Apk tool>apktool b settings
I: Using Apktool 2.0.0-Beta7 on settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'category_printers' has no default translation in C:\Users
\Laura\Desktop\Apk tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'cell_broadcast_settings_summary' has no default translati
on in C:\Users\Laura\Desktop\Apk tool\settings\res; found: az az_AZ et hy ka km
lo mn ms ne ne_NP si si_LK
aapt: warning: string 'experimental_webview' has no default translation in C:\Us
ers\Laura\Desktop\Apk tool\settings\res; found: af am ar az az_AZ be bg ca cs d
a de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM in it iw
ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl pl pt pt
_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'experimental_webview_summary' has no default translation
in C:\Users\Laura\Desktop\Apk tool\settings\res; found: af am ar az az_AZ be bg
ca cs da de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM i
n it iw ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl
pl pt pt_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'location_category_app_settings' has no default translatio
n in C:\Users\Laura\Desktop\Apk tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'nav_bar_button_style' has no default translation in C:\Us
ers\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'nav_button_color_mode_dialog_title' has no default transl
ation in C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'nav_button_color_mode_title' has no default translation i
n C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'navbar_button_style_reset_message' has no default transla
tion in C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'navigation_bar_icon_tint_title' has no default translatio
n in C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'nfc_payment_ask' has no default translation in C:\Users\S
hafal\Desktop\Apk tool\settings\res; found: az az_AZ et hy ka km lo mn ms ne ne_
NP si si_LK
aapt: warning: string 'print_services_title' has no default translation in C:\Us
ers\Laura\Desktop\Apk tool\settings\res; found: az et hy ka km lo mn ms ne si
aapt: warning: string 'process_stats_ram_use' has no default translation in C:\U
sers\Laura\Desktop\Apk tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'shortcuts_color_summary' has no default translation in C:
\Users\Laura\Desktop\Apk tool\settings\res; found: de es fr hr nl pt
aapt: warning: string 'wimax_settings_summary' has no default translation in C:\
Users\Laura\Desktop\Apk tool\settings\res; found: az az_AZ et hy ka km lo mn ms
ne ne_NP si si_LK
I: Building apk file...
laura almeida said:
While using the apktool that you provided i'm getting these errors can you help ?
[/CODE]
Click to expand...
Click to collapse
They are only translation warnings, such as the first one that says
string 'cell_broadcast_settings_summary' has no default translation found: az az_AZ et hy ka km
Means that 'cell_broadcast_settings_summary' isn’t translated into the languages located in these folders az az_AZ et hy ka km
This won’t affect the changes to xml / png files you make,at the end it does say Building apk file, once that’s done you can extract your changed xml / png files and flash them to your phone using whatever custom recovery process you normally use for flashing
ag4751 said:
They are only translation warnings, such as the first one that says
string 'cell_broadcast_settings_summary' has no default translation found: az az_AZ et hy ka km
Means that 'cell_broadcast_settings_summary' isn’t translated into the languages located in these folders az az_AZ et hy ka km
This won’t affect the changes to xml / png files you make,at the end it does say Building apk file, once that’s done you can extract your changed xml / png files and flash them to your phone using whatever custom recovery process you normally use for flashing
Click to expand...
Click to collapse
I tried flashing the modified apk
but no changes after flashing
laura almeida said:
I tried flashing the modified apk
but no changes after flashing
Click to expand...
Click to collapse
Did u find a solution yet?
nerotix said:
Did u find a solution yet?
Click to expand...
Click to collapse
Yes i did.
Method 1.
Edit the script file inside the zip to mount system and to delete the currently existing apk file.
script file location : \META-INF\com\google\android\updater-script
Method 2.
Use Root explorer to mount system as R/O then copy and replace the apk file.
laura almeida said:
Yes i did.
Method 1.
Edit the script file inside the zip to mount system and to delete the currently existing apk file.
script file location : \META-INF\com\google\android\updater-script
Method 2.
Use Root explorer to mount system as R/O then copy and replace the apk file.
Click to expand...
Click to collapse
Hmm and this fixes the compiling error? seems like it has no connection for some reason.
nerotix said:
Hmm and this fixes the compiling error? seems like it has no connection for some reason.
Click to expand...
Click to collapse
no dear
compiling error was only just warnings.
it was not Actually an Error
after displaying all those warnings apktool had build my modified apk
so its not a problem
we can just ignore the warnings.
I'm on LS980. I've taken Deodexed LGSettings.apk, and attempted to Decompile (worked.) but when I try to recompile, even without making any changes, I get errors. Not sure what the error is, aside from something in the /values folder. Anyone know how to get around this? I really want to invert LGSettings for Sprint users, but it seems like it wont be do-able until I can recompile.
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ca\strings.xml:3638: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-cs\strings.xml:3655: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-cs\strings.xml:3656: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-da\strings.xml:3576: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-da\strings.xml:3577: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-es-rES\strings.xml:3663: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-es-rES\strings.xml:3664: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-et\strings.xml:3679: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-et\strings.xml:3680: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-eu\strings.xml:3637: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-eu\strings.xml:3638: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-fa\strings.xml:3714: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-fa\strings.xml:3715: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-fi\strings.xml:3661: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-fi\strings.xml:3662: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-fr-rCA\strings.xml:3592: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-fr-rCA\strings.xml:3593: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-gl\strings.xml:3610: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-gl\strings.xml:3611: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-hi\strings.xml:3665: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-hi\strings.xml:3666: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-hr\strings.xml:3665: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-hr\strings.xml:3666: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-hu\strings.xml:3658: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-hu\strings.xml:3659: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-in\strings.xml:3631: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-in\strings.xml:3632: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-is\strings.xml:3693: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-is\strings.xml:3694: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-kk\strings.xml:3677: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-kk\strings.xml:3678: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-km\strings.xml:3659: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-km\strings.xml:3660: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-lv\strings.xml:3683: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\valuesaapt: warning: string 'please_type_passphrase' has no default t
ranslation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\pro
jects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_certificate' has no default translation in C:\Users\
Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.apk\re
s; found: zh_CN
aapt: warning: string 'wifi_context_menu_change_password' has no default transla
tion in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\
LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_context_menu_change_wapi_certificate' has no default
translation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\p
rojects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_context_menu_connect' has no default translation in
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res; found: zh_CN
aapt: warning: string 'wifi_context_menu_forget' has no default translation in C
:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSetting
s.apk\res; found: zh_CN
aapt: warning: string 'wifi_security_WAPI_CERT' has no default translation in C:
\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings
.apk\res; found: zh_CN
aapt: warning: string 'wifi_security_WAPI_PSK' has no default translation in C:\
Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.
apk\res; found: zh_CN
aapt: warning: string 'wifi_security_short_WAPI_CERT' has no default translation
in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSe
ttings.apk\res; found: zh_CN
aapt: warning: string 'wifi_security_short_WAPI_PSK' has no default translation
in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSet
tings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_as_cert' has no default translation in C:\Users
\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.apk\r
es; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_cancel_button' has no default translation
in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSet
tings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_create_subdir' has no default translation
in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSet
tings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_delet_subdir' has no default translation i
n C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSett
ings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_install' has no default translation in C:\
Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.
apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_install_button' has no default translation
in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSe
ttings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_as_dont_exist' has no default transla
tion in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\
LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_as_format_is_wrong' has no default tr
anslation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\proj
ects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_as_name_is_empty' has no default tran
slation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projec
ts\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_subdir_create_fail' has no default tr
anslation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\proj
ects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_subdir_exist' has no default translat
ion in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\L
GSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_subdir_name_is_empty' has no default
translation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\pr
ojects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_titlebar' has no default translation
in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSet
tings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_user_dont_exist' has no default trans
lation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\project
s\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_user_format_is_wrong' has no default
translation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\pr
ojects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_mgmt_user_name_is_empty' has no default tr
anslation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\proj
ects\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_uninstall' has no default translation in C
:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSetting
s.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_cert_uninstall_button' has no default translati
on in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LG
Settings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_certification_dont_exist' has no default transl
ation in C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects
\LGSettings.apk\res; found: zh_CN
aapt: warning: string 'wifi_wapi_user_cert' has no default translation in C:\Use
rs\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.apk
\res; found: zh_CN
-lv\strings.xml:3684: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-mk\strings.xml:3666: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-mk\strings.xml:3667: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ms\strings.xml:3643: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ms\strings.xml:3644: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-nb\strings.xml:3640: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-nb\strings.xml:3641: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-pl\strings.xml:3671: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-pl\strings.xml:3672: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-pt\strings.xml:3657: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-pt\strings.xml:3658: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ro-rMD\strings.xml:3629: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ro-rMD\strings.xml:3630: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ru\strings.xml:3696: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-ru\strings.xml:3697: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sk\strings.xml:3665: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sk\strings.xml:3666: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sl\strings.xml:3679: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sl\strings.xml:3680: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sr\strings.xml:3680: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sr\strings.xml:3681: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sv\strings.xml:3626: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-sv\strings.xml:3627: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-th\strings.xml:3689: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-th\strings.xml:3690: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-uk\strings.xml:3671: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-uk\strings.xml:3672: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-vi\strings.xml:3687: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-vi\strings.xml:3688: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-zh-rHK\strings.xml:3717: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-zh-rHK\strings.xml:3718: error: Unexpected end tag string
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-zh-rTW\strings.xml:3725: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettin
gs.apk\res\values-zh-rTW\strings.xml:3726: error: Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Brandon\AppData\Local\Te
mp\APKTOOL142785111157111072.tmp, -0, arsc, -I, C:\Users\Brandon\apktool\framewo
rk\1.apk, -I, C:\Users\Brandon\apktool\framework\2.apk, -S, C:\Users\Brandon\Des
ktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.apk\res, -M, C:\U
sers\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.a
pk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Brandon\AppData\Local\Temp\APKTOOL142785111157111072.tmp, -0, arsc, -I, C
:\Users\Brandon\apktool\framework\1.apk, -I, C:\Users\Brandon\apktool\framework\
2.apk, -S, C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projec
ts\LGSettings.apk\res, -M, C:\Users\Brandon\Desktop\Android\APK-Multi-Tool-Stabl
e-RELEASE\projects\LGSettings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Brandon\AppData\Local\Temp
\APKTOOL142785111157111072.tmp, -0, arsc, -I, C:\Users\Brandon\apktool\framework
\1.apk, -I, C:\Users\Brandon\apktool\framework\2.apk, -S, C:\Users\Brandon\Deskt
op\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.apk\res, -M, C:\Use
rs\Brandon\Desktop\Android\APK-Multi-Tool-Stable-RELEASE\projects\LGSettings.apk
\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
Press any key to continue . . .
Click to expand...
Click to collapse
That's the log I'm getting.
Ascertion said:
I'm on LS980. I've taken Deodexed LGSettings.apk, and attempted to Decompile (worked.) but when I try to recompile, even without making any changes, I get errors. Not sure what the error is, aside from something in the /values folder. Anyone know how to get around this? I really want to invert LGSettings for Sprint users, but it seems like it wont be do-able until I can recompile.
That's the log I'm getting.
Click to expand...
Click to collapse
The beginning of the log seems to be cut off...
I havent looked into rom theming for G2 yet, do you need to load a framework file to get system apks to compile right?