-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message "Found tag reference-array where item is expected" while rebuilding voicetalk_NLI.apk #52
Comments
I've fixed this bug in my apktool. |
Thanks for the quick respond. |
This fix works well for 12 days in my tool. I made it refering to the official docs of Android. |
That sounds great. |
No, I did it (and do it) for myself. |
Please get the APK from https://hotfile.com/dl/176237426/0f42cac/voicetalk_NLI.apk.html
Simply decompile the APK and then rebuild it without any change, error message popup.
apktool v1.5.0.5a056e3
C:\Users\admin\Desktop>apktool d C:\Users\admin\Desktop\voicetalk_NLI.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\admin\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-sw320dp-hdpi/weekly_weather_press.9
.png". Renaming it to .png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/bubble_typing.9.png".
Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/voice_talk_message_02.
9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw360dp-hdpi/weekly_weather_press.9
.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw360dp-hdpi/weekly_weather_focus.9
.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw320dp-hdpi/weekly_weather_focus.9
.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/voice_talk_message_01.
9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/bubble_typed.9.png". R
enaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw360dp-hdpi/weekly_weather_select.
9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw320dp-hdpi/weekly_weather_select.
9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw320dp-hdpi/weekly_weather_normal.
9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/voice_talk_message_03.
9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/voice_talk_button_sear
ch.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw720dp-mdpi/voice_talk_screen_popu
p_press_03.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw360dp-hdpi/weekly_weather_normal.
9.png". Renaming it to *.png.
I: Decoding values */ XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\admin\Desktop>apktool b C:\Users\admin\Desktop\voicetalk_NLI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\admin\Desktop\voicetalk_NLI\res\values\arrays.xml:205: error: Found tag
reference-array where item is expected
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:627: error: Public en
try identifier 0x7f070039 entry index is larger than available symbols (index 57
, total symbols 27).
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:627: error: Public sy
mbol array/dayMatchers declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:626: error: Public en
try identifier 0x7f070038 entry index is larger than available symbols (index 56
, total symbols 27).
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:626: error: Public sy
mbol array/monthMatchers declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:628: error: Public sy
mbol array/svox_symbols declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:629: error: Public sy
mbol array/svox_timezones declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:615: error: Public sy
mbol array/wcis_alarm_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:621: error: Public sy
mbol array/wcis_check_weather_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:610: error: Public sy
mbol array/wcis_driving_mode_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:602: error: Public sy
mbol array/wcis_email_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:620: error: Public sy
mbol array/wcis_findcontact_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:622: error: Public sy
mbol array/wcis_get_an_answers_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:617: error: Public sy
mbol array/wcis_hotels_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:624: error: Public sy
mbol array/wcis_local_listings_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:609: error: Public sy
mbol array/wcis_maps_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:619: error: Public sy
mbol array/wcis_memo_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:618: error: Public sy
mbol array/wcis_movies_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:604: error: Public sy
mbol array/wcis_music_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:605: error: Public sy
mbol array/wcis_music_examples_no_radio declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:612: error: Public sy
mbol array/wcis_nav_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:601: error: Public sy
mbol array/wcis_open_app_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:614: error: Public sy
mbol array/wcis_openapps_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:607: error: Public sy
mbol array/wcis_radio_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:611: error: Public sy
mbol array/wcis_recordvoice_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:613: error: Public sy
mbol array/wcis_schedule_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:599: error: Public sy
mbol array/wcis_search_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:600: error: Public sy
mbol array/wcis_search_examples_cn declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:623: error: Public sy
mbol array/wcis_simple_setting_controls_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:598: error: Public sy
mbol array/wcis_sms_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:603: error: Public sy
mbol array/wcis_social_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:608: error: Public sy
mbol array/wcis_social_update_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:606: error: Public sy
mbol array/wcis_task_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:616: error: Public sy
mbol array/wcis_timer_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:596: error: Public sy
mbol array/wcis_voice_and_super_dial_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:597: error: Public sy
mbol array/wcis_voice_dial_car_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:595: error: Public sy
mbol array/wcis_voice_dial_examples declared here is not defined.
C:\Users\admin\Desktop\voicetalk_NLI\res\values\public.xml:625: error: Public sy
mbol array/web_search_names declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-ver
sion, 14, -F, C:\Users\admin\AppData\Local\Temp\APKTOOL8139666236227678100.tmp,
-I, C:\Users\admin\apktool\framework\1.apk, -S, C:\Users\admin\Desktop\voicetalk
_NLI\res, -M, C:\Users\admin\Desktop\voicetalk_NLI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 14, --target-sdk-version, 14, -F, C:\Users\admin\AppData\Local\Temp\A
PKTOOL8139666236227678100.tmp, -I, C:\Users\admin\apktool\framework\1.apk, -S, C
:\Users\admin\Desktop\voicetalk_NLI\res, -M, C:\Users\admin\Desktop\voicetalk_NL
I\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more
The text was updated successfully, but these errors were encountered: