Closed GoogleCodeExporter closed 9 years ago
When L 64bit dropped (a few days ago) -
https://plus.google.com/u/0/+AndroidDevelopers/posts/XG1WmNDMe8H
There was a new framework apart of it. This apk in OP is complaining about
> brut.androlib.err.UndefinedResObject: resource spec: 0x0101048f
Which is not in the framework prior to this 64 bit release. It is in the
framework released in the 64bit release (which also updated the non 64 bit
release to rev.2)
> ibotpeaches@raganok:/usr/local/android-sdk/platforms/android-L$ aapt d resources android.jar | grep '0x0101048f'
> spec resource 0x0101048f android:attr/accessibilityFocusedDrawable: flags=0x00000000
> resource 0x0101048f android:attr/accessibilityFocusedDrawable: <bag>
So rev2 of android-L has this resource. Normally using this as a framework and
including it would solve this problem. However, installing this new framework
is now failing
> brut.androlib.AndrolibException: Multiple resources: spec=0x01030128 style/Theme.DeviceDefault, config=[DEFAULT]
That little error is the same as the Android L bug. I don't feel right marking
this as a duplicate because I'm not entirely positive (though 99% sure), that
after fixing the framework this error will go away.
Therefore its blocked until #653 is fixed.
Original comment by connor.tumbleson
on 10 Oct 2014 at 2:43
Since, according to
https://code.google.com/p/android-apktool/issues/detail?id=653#c11, issue 653
is fixed, I've checked with the locally built apktool from
https://github.com/iBotPeaches/Apktool/commit/869d287aaab61995e537bcfdfb8a043559
897d71 and the issue still exists.
Original comment by Milosz.Lewandowski
on 23 Oct 2014 at 3:30
Using framework-res.apk from Nexus 5, OS 5.0 fixes the problem.
Original comment by Milosz.Lewandowski
on 23 Oct 2014 at 3:53
[deleted comment]
@ Comment #2 / #3. I believe the problem would of been solved by also removing
the framework at $HOME/apktool/framework/1.apk and letting it populate it with
the API 21 framework internal in itself.
There is no support...yet for apktool to know when it should auto update the
framework it uses.
Original comment by connor.tumbleson
on 23 Oct 2014 at 4:01
Got it, works fine.
Original comment by Milosz.Lewandowski
on 27 Oct 2014 at 10:58
I don't duplicate this anymore after my merged changes of Lollipop support.
Original comment by connor.tumbleson
on 1 Dec 2014 at 12:13
Original issue reported on code.google.com by
dankoma...@gmail.com
on 10 Oct 2014 at 1:54