Apktool: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1)

Created on 2 Jan 2019  Â·  17Comments  Â·  Source: iBotPeaches/Apktool

Information

  1. Apktool version: v2.4.0-3cf5cb-SNAPSHOT
  2. OS: Linux kali 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux
  3. Source: Google Play Store

Issue description

Apktool fails to re-build LinkedIn from the Play Store.

Affected packages

Example

[root:/tmp/manual-run]# apktool d -o com.linkedin.android.decompiled com.linkedin.android.apk 
I: Using Apktool 2.4.0-3cf5cb-SNAPSHOT on com.linkedin.android.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes5.dex...
I: Baksmaling classes6.dex...
I: Baksmaling classes7.dex...
I: Baksmaling classes8.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
[root:/tmp/manual-run]# apktool b -o nochanges.apk com.linkedin.android.decompiled 
I: Using Apktool 2.4.0-3cf5cb-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes7 folder into classes7.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes8 folder into classes8.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes5 folder into classes5.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes6 folder into classes6.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes4 folder into classes4.dex...
I: Checking whether resources has changed...
I: Building resources...
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:102: error: Public symbol array/company_bar_chart_colors declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:103: error: Public symbol array/contact_sync_type_all_or_no_keys declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:104: error: Public symbol array/contact_sync_type_all_or_no_values declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:105: error: Public symbol array/contact_sync_type_keys declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:106: error: Public symbol array/contact_sync_type_values declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:107: error: Public symbol array/degree_bar_chart_colors declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:108: error: Public symbol array/entities_max_commute_time declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:109: error: Public symbol array/entities_premium_function_colors declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:110: error: Public symbol array/growth_join_email_list declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:111: error: Public symbol array/linked_out_disruption_type declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:112: error: Public symbol array/linked_out_request_method declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:113: error: Public symbol array/live_bar_chart_colors declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:114: error: Public symbol array/month_array declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:115: error: Public symbol array/notification_channel declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:116: error: Public symbol array/rest_li_request_method declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:117: error: Public symbol array/search_alert_frequency declared here is not defined.
W: /tmp/manual-run/com.linkedin.android.decompiled/res/values/public.xml:118: error: Public symbol array/skill_bar_chart_colors declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3175894518026574016.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 116400, --version-name, 4.1.256, --no-version-vectors, -F, /tmp/APKTOOL6202122347419265887.tmp, -0, arsc, -0, META-INF/android.support.design_material.version, -0, META-INF/androidx.appcompat_appcompat.version, -0, META-INF/androidx.arch.core_core-runtime.version, -0, META-INF/androidx.asynclayoutinflater_asynclayoutinflater.version, -0, META-INF/androidx.browser_browser.version, -0, META-INF/androidx.cardview_cardview.version, -0, META-INF/androidx.coordinatorlayout_coordinatorlayout.version, -0, META-INF/androidx.core_core.version, -0, META-INF/androidx.cursoradapter_cursoradapter.version, -0, META-INF/androidx.customview_customview.version, -0, META-INF/androidx.databinding_baseAdapters.version, -0, META-INF/androidx.databinding_library.version, -0, META-INF/androidx.documentfile_documentfile.version, -0, META-INF/androidx.drawerlayout_drawerlayout.version, -0, META-INF/androidx.dynamicanimation_dynamicanimation.version, -0, META-INF/androidx.exifinterface_exifinterface.version, -0, META-INF/androidx.fragment_fragment.version, -0, META-INF/androidx.interpolator_interpolator.version, -0, META-INF/androidx.legacy_legacy-support-core-ui.version, -0, META-INF/androidx.legacy_legacy-support-core-utils.version, -0, META-INF/androidx.legacy_legacy-support-v4.version, -0, META-INF/androidx.lifecycle_lifecycle-extensions.version, -0, META-INF/androidx.lifecycle_lifecycle-livedata-core.version, -0, META-INF/androidx.lifecycle_lifecycle-livedata.version, -0, META-INF/androidx.lifecycle_lifecycle-process.version, -0, META-INF/androidx.lifecycle_lifecycle-runtime.version, -0, META-INF/androidx.lifecycle_lifecycle-service.version, -0, META-INF/androidx.lifecycle_lifecycle-viewmodel.version, -0, META-INF/androidx.loader_loader.version, -0, META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version, -0, META-INF/androidx.media_media.version, -0, META-INF/androidx.preference_preference.version, -0, META-INF/androidx.print_print.version, -0, META-INF/androidx.recyclerview_recyclerview.version, -0, META-INF/androidx.slidingpanelayout_slidingpanelayout.version, -0, META-INF/androidx.swiperefreshlayout_swiperefreshlayout.version, -0, META-INF/androidx.transition_transition.version, -0, META-INF/androidx.vectordrawable_vectordrawable-animated.version, -0, META-INF/androidx.vectordrawable_vectordrawable.version, -0, META-INF/androidx.versionedparcelable_versionedparcelable.version, -0, META-INF/androidx.viewpager_viewpager.version, -0, META-INF/com.google.android.material_material.version, -0, png, -0, webp, -0, arsc, -I, /root/.local/share/apktool/framework/1.apk, -S, /tmp/manual-run/com.linkedin.android.decompiled/res, -M, /tmp/manual-run/com.linkedin.android.decompiled/AndroidManifest.xml]

Steps to Reproduce

  1. apktool d <APK>
  2. apktool b <folder>

Extra information

  1. I have tried apktool d, apktool b without changing anything;
  2. I cloned the repo and built from source;
  3. The issue goes away if I use the -r flag - which is not useful since I want to modify the resources (namely AndroidManifest.xml).

Most helpful comment

The owner of the package said to use (--use-aapt2) parameter.. I tried doing this and it still didn't work for me if you discover a solution to this please comment the solution, thanks.

All 17 comments

The owner of the package said to use (--use-aapt2) parameter.. I tried doing this and it still didn't work for me if you discover a solution to this please comment the solution, thanks.

➜  Bug1969 apktool d LinkedIn_v4.1.236_apkpure.com.apk 
I: Using Apktool 2.4.0-f997e0-SNAPSHOT on LinkedIn_v4.1.236_apkpure.com.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /Users/connortumbleson/Library/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes5.dex...
I: Baksmaling classes6.dex...
I: Baksmaling classes7.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜  Bug1969 apktool b --use-aapt2 LinkedIn_v4.1.236_apkpure.com
I: Using Apktool 2.4.0-f997e0-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes7 folder into classes7.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes6 folder into classes6.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes4 folder into classes4.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes5 folder into classes5.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1969/LinkedIn_v4.1.236_apkpure.com/res/values/public.xml:3410: error: resource 'drawable/$avd_hide_password__0' has invalid entry name '$avd_hide_password__0'. Invalid character '$avd_hide_password__0'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1969/LinkedIn_v4.1.236_apkpure.com/res/values/public.xml:3411: error: resource 'drawable/$avd_hide_password__1' has invalid entry name '$avd_hide_password__1'. Invalid character '$avd_hide_password__1'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1969/LinkedIn_v4.1.236_apkpure.com/res/values/public.xml:3412: error: resource 'drawable/$avd_hide_password__2' has invalid entry name '$avd_hide_password__2'. Invalid character '$avd_hide_password__2'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1969/LinkedIn_v4.1.236_apkpure.com/res/values/public.xml:3413: error: resource 'drawable/$avd_show_password__0' has invalid entry name '$avd_show_password__0'. Invalid character '$avd_show_password__0'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1969/LinkedIn_v4.1.236_apkpure.com/res/values/public.xml:3414: error: resource 'drawable/$avd_show_password__1' has invalid entry name '$avd_show_password__1'. Invalid character '$avd_show_password__1'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1969/LinkedIn_v4.1.236_apkpure.com/res/values/public.xml:3415: error: resource 'drawable/$avd_show_password__2' has invalid entry name '$avd_show_password__2'. Invalid character '$avd_show_password__2'.
I: Copying libs... (/lib)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
➜  Bug1969 

Can't replicate this using aapt2 on the yet to be released, v2.4.0 build. A few warnings, but rebuilt cleanly.

Could you pass me the new version that is working please??! xD

Just cloned the latest version from the master branch (2.4.0-261e16-SNAPSHOT) as well as installed the latest LinkedIn version from the Play Store (v4.1.257). Used --use-aapt2 flag as suggested and the issue remains:

