Giter Club home page Giter Club logo

Comments (28)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Issue 19 has been merged into this issue.

Original comment by Brut.alll on 31 May 2010 at 1:15

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Issue 20 has been merged into this issue.

Original comment by Brut.alll on 31 May 2010 at 1:16

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Issue 30 has been merged into this issue.

Original comment by Brut.alll on 31 May 2010 at 1:22

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Issue 35 has been merged into this issue.

Original comment by Brut.alll on 31 May 2010 at 1:24

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Issue 33 has been merged into this issue.

Original comment by Brut.alll on 1 Jun 2010 at 8:16

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
[deleted comment]

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
(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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Great job.  Works for me!

Original comment by [email protected] on 4 Jun 2010 at 10:48

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Could you upload this file?

Original comment by Brut.alll on 4 Jun 2010 at 11:50

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
Here it is

Original comment by [email protected] on 4 Jun 2010 at 12:31

Attachments:

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
$ 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
1.1.2 doesn't exist ;-)

Original comment by Brut.alll on 4 Jun 2010 at 12:45

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024

Original comment by Brut.alll on 4 Jun 2010 at 12:47

  • Changed state: Fixed

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
[deleted comment]

from android-apktool.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 11, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.