lnln1111 / android-apktool

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

Error recompile Yandex Shell #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. decompile Yandex Shell (v0.95 for example)
2. recompile (even without any modification)

What is the expected output? What do you see instead?

D:\APK3>apktool b ru.yandex.shell_0.95
I: Checking whether resources has changed...
I: Building resources...
D:\APK3\ru.yandex.shell_0.95\res\values\strings.xml:64: error: Multiple substitu
tions specified in non-positional format; did you mean to add the formatted="fal
se" attribute?
D:\APK3\ru.yandex.shell_0.95\res\values\strings.xml:64: error: Unexpected end ta
g string
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:259: error: Public entry iden
tifier 0x7f06005a entry index is larger than available symbols (index 90, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:259: error: Public symbol str
ing/cancel declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:252: error: Public entry iden
tifier 0x7f060053 entry index is larger than available symbols (index 83, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:252: error: Public symbol str
ing/chooser_wallpaper declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:271: error: Public entry iden
tifier 0x7f060066 entry index is larger than available symbols (index 102, total
 symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:271: error: Public symbol str
ing/contacts_failed_pick declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:273: error: Public symbol str
ing/default_country declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:272: error: Public symbol str
ing/default_lang declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:262: error: Public entry iden
tifier 0x7f06005d entry index is larger than available symbols (index 93, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:262: error: Public symbol str
ing/exit declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:258: error: Public entry iden
tifier 0x7f060059 entry index is larger than available symbols (index 89, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:258: error: Public symbol str
ing/home_widget_error declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:263: error: Public entry iden
tifier 0x7f06005e entry index is larger than available symbols (index 94, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:263: error: Public symbol str
ing/legal_notices_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:260: error: Public entry iden
tifier 0x7f06005b entry index is larger than available symbols (index 91, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:260: error: Public symbol str
ing/license_fail declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:264: error: Public entry iden
tifier 0x7f06005f entry index is larger than available symbols (index 95, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:264: error: Public symbol str
ing/license_fail_handango declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:256: error: Public entry iden
tifier 0x7f060057 entry index is larger than available symbols (index 87, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:256: error: Public symbol str
ing/no declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:254: error: Public entry iden
tifier 0x7f060055 entry index is larger than available symbols (index 85, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:254: error: Public symbol str
ing/pick_wallpaper declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:261: error: Public entry iden
tifier 0x7f06005c entry index is larger than available symbols (index 92, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:261: error: Public symbol str
ing/purchase declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:268: error: Public entry iden
tifier 0x7f060063 entry index is larger than available symbols (index 99, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:268: error: Public symbol str
ing/safe_mode_home declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:267: error: Public entry iden
tifier 0x7f060062 entry index is larger than available symbols (index 98, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:267: error: Public symbol str
ing/safe_mode_retry declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:266: error: Public entry iden
tifier 0x7f060061 entry index is larger than available symbols (index 97, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:266: error: Public symbol str
ing/safe_mode_text declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:265: error: Public entry iden
tifier 0x7f060060 entry index is larger than available symbols (index 96, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:265: error: Public symbol str
ing/safe_mode_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:270: error: Public entry iden
tifier 0x7f060065 entry index is larger than available symbols (index 101, total
 symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:270: error: Public symbol str
ing/sd_install_text declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:269: error: Public entry iden
tifier 0x7f060064 entry index is larger than available symbols (index 100, total
 symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:269: error: Public symbol str
ing/sd_install_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:247: error: Public symbol str
ing/startup_clid declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:257: error: Public entry iden
tifier 0x7f060058 entry index is larger than available symbols (index 88, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:257: error: Public symbol str
ing/wait declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:253: error: Public entry iden
tifier 0x7f060054 entry index is larger than available symbols (index 84, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:253: error: Public symbol str
ing/wallpaper_instructions declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:240: error: Public symbol str
ing/weather_add_city_menu_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:242: error: Public symbol str
ing/weather_change_city_menu_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:246: error: Public symbol str
ing/weather_config_launch_mode_widget_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:243: error: Public symbol str
ing/weather_config_menu_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:244: error: Public symbol str
ing/weather_config_update_period_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:233: error: Public symbol str
ing/weather_format_current_location declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:229: error: Public symbol str
ing/weather_humidity_default_units declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:228: error: Public symbol str
ing/weather_humidity_range_format_1 declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:239: error: Public symbol str
ing/weather_refresh_menu_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:241: error: Public symbol str
ing/weather_remove_city_menu_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:236: error: Public symbol str
ing/weather_status_positioning declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:237: error: Public symbol str
ing/weather_status_positioning_failed declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:234: error: Public symbol str
ing/weather_status_refreshing declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:235: error: Public symbol str
ing/weather_status_update_failed declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:238: error: Public symbol str
ing/weather_updated declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:245: error: Public symbol str
ing/weather_use_only_wifi_title declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:232: error: Public symbol str
ing/weather_wind_direction_variable declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:231: error: Public symbol str
ing/weather_winddir_default_units declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:230: error: Public symbol str
ing/weather_winddir_range_format declared here is not defined.
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:255: error: Public entry iden
tifier 0x7f060056 entry index is larger than available symbols (index 86, total
symbols 83).
D:\APK3\ru.yandex.shell_0.95\res\values\public.xml:255: error: Public symbol str
ing/yes declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\KEEPER~1\AppData\Local\Tem
p\APKTOOL141120113226467159.tmp, -I, C:\Users\Keeperv85\apktool\framework\1.apk,
 -S, D:\APK3\ru.yandex.shell_0.95\res, -M, D:\APK3\ru.yandex.shell_0.95\AndroidM
anifest.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\KEEPER~1\AppData\Local\Temp\APKTOOL141120113226467159.tmp, -I, C:\Users\Kee
perv85\apktool\framework\1.apk, -S, D:\APK3\ru.yandex.shell_0.95\res, -M, D:\APK
3\ru.yandex.shell_0.95\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more

D:\APK3>

What version of the product are you using? On what operating system?
Akptool 1.4.3
Aapt v0.2
Windows 7 x64
Java 1.6.0_27

Please provide any additional information below.

I'm running Yandex Shell on ZTE Blade with CM7 rom
Tried to decompile/recompile with standard framework from apktool v1.4.3 and 
with my CM7 framework. Problem is the same. After decompile the "-v4" and "com" 
directories is missing.

Apktool 1.4.2 working fine, but after decompile the launcher only has black 
screen.

Original issue reported on code.google.com by v8506reb...@gmail.com on 4 Mar 2012 at 3:04

GoogleCodeExporter commented 9 years ago
Have an apk?

Original comment by connor.tumbleson on 17 Nov 2012 at 8:49

GoogleCodeExporter commented 9 years ago
No, but i have link for new version:

https://play.google.com/store/apps/details?id=ru.yandex.shell

I think, this have special signatures. (Sorry, my bad english...)

Original comment by v8506reb...@gmail.com on 17 Nov 2012 at 9:08

GoogleCodeExporter commented 9 years ago

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