sky201503 / android-apktool-1

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

Can`t Recompile SecPhone.apk #362

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Tring to recompile even without changes
2.
3.

What is the expected output? What do you see instead?
An apk, Error code instead

What version of the product are you using? On what operating system?

1.5.0
Please provide any additional information below.
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\arrays.xml:254: error: Found tag 
reference-array where
 item is expected
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-es\strings.xml:195: error: 
Multiple substitutions spec
ified in non-positional format; did you mean to add the formatted="false" 
attribute?
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-es\strings.xml:196: error: 
Unexpected end tag string
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-es-rUS\strings.xml:201: error: 
Multiple substitutions
specified in non-positional format; did you mean to add the formatted="false" 
attribute?
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-es-rUS\strings.xml:202: error: 
Unexpected end tag stri
ng
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-it\strings.xml:201: error: 
Multiple substitutions spec
ified in non-positional format; did you mean to add the formatted="false" 
attribute?
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-it\strings.xml:202: error: 
Unexpected end tag string
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1631: error: Public 
entry identifier 0x7f08
007a entry index is larger than available symbols (index 122, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1631: error: Public 
symbol array/RAD_arr_ro
aming_auto_dial_help declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1632: error: Public 
entry identifier 0x7f08
007b entry index is larger than available symbols (index 123, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1632: error: Public 
symbol array/RAD_roamin
g_auto_dial_settings declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1629: error: Public 
entry identifier 0x7f08
0078 entry index is larger than available symbols (index 120, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1629: error: Public 
symbol array/callerimag
e_alert_changed declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1579: error: Public 
symbol array/callerimag
e_alert_changed_for_kor declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1630: error: Public 
entry identifier 0x7f08
0079 entry index is larger than available symbols (index 121, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1630: error: Public 
symbol array/callerimag
e_alert_default declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1580: error: Public 
symbol array/callerimag
e_alert_default_for_kor declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1619: error: Public 
entry identifier 0x7f08
006e entry index is larger than available symbols (index 110, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1619: error: Public 
symbol array/cdma_netwo
rk_preferences_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1620: error: Public 
entry identifier 0x7f08
006f entry index is larger than available symbols (index 111, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1620: error: Public 
symbol array/cdma_netwo
rk_preferences_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1617: error: Public 
entry identifier 0x7f08
006c entry index is larger than available symbols (index 108, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1617: error: Public 
symbol array/cdma_roami
ng_mode_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1618: error: Public 
entry identifier 0x7f08
006d entry index is larger than available symbols (index 109, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1618: error: Public 
symbol array/cdma_roami
ng_mode_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1621: error: Public 
entry identifier 0x7f08
0070 entry index is larger than available symbols (index 112, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1621: error: Public 
symbol array/cdma_subsc
ription_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1622: error: Public 
entry identifier 0x7f08
0071 entry index is larger than available symbols (index 113, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1622: error: Public 
symbol array/cdma_subsc
ription_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1613: error: Public 
entry identifier 0x7f08
0068 entry index is larger than available symbols (index 104, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1613: error: Public 
symbol array/cdma_syste
m_select_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1615: error: Public 
entry identifier 0x7f08
006a entry index is larger than available symbols (index 106, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1615: error: Public 
symbol array/cdma_syste
m_select_sub_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1616: error: Public 
symbol array/cdma_syste
m_select_sub_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1614: error: Public 
symbol array/cdma_syste
m_select_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1597: error: Public 
entry identifier 0x7f08
0058 entry index is larger than available symbols (index 88, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1597: error: Public 
symbol array/clir_displ
ay_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1598: error: Public 
entry identifier 0x7f08
0059 entry index is larger than available symbols (index 89, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1598: error: Public 
symbol array/clir_value
s declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1593: error: Public 
symbol array/connect_qu
ery declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1594: error: Public 
symbol array/country_qu
ery declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1584: error: Public 
symbol array/data_roami
ng_guard_set declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1633: error: Public 
entry identifier 0x7f08
007c entry index is larger than available symbols (index 124, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1633: error: Public 
symbol array/ddtm_mode_
entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1634: error: Public 
symbol array/ddtm_mode_
values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1625: error: Public 
entry identifier 0x7f08
0074 entry index is larger than available symbols (index 116, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1625: error: Public 
symbol array/dtmf_tone_
entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1626: error: Public 
entry identifier 0x7f08
0075 entry index is larger than available symbols (index 117, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1626: error: Public 
symbol array/dtmf_tone_
values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1567: error: Public 
symbol array/emergency_
domestic_name_list_for_kt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1571: error: Public 
symbol array/emergency_
domestic_name_list_for_lgt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1572: error: Public 
symbol array/emergency_
domestic_name_list_for_lgt_no_sim declared here is not defiException in thread 
"main" ned.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1563: error: Public 
symbol array/emergency_
domestic_name_list_for_skt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1569: error: Public 
symbol array/emergency_
domestic_number_list_for_kt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1575: error: Public 
symbol array/emergency_
domestic_number_list_for_lgt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1576: error: Public 
symbol array/emergency_
domestic_number_list_for_lgt_no_sim declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1565: error: Public 
symbol array/emergency_
domestic_number_list_for_skt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1568: error: Public 
symbol array/emergency_
roaming_name_list_for_kt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1573: error: Public 
symbol array/emergency_
roaming_name_list_for_lgt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1574: error: Public 
symbol array/emergency_
roaming_name_list_for_lgt_cs_available declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1564: error: Public 
symbol array/emergency_
roaming_name_list_for_skt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1570: error: Public 
symbol array/emergency_
roaming_number_list_for_kt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1577: error: Public 
symbol array/emergency_
roaming_number_list_for_lgt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1578: error: Public 
symbol array/emergency_
roaming_number_list_for_lgt_cs_available declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1566: error: Public 
symbol array/emergency_
roaming_number_list_for_skt declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1585: error: Public 
symbol array/global_dat
a_roaming_access_entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1586: error: Public 
symbol array/global_dat
a_roaming_access_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1611: error: Public 
entry identifier 0x7f08
0066 entry index is larger than available symbols (index 102, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1611: error: Public 
symbol array/gsm_umts_n
etwork_preferences_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1612: error: Public 
entry identifier 0x7f08
0067 entry index is larger than available symbols (index 103, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1612: error: Public 
symbol array/gsm_umts_n
etwork_preferences_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1581: error: Public 
symbol array/kt_added_s
ervice_menu declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1583: error: Public 
symbol array/kt_added_s
ervice_sub_menu declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1582: error: Public 
symbol array/kt_inbox_m
enu declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1587: error: Public 
symbol array/lgt_defaul
t_roaming_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1609: error: Public 
entry identifier 0x7f08
0064 entry index is larger than available symbols (index 100, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1609: error: Public 
symbol array/list_langu
age_entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1610: error: Public 
entry identifier 0x7f08
0065 entry index is larger than available symbols (index 101, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1610: error: Public 
symbol array/list_langu
age_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1562: error: Public 
symbol array/pref_roami
ng_options_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1561: error: Public 
symbol array/pref_setti
ngs_roaming_options declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1599: error: Public 
entry identifier 0x7f08
005a entry index is larger than available symbols (index 90, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1599: error: Public 
symbol array/preferred_
network_mode_choices declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1603: error: Public 
symbol array/preferred_
network_mode_choices_cdma_lte_gsm declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1601: error: Public 
entry identifier 0x7f08
005c entry index is larger than available symbols (index 92, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1601: error: Public 
symbol array/preferred_
network_mode_choices_lte declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1605: error: Public 
symbol array/preferred_
network_mode_choices_lte_global declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1607: error: Public 
symbol array/preferred_
network_mode_choices_lte_global_non_cdma declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1600: error: Public 
symbol array/preferred_
network_mode_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1604: error: Public 
symbol array/preferred_
network_mode_values_cdma_lte_gsm declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1602: error: Public 
symbol array/preferred_
network_mode_values_lte declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1606: error: Public 
symbol array/preferred_
network_mode_values_lte_global declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1608: error: Public 
symbol array/preferred_
network_mode_values_lte_global_non_cdma declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1635: error: Public 
entry identifier 0x7f08
007e entry index is larger than available symbols (index 126, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1635: error: Public 
symbol array/roaming_mo
de_entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1636: error: Public 
entry identifier 0x7f08
007f entry index is larger than available symbols (index 127, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1636: error: Public 
symbol array/roaming_mo
de_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1637: error: Public 
entry identifier 0x7f08
0080 entry index is larger than available symbols (index 128, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1637: error: Public 
symbol array/roaming_ne
twork_mode_list declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1638: error: Public 
entry identifier 0x7f08
0081 entry index is larger than available symbols (index 129, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1638: error: Public 
symbol array/roaming_ne
twork_mode_list_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1560: error: Public 
symbol array/select_dia
log_items declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1595: error: Public 
symbol array/sid_query
declared here is not defined.
F:\Galaxy S3\Apk Tools v3brut.androlib.AndrolibException: 
brut.common.BrutException: could not exec
command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, 
C:\Users\Gary\AppData\Local\
Temp\APKTOOL3926154924550275408.tmp, -I, C:\Users\Gary\apktool\framework\1.apk, 
-S, F:\Galaxy S3\Apk
 Tools v3\SecPhone\res, -M, F:\Galaxy S3\Apk Tools v3\SecPhone\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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, 
--min-sdk-version, 16, --tar
get-sdk-version, 16, -F, 
C:\Users\Gary\AppData\Local\Temp\APKTOOL3926154924550275408.tmp, -I, C:\Use
rs\Gary\apktool\framework\1.apk, -S, F:\Galaxy S3\Apk Tools v3\SecPhone\res, 
-M, F:\Galaxy S3\Apk To
ols v3\SecPhone\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
        ... 6 more
\SecPhone\res\values\public.xml:1596: error: Public symbol array/sid_query2 
declared here is not def
ined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1623: error: Public 
entry identifier 0x7f08
0072 entry index is larger than available symbols (index 114, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1623: error: Public 
symbol array/tty_mode_e
ntries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1624: error: Public 
symbol array/tty_mode_v
alues declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1591: error: Public 
symbol array/voicecall_
type_entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1592: error: Public 
symbol array/voicecall_
type_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1627: error: Public 
entry identifier 0x7f08
0076 entry index is larger than available symbols (index 118, total symbols 80).
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1627: error: Public 
symbol array/voicemail_
notification_vibrate_when_entries declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1628: error: Public 
symbol array/voicemail_
notification_vibrate_when_values declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1588: error: Public 
symbol array/zzz_tts_in
coming_call_from declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1589: error: Public 
symbol array/zzz_tts_no
tification_voicemail_title declared here is not defined.
F:\Galaxy S3\Apk Tools v3\SecPhone\res\values\public.xml:1590: error: Public 
symbol array/zzz_tts_st
ring_langs declared here is not defined.

Original issue reported on code.google.com by gharring...@gmail.com on 2 Dec 2012 at 4:50

GoogleCodeExporter commented 9 years ago
Someone sent me an APK called this on XDA.

This APK is busted. Its been modified someway that isn't normal. You can fix 
the error

F:\Galaxy S3\Apk Tools v3\SecPhone\res\values-es\strings.xml:195: error: 
Multiple substitutions spec
ified in non-positional format; did you mean to add the formatted="false" 
attribute?

by adding formatted="false" to that line res/values-es/strings.xml (line 195) 
and see if that works for the entire APK. If so, its probably an apktool.

If more errors, its because thats a weird "magic" apk.

Original comment by connor.tumbleson on 4 Dec 2012 at 5:51

GoogleCodeExporter commented 9 years ago
I am having this very same issue. Note 2 (SecPhone.apk) on Ubuntu. apktool 1.5.1

================================================================================
=====
hb@ubuntu:~/Desktop/apktool$ ./apktool d SecPhone.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: /home/hb/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...
hb@ubuntu:~/Desktop/apktool$ ./apktool b SecPhone
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/home/hb/Desktop/apktool/SecPhone/res/values-es/strings.xml:195: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
/home/hb/Desktop/apktool/SecPhone/res/values-es/strings.xml:196: error: 
Unexpected end tag string
/home/hb/Desktop/apktool/SecPhone/res/values-es-rUS/strings.xml:204: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
/home/hb/Desktop/apktool/SecPhone/res/values-es-rUS/strings.xml:205: error: 
Unexpected end tag string
/home/hb/Desktop/apktool/SecPhone/res/values-it/strings.xml:201: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
/home/hb/Desktop/apktool/SecPhone/res/values-it/strings.xml:202: error: 
Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, 
/tmp/APKTOOL6242682981002533740.tmp, -I, /home/hb/apktool/framework/1.apk, -S, 
/home/hb/Desktop/apktool/SecPhone/res, -M, 
/home/hb/Desktop/apktool/SecPhone/AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)
    at brut.androlib.Androlib.buildResources(Androlib.java:282)
    at brut.androlib.Androlib.build(Androlib.java:205)
    at brut.androlib.Androlib.build(Androlib.java:176)
    at brut.apktool.Main.cmdBuild(Main.java:218)
    at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could 
not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, 
-F, /tmp/APKTOOL6242682981002533740.tmp, -I, /home/hb/apktool/framework/1.apk, 
-S, /home/hb/Desktop/apktool/SecPhone/res, -M, 
/home/hb/Desktop/apktool/SecPhone/AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:349)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
    ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, 
--min-sdk-version, 16, --target-sdk-version, 16, -F, 
/tmp/APKTOOL6242682981002533740.tmp, -I, /home/hb/apktool/framework/1.apk, -S, 
/home/hb/Desktop/apktool/SecPhone/res, -M, 
/home/hb/Desktop/apktool/SecPhone/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:347)
    ... 6 more
================================================================================
=====

Original comment by tes...@gmail.com on 2 Jan 2013 at 1:10

GoogleCodeExporter commented 9 years ago
Btw I am not worried about the "error: Multiple substitutions specified in 
non-positional format; did you mean to add the formatted="false" attribute?" 
error. I can compare values/strings.xml and values-es/strings.xml and change it 
to match each other and that fixes those errors, but still getting "Exception 
in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, 
/tmp/APKTOOL6242682981002533740.tmp, -I, /home/hb/apktool/framework/1.apk, -S, 
/home/hb/Desktop/apktool/SecPhone/res, -M, 
/home/hb/Desktop/apktool/SecPhone/AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)
    at brut.androlib.Androlib.buildResources(Androlib.java:282)
    at brut.androlib.Androlib.build(Androlib.java:205)
    at brut.androlib.Androlib.build(Androlib.java:176)
    at brut.apktool.Main.cmdBuild(Main.java:218)
    at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could 
not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, 
-F, /tmp/APKTOOL6242682981002533740.tmp, -I, /home/hb/apktool/framework/1.apk, 
-S, /home/hb/Desktop/apktool/SecPhone/res, -M, 
/home/hb/Desktop/apktool/SecPhone/AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:349)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
    ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, 
--min-sdk-version, 16, --target-sdk-version, 16, -F, 
/tmp/APKTOOL6242682981002533740.tmp, -I, /home/hb/apktool/framework/1.apk, -S, 
/home/hb/Desktop/apktool/SecPhone/res, -M, 
/home/hb/Desktop/apktool/SecPhone/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:347)
    ... 6 more" error.

Original comment by tes...@gmail.com on 3 Jan 2013 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 6 Jan 2013 at 11:59