Closed GoogleCodeExporter closed 9 years ago
Issue 19 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:15
Issue 20 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:16
Issue 30 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:22
Issue 35 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:24
Issue 33 has been merged into this issue.
Original comment by Brut.alll
on 1 Jun 2010 at 8:16
Lemme know if rebuilt files work properly. I failed to rebuild them 1:1, I
think it
should be ok, but who knows...
Original comment by Brut.alll
on 3 Jun 2010 at 6:45
Issue as reported in #30 no longer occurs for me when building
com.htc.resources.apk
but I get the following instead:
W/ResourceType( 2320): Bad string block: last string is not 0-terminated
D:\DavidM\Android\APKTool\com.htc.resources\res\values\styles.xml:6: error:
Error: No
resource found that matches the given name: attr 'android:textColor'.
Not sure which "string block" is being referred to but the xml file seems fine.
Original comment by djmcnz@gmail.com
on 3 Jun 2010 at 9:15
[deleted comment]
I got problem simlar to Comment 7 for Phone.apk posted in Issue 33.
Original comment by mkzhang1...@gmail.com
on 4 Jun 2010 at 7:25
Got something like that
/ResourceType(19101): Bad string block: last string is not 0-terminated
/home/lado/development/android/apktool/Phone/dst/res/values/styles.xml:4: error:
Error: No resource found that matches the given name: attr
'android:windowBackground'.
/home/lado/development/android/apktool/Phone/dst/res/values/styles.xml:5: error:
Error: No resource found that matches the given name: attr
'android:windowFrame'.
/home/lado/development/android/apktool/Phone/dst/res/values/styles.xml:8: error:
Error: No resource found that matches the given name: attr
'android:windowBackground'.
Dozens of lines
and
then
Exception in thread "main" brut.androlib.AndrolibException:
brut.common.BrutException: could not exec command: [aapt, p, -F,
/tmp/APKTOOL8395038617348458788.tmp, -I, /home/lado/apktool/framework/1.apk, -S,
/home/lado/development/android/apktool/Phone/dst/res, -M,
/home/lado/development/android/apktool/Phone/dst/AndroidManifest.xml,
/home/lado/development/android/apktool/Phone/dst/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/APKTOOL8395038617348458788.tmp, -I, /home/lado/apktool/framework/1.apk, -S,
/home/lado/development/android/apktool/Phone/dst/res, -M,
/home/lado/development/android/apktool/Phone/dst/AndroidManifest.xml,
/home/lado/development/android/apktool/Phone/dst/9patch]
at brut.util.OS.exec(Unknown Source)
... 7 more
Original comment by herrl...@gmail.com
on 4 Jun 2010 at 7:29
Here my Phone.apk from Motorola Milestone 2.1update1
Original comment by herrl...@gmail.com
on 4 Jun 2010 at 8:17
Attachments:
Ahh, I know, what it is. You need aapt tool from newest SDK, because new
Android
framework is not compatible with older aapt.
I will update install packages.
Original comment by Brut.alll
on 4 Jun 2010 at 9:57
Ahh, I know, what it is. You need aapt tool from newest SDK, because new
Android
framework is not compatible with older aapt.
I will update install packages.
Original comment by Brut.alll
on 4 Jun 2010 at 9:57
(2010.06.04):
* updated install packages to 2.2r01-1 version. Apktool 1.2.0 requires newer aapt
tool, so you must update to use it.
Let me know, whether this worked for you :-)
Original comment by Brut.alll
on 4 Jun 2010 at 10:45
Great job. Works for me!
Original comment by herrl...@gmail.com
on 4 Jun 2010 at 10:48
This problem is still here.
Sprint HTC Hero CDMA (2.1-update1)
building framework-res
/home/astar/android/kitchen/build/111/res/values/public.xml:2471: error: Public
entry
identifier 0x1080338 entry index is larger than available symbols (index 824,
total
symbols 824).
/home/astar/android/kitchen/build/111/res/values/public.xml:2471: error: Public
symbol drawable/selected_day_background declared here is not defined.
Original comment by stari...@gmail.com
on 4 Jun 2010 at 11:48
Could you upload this file?
Original comment by Brut.alll
on 4 Jun 2010 at 11:50
Here it is
Original comment by stari...@gmail.com
on 4 Jun 2010 at 12:31
Attachments:
$ apktool d framework-res.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...
$ apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
Could you verify, that you are using apktool 1.2.0? Just run "apktool" and
version is
on top of usage help.
Original comment by Brut.alll
on 4 Jun 2010 at 12:41
Ooops. I'm really sorry.
I've used old apktool.jar (1.1.2)
Works like a charm! Thank you.
Original comment by stari...@gmail.com
on 4 Jun 2010 at 12:43
1.1.2 doesn't exist ;-)
Original comment by Brut.alll
on 4 Jun 2010 at 12:45
Original comment by Brut.alll
on 4 Jun 2010 at 12:47
I consider it fixed too, works for me! You're the man, thanks.
Original comment by djmcnz@gmail.com
on 4 Jun 2010 at 3:40
Okay so I have the newest of the newest aapt. Got it today, but for some reason
I still cannot build. I am having the same errors.
"/Users/****/Desktop/framework-res/res/values/public.xml:2345: error: Public
symbol string/throttled_notification_message declared here is not defined."
Any clue where this could be coming from? I'm on Mac OS X Leopard and solved
the whole java problem already. I was also having a problem with greasekit
interfering. Idk why that would be involved at all.
Original comment by MacManCh...@gmail.com
on 3 Mar 2011 at 7:37
Do not use the latest aapt. Use the one from SDK version 8.
Original comment by mkzhang1...@gmail.com
on 3 Mar 2011 at 7:50
[deleted comment]
thank you I realized I was using the aapt from a different platform-tools
folder. not even sure where it came from. again thank you. new problem has
appeared though. but this one I think I can figure out :P
Original comment by MacManCh...@gmail.com
on 3 Mar 2011 at 8:41
same problem than the others......
used the latest and the aapt form SDK version 8 (got apktool 1.3.2)
--> recompiling a framework from streakdroid 1.9---> its andorid 2.2.2
Original comment by maximili...@googlemail.com
on 1 Apr 2011 at 8:01
Original issue reported on code.google.com by
Brut.alll
on 31 May 2010 at 1:14