# adb pull /data/app/com.linkedin.android-1/base.apk
/data/app/com.linkedin.android-1/base.apk: 1 file pulled. 10.7 MB/s (22802163 bytes in 2.038s)
# java -jar apktool-cli-all.jar d --use-aapt2 -o linkedin.decompiled base.apk
I: Using Apktool 2.4.0-261e16-SNAPSHOT on base.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes5.dex...
I: Baksmaling classes6.dex...
I: Baksmaling classes7.dex...
I: Baksmaling classes8.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
# java -jar apktool-cli-all.jar b --use-aapt2 -o linkedin.apk linkedin.decompiled
I: Using Apktool 2.4.0-261e16-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes7 folder into classes7.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes8 folder into classes8.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes5 folder into classes5.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes6 folder into classes6.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes4 folder into classes4.dex...
I: Checking whether resources has changed...
I: Building resources...
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/public.xml:3530: error: resource 'drawable/$avd_hide_password__0' has invalid entry name '$avd_hide_password__0'. Invalid character '$avd_hide_password__0'.
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/public.xml:3531: error: resource 'drawable/$avd_hide_password__1' has invalid entry name '$avd_hide_password__1'. Invalid character '$avd_hide_password__1'.
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/public.xml:3532: error: resource 'drawable/$avd_hide_password__2' has invalid entry name '$avd_hide_password__2'. Invalid character '$avd_hide_password__2'.
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/public.xml:3533: error: resource 'drawable/$avd_show_password__0' has invalid entry name '$avd_show_password__0'. Invalid character '$avd_show_password__0'.
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/public.xml:3534: error: resource 'drawable/$avd_show_password__1' has invalid entry name '$avd_show_password__1'. Invalid character '$avd_show_password__1'.
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/public.xml:3535: error: resource 'drawable/$avd_show_password__2' has invalid entry name '$avd_show_password__2'. Invalid character '$avd_show_password__2'.
W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/styles.xml:6899: error: invalid value for type 'style'. Expected a reference.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3258132639340515845.tmp, compile, --dir, /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res, --legacy, -o, /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/build/resources.zip]

Well different issue :)

W: /tmp/Apktool/brut.apktool/apktool-cli/build/libs/linkedin.decompiled/res/values/styles.xml:6899: error: invalid value for type 'style'. Expected a reference.

I'll reopen, but this was not in the original report. I'll need to grab the v4.1.257 version of LinkedIn

Could you link me to the master branch @zemasa

Could you link me to the master branch @zemasa

just git clone https://github.com/iBotPeaches/Apktool/ and build from source as usual

Ok, thanks.

downloaded apktool.bat replaced the current apktool.bat file on windows and attempted to recompile open vpn v3.0.5 on windows here is my output:

C:Windowsapktool>apktool b openvpn.original
I: Using Apktool 2.3.4
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
S: WARNING: Could not write to (C:UsersadminAppDataLocalapktoolframework), using C:UsersadminAppDataLocalTemp instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
W: C:Windowsapktoolopenvpn.originalresvaluespublic.xml:21: error: Public symbol array/mk_spinner_stroke_colors declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:UsersadminAppDataLocalTempbrut_util_Jar_1739766191926740286.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 27, --version-code, 1503, --version-name, 3.0.5, --no-version-vectors, -F, C:UsersadminAppDataLocalTempAPKTOOL4290501569100282111.tmp, -0, arsc, -0, META-INF/com.android.support_animated-vector-drawable.version, -0, META-INF/com.android.support_appcompat-v7.version, -0, META-INF/com.android.support_support-compat.version, -0, META-INF/com.android.support_support-core-ui.version, -0, META-INF/com.android.support_support-core-utils.version, -0, META-INF/com.android.support_support-fragment.version, -0, META-INF/com.android.support_support-vector-drawable.version, -0, assets/index.bundle.meta, -0, arsc, -I, C:UsersadminAppDataLocalTemp1.apk, -S, C:Windowsapktoolopenvpn.originalres, -M, C:Windowsapktoolopenvpn.originalAndroidManifest.xml]

Now, do you have the access to deal with the problem?
Please tell me ,thank you ! good senior engineer.

Did anyone figure out how to solve this?

I met same problem. Did anyone figure out how to solve this?

@iBotPeaches

  1. use argument --aapt xxxxx(my aapt2 path). A few warnings, rebuilt fail.
  2. don't use argument --aapt xxxxx. A few warnings, rebuilt success.

i have the same problem even with 2.3.1 and latest yet (2.4.1)
i used --aapt and i encountered this error
I: Using Apktool 2.3.1 I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... W: res/drawable-v21/$avd_hide_password__0.xml: Invalid file name: must contain only [a-z0-9_.] W: res/drawable-v21/$avd_hide_password__1.xml: Invalid file name: must contain only [a-z0-9_.] W: res/drawable-v21/$avd_hide_password__2.xml: Invalid file name: must contain only [a-z0-9_.] W: res/drawable-v21/$avd_show_password__0.xml: Invalid file name: must contain only [a-z0-9_.] W: res/drawable-v21/$avd_show_password__1.xml: Invalid file name: must contain only [a-z0-9_.] W: res/drawable-v21/$avd_show_password__2.xml: Invalid file name: must contain only [a-z0-9_.] Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/.../Sdk/build-tools/28.0.3/aapt, p, --min-sdk-version, 16, --target-sdk-version, 29, --version-code, 800019, --version-name, 1.9, --no-version-vectors, -F, /tmp/APKTOOL17198116958154688667.tmp, -0, resources.arsc, -0, png, -0, arsc, -I, /home/user/.local/share/apktool/framework/1.apk, -S, /tmp/original/res, -M, /tmp/original/AndroidManifest.xml] at brut.androlib.Androlib.buildResourcesFull(Androlib.java:492) at brut.androlib.Androlib.buildResources(Androlib.java:426) at brut.androlib.Androlib.build(Androlib.java:305) at brut.androlib.Androlib.build(Androlib.java:270) at brut.apktool.Main.cmdBuild(Main.java:227) at brut.apktool.Main.main(Main.java:75) Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/.../Sdk/build-tools/28.0.3/aapt, p, --min-sdk-version, 16, --target-sdk-version, 29, --version-code, 800019, --version-name, 1.9, --no-version-vectors, -F, /tmp/APKTOOL17198116958154688667.tmp, -0, resources.arsc, -0, png, -0, arsc, -I, /home/user/.local/share/apktool/framework/1.apk, -S, /tmp/original/res, -M, /tmp/original/AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:456) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478) ... 5 more Caused by: brut.common.BrutException: could not exec (exit code = 1): [/.../Sdk/build-tools/28.0.3/aapt, p, --min-sdk-version, 16, --target-sdk-version, 29, --version-code, 800019, --version-name, 1.9, --no-version-vectors, -F, /tmp/APKTOOL17198116958154688667.tmp, -0, resources.arsc, -0, png, -0, arsc, -I, /home/user/.local/share/apktool/framework/1.apk, -S, /tmp/original/res, -M, /tmp/original/AndroidManifest.xml] at brut.util.OS.exec(OS.java:95) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:450) ... 6 more
tested OS : Kali Linux 2019.1 and Ubuntu 19.04

I: Building resources...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 132): [/tmp/brut_util_Jar_10323267139661821008.tmp, compile, --dir, /root/1/Chatous_v3.9.87_apkpure.com/res, --legacy, -o, /root/1/Chatous_v3.9.87_apkpure.com/build/resources.zip]

Any solutions?(exit code=132)

Building resources, failed.

apktool b app -o app.apk
I: Using Apktool 2.4.1
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:45: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.RecentApplications'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:46: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.VolumePanel'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:47: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.PopupWindow.ActionMode'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:48: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.PopupWindow'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:49: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.Dream'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:50: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.EventContent.Time'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.EventContent.Info'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:52: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.EventContent.Line2'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:53: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.Ticker'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:54: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.EventContent.Emphasis'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:55: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Small.CalendarViewWeekDayView'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:56: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Suggestion'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:57: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.EasyCorrectSuggestion'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:58: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:59: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceFragment'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:60: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.MisspelledSuggestion'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:61: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.AutoCorrectionSuggestion'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:62: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.GestureOverlayView'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:68: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TextView.ListSeparator'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:69: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TextView.ListSeparator.White'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:70: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.ExpandableListView.White'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:71: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.NumberPicker'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:72: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.TimePicker'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:79: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.HorizontalScrollView'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadge'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:93: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadgeSmall'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:94: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadge.WindowSmall'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:95: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadge.WindowMedium'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:96: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadge.WindowLarge'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:97: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadgeSmall.WindowSmall'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:98: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadgeSmall.WindowLarge'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:99: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Theme.Dialog.AppError'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v24/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.DeviceDefault.CheckBoxPreference'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v24/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.DeviceDefault.Category'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.DeviceDefault.Light.Medium'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:117: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:118: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceFragment'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:119: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.PopupWindow'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:120: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.SwitchPreference'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:124: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadgeSmall'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:125: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.QuickContactBadge.WindowMedium'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:238: error: Error: No resource found that matches the given name: attr 'android:allowScaling'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:241: error: Error: No resource found that matches the given name: attr 'android:alwaysTrackFinger'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:240: error: Error: No resource found that matches the given name: attr 'android:feedbackCount'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:236: error: Error: No resource found that matches the given name: attr 'android:firstItemOffset'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:235: error: Error: No resource found that matches the given name: attr 'android:glowRadius'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:237: error: Error: No resource found that matches the given name: attr 'android:magneticTargets'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:239: error: Error: No resource found that matches the given name: attr 'android:snapMargin'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:273: error: Error: No resource found that matches the given name: attr 'android:allowScaling'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:276: error: Error: No resource found that matches the given name: attr 'android:alwaysTrackFinger'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:275: error: Error: No resource found that matches the given name: attr 'android:feedbackCount'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:271: error: Error: No resource found that matches the given name: attr 'android:firstItemOffset'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:270: error: Error: No resource found that matches the given name: attr 'android:glowRadius'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:272: error: Error: No resource found that matches the given name: attr 'android:magneticTargets'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:274: error: Error: No resource found that matches the given name: attr 'android:snapMargin'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:674: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.Widget.PopupMenu'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:675: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.Widget.PopupMenu.Large'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:676: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.Widget.PopupMenu.Small'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:677: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.Widget.DropDownHint'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:680: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.Widget.ActionMode.Title'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.Widget.ActionMode.Title'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:699: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.WindowTitle'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:702: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.DialogWindowTitle'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:703: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Light.CalendarViewWeekDayView'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:704: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Holo'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Holo'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:9: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.DeviceDefault.Light.Large.Inverse'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:715: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.TextView.ListSeparator'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:716: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.TextSuggestionsPopupWindow'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:718: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Gallery'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:719: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.GestureOverlayView'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:742: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.ImageWell'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:743: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.ListView.White'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:10: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.ListView.White'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:746: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Spinner.DropDown'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:757: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.QuickContactBadgeSmall.WindowLarge'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:758: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.QuickContactBadgeSmall.WindowLarge'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:759: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.CompoundButton.Switch'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:760: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.DeviceDefault.ProgressBar.Small.Inverse'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:767: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Spinner.DropDown.ActionBar'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:768: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.TabText'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:769: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.KeyboardView'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:771: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.QuickContactBadge.WindowMedium'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:776: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.QuickContactBadgeSmall.WindowMedium'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:777: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.QuickContactBadgeSmall.WindowLarge'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:778: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.Button.Borderless'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:11: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.TextView.ListSeparator'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:12: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.TextSelectHandle'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:813: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.ExpandableListView.White'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:817: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.NumberPicker'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-ldltr/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.TimePicker'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:13: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.TimePicker'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:821: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.ImageWell'.
W:
W: /Users/yu/log/iBiliTV/app/res/values-v23/styles.xml:14: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.ImageWell'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:822: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.ListView.White'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:824: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Light.Spinner.DropDown.ActionBar'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:831: error: Error: No resource found that matches the given name: attr 'android:allowScaling'.
W:
W: /Users/yu/log/iBiliTV/app/res/values/styles.xml:834: error: Error: No resource found that matches the given name: attr 'android:alwaysTrackFinger'.
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/20/yv69wbq164z73df3pvjkljgm0000gn/T/brut_util_Jar_637371655060426796.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 29, --version-code, 1, --version-name, 2.0, --no-version-vectors, -F, /var/folders/20/yv69wbq164z73df3pvjkljgm0000gn/T/APKTOOL8815776753344468345.tmp, -e, /var/folders/20/yv69wbq164z73df3pvjkljgm0000gn/T/APKTOOL8949679838662605512.tmp, -0, arsc, -I, /Users/yu/Library/apktool/framework/1.apk, -S, /Users/yu/log/iBiliTV/app/res, -M, /Users/yu/log/iBiliTV/app/AndroidManifest.xml]

I can't follow this ticket anymore. Not sure what is being reported since I proved it worked on aapt2. Closing.

Was this page helpful?
0 / 5 - 0 ratings