kuter007 / android-apktool

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

error: No resource identifier found for attribute 'mirrorForRtl' in package 'android' #699

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When building resources, the apktool issue the error message.

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)

It seems the apktool doesn't recognize the  android:mirrorForRtl attribute from 
the android that is defined since 4.3. 
 This happened in both in MAC and Windows, Android 4.4.2

Original issue reported on code.google.com by c7syan on 6 Nov 2014 at 11:04

GoogleCodeExporter commented 9 years ago
Try deleting the framework at `$HOME/apktool/framework/1.apk` and use Apktool 
2.0.0 RC2 and try again.

Original comment by connor.tumbleson on 6 Nov 2014 at 11:06

GoogleCodeExporter commented 9 years ago
Thanks for immediate reply. I am using the latest lib I built myself following 
the instruction. I noticed the Apktool_2.0.0rc2.jar downloaded from the web 
doesn't contain the latest code. Don't know why. 
 I don't see a framework dir in my apk directory. 
I notice couple other attributes (such as AccessibilityRegion) have similar 
issue.

Original comment by c7syan on 6 Nov 2014 at 11:16

GoogleCodeExporter commented 9 years ago
botpeaches@raganok:~/apktool/framework$ clean-aapt d resources 1.apk | grep 
'mirrorForRtl' 
      spec resource 0x010103ce android:attr/mirrorForRtl: flags=0x40000000
        resource 0x010103ce android:attr/mirrorForRtl: <bag> (PUBLIC)

Its in the internal framework in 2.0.0rc2. Not a bug.

Original comment by connor.tumbleson on 9 Nov 2014 at 2:17