Comments (28)
Issue 19 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:15
from android-apktool.
Issue 20 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:16
from android-apktool.
Issue 30 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:22
from android-apktool.
Issue 35 has been merged into this issue.
Original comment by Brut.alll
on 31 May 2010 at 1:24
from android-apktool.
Issue 33 has been merged into this issue.
Original comment by Brut.alll
on 1 Jun 2010 at 8:16
from android-apktool.
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
- Changed state: Fixed
from android-apktool.
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 [email protected]
on 3 Jun 2010 at 9:15
from android-apktool.
[deleted comment]
from android-apktool.
I got problem simlar to Comment 7 for Phone.apk posted in Issue 33.
Original comment by [email protected]
on 4 Jun 2010 at 7:25
from android-apktool.
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 [email protected]
on 4 Jun 2010 at 7:29
from android-apktool.
Here my Phone.apk from Motorola Milestone 2.1update1
Original comment by [email protected]
on 4 Jun 2010 at 8:17
Attachments:
from android-apktool.
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
- Changed state: Started
from android-apktool.
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
from android-apktool.
(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
from android-apktool.
Great job. Works for me!
Original comment by [email protected]
on 4 Jun 2010 at 10:48
from android-apktool.
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 [email protected]
on 4 Jun 2010 at 11:48
from android-apktool.
Could you upload this file?
Original comment by Brut.alll
on 4 Jun 2010 at 11:50
from android-apktool.
Here it is
Original comment by [email protected]
on 4 Jun 2010 at 12:31
Attachments:
from android-apktool.
$ 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
from android-apktool.
Ooops. I'm really sorry.
I've used old apktool.jar (1.1.2)
Works like a charm! Thank you.
Original comment by [email protected]
on 4 Jun 2010 at 12:43
from android-apktool.
1.1.2 doesn't exist ;-)
Original comment by Brut.alll
on 4 Jun 2010 at 12:45
from android-apktool.
Original comment by Brut.alll
on 4 Jun 2010 at 12:47
- Changed state: Fixed
from android-apktool.
I consider it fixed too, works for me! You're the man, thanks.
Original comment by [email protected]
on 4 Jun 2010 at 3:40
from android-apktool.
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 [email protected]
on 3 Mar 2011 at 7:37
from android-apktool.
Do not use the latest aapt. Use the one from SDK version 8.
Original comment by [email protected]
on 3 Mar 2011 at 7:50
from android-apktool.
[deleted comment]
from android-apktool.
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 [email protected]
on 3 Mar 2011 at 8:41
from android-apktool.
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 [email protected]
on 1 Apr 2011 at 8:01
from android-apktool.
Related Issues (20)
- Netflix app can't be decoded HOT 1
- AndroidManifest HOT 4
- Exception in thread "main" org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65565 HOT 2
- Uncompressed unknown files becomes compressed. HOT 2
- recompiling HOT 3
- INSTALL_FAILED_DEXOPT HOT 5
- Error while apktool tring to decode resource xml files HOT 4
- Unable to decode app HOT 1
- Supporting dex.force.jumbo=true HOT 7
- different size of classes.dex when decompiling and recompiling same file HOT 4
- Error parsing XML: not well-formed (invalid token) HOT 8
- TW Lollipop Contacts app compiles but app disappears upon flashing HOT 2
- Apktool fails to reassemble twitter HOT 1
- Decoding resources of gmail HOT 2
- XML-Compiler HOT 1
- XML-Compiler feature missing - surpress overwriting platformBuildVersionName to "APKTOOL" HOT 3
- Lollipop 5.1 Decompile framework-res.apk and SystemUI.apk errors
- Decoding issue problem with filename HOT 1
- Apktool erro....on Android 5.1 HOT 1
- Exception in thread "main" brut.androlib.AndrolibException: Multiple res specs: attr/name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-apktool.