You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bunch of apps in htc hero cdma sprint (2.1-update) rom, which
has next problem:
Repro:
$apktool d -s HTCAlbum.apk HTCAlbum.decoded
I: Decoding resource table...
I: Decoding resources...
W: Could not decode attr value, using undecoded value instead: ns=android,
name=src, value=0x0202072f
W: Could not decode attr value, using undecoded value instead: ns=android,
name=src, value=0x0202072e
W: Could not decode attr value, using undecoded value instead: ns=android,
name=background, value=0x0202072a
W: Could not decode attr value, using undecoded value instead: ns=android,
name=background, value=0x0202072c
I: Copying assets and libs...
$apktool b HTCAlbum.decoded
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
/home/astar/android/kitchen/build/HTCAlbum.decoded/res/layout-mdpi/zoomer.xml:5:
error: Error: No resource type specified (at 'src' with value '@33687343').
/home/astar/android/kitchen/build/HTCAlbum.decoded/res/layout-mdpi/zoomer.xml:6:
error: Error: No resource type specified (at 'src' with value '@33687342').
/home/astar/android/kitchen/build/HTCAlbum.decoded/res/layout-mdpi/zoomer.xml:7:
error: Error: No resource type specified (at 'background' with value
'@33687338').
/home/astar/android/kitchen/build/HTCAlbum.decoded/res/layout-mdpi/zoomer.xml:10
:
error: Error: No resource type specified (at 'background' with value
'@33687340').
Exception in thread "main" brut.androlib.AndrolibException:
brut.common.BrutException: could not exec command: [aapt, p, -F,
/tmp/APKTOOL3792701792102865439.tmp, -I,
/tmp/brut_util_Jar_3293322873639936806.tmp, -I,
/tmp/brut_util_Jar_5723326323782498275.tmp, -S,
/home/astar/android/kitchen/build/HTCAlbum.decoded/res, -M,
/home/astar/android/kitchen/build/HTCAlbum.decoded/AndroidManifest.xml,
/home/astar/android/kitchen/build/HTCAlbum.decoded/9patch]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F,
/tmp/APKTOOL3792701792102865439.tmp, -I,
/tmp/brut_util_Jar_3293322873639936806.tmp, -I,
/tmp/brut_util_Jar_5723326323782498275.tmp, -S,
/home/astar/android/kitchen/build/HTCAlbum.decoded/res, -M,
/home/astar/android/kitchen/build/HTCAlbum.decoded/AndroidManifest.xml,
/home/astar/android/kitchen/build/HTCAlbum.decoded/9patch]
at brut.util.OS.exec(Unknown Source)
... 7 more
As we can see when we build resources back it fail exactly with resources
it warned during decoding
Using apktool-1.2 and utils 2.2_r01-1 on
$ uname -a
Linux astar-desktop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05
UTC 2010 x86_64 GNU/Linux
Apps which has this problem: Calendar.apk, HTCAlbum.apk, HtcContacts.apk,
HtcDialer.apk, HtcFacebook.apk, HtcMusic.apk, HtcSoundRecorder.apk,
UploadProvider.apk, WorldClock.apk
Original issue reported on code.google.com by stari...@gmail.com on 4 Jun 2010 at 11:44
The text was updated successfully, but these errors were encountered:
You have to register/install htc resources framework: FrameworkFiles - apktool
should
output a warning about that. I know, why it didn't do that, will fix this.
Original comment by Brut.alll on 4 Jun 2010 at 12:15
Original issue reported on code.google.com by
stari...@gmail.com
on 4 Jun 2010 at 11:44The text was updated successfully, but these errors were encountered: