lenovo-res.apk compile error #989

Closed
Kalashnikitty opened this Issue Jul 7, 2015 · 4 comments

Projects

None yet

2 participants

@Kalashnikitty

Some strange compile errors from vibeUI 2.8 based on android 5.1

Log: http://pastebin.com/bk2YYSMA

File: http://decuro.de/developer/kitty/lenovo-res.apk

@iBotPeaches
Owner

I would need all the frameworks from this Lenovo ROM to investigate properly. More importantly the framework with pkgId of 1. So framework-res.apk

@iBotPeaches
Owner

I duplicate. Not sure though why. Doesn't make sense.

/home/ibotpeaches/Downloads/Apktool/Bug989/lenovo-res/res/drawable/switch_track_material.xml:49: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/btn_switch_mtrl_tint').
res/values/public.xml:    <public type="drawable" name="btn_switch_mtrl_tint" id="0x0902002e" />
original/META-INF/MANIFEST.MF:Name: res/drawable-xxhdpi-v4/btn_switch_mtrl_tint.png
original/META-INF/CERT.SF:Name: res/drawable-xxhdpi-v4/btn_switch_mtrl_tint.png

Resource exists and exists in public.xml. Leaving open for now, but looks similar to #983

@iBotPeaches iBotPeaches added this to the 2.2.2 - Bug Fixes milestone Jan 15, 2017
@iBotPeaches
Owner
➜  Bug989 apktool if framework-res.apk -t 989
I: Framework installed to: /home/ibotpeaches/.local/share/apktool/framework/1-989.apk
➜  Bug989 apktool if mediatek-res.apk -t 989
I: Framework installed to: /home/ibotpeaches/.local/share/apktool/framework/8-989.apk
➜  Bug989 apktool d lenovo-res.apk -t 989
I: Using Apktool 2.2.2-b60db0-SNAPSHOT on lenovo-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1-989.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜  Bug989 apktool b lenovo-res
I: Using Apktool 2.2.2-b60db0-SNAPSHOT
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
I: Copying unknown files/dir...
➜  Bug989 

Confirmed fixed from the changes in iBotPeaches/platform_frameworks_base#2

Will be in 2.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment