New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing XML when building #175

Closed
iBotPeaches opened this Issue Mar 18, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@iBotPeaches
Owner

iBotPeaches commented Mar 18, 2015

Original issue 64 created by JodaZ1 on 2010-06-23T06:58:44.000Z:

What steps will reproduce the problem?

  1. Download "Orkut v1.1.apk"
  2. apktool decode "Orkut v1.1.apk" out_orkut
    [[3. Do not modify any decoded files.]]
  3. apktool build out_orkut orkut.apk

What is the expected output? What do you see instead?

D:>apktool decode "Orkut v1.1.apk" out_orkut
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Jonas\apktool\framework\1.apk
I: Copying assets and libs...

D:>apktool build out_orkut orkut.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\out_orkut\res\values\strings.xml:73: error: Error parsing XML: not well-formed (invalid token)
D:\out_orkut\res\values-pt\strings.xml:70: error: Error parsing XML: not well-formed (invalid token)
D:\out_orkut\res\values\public.xml:96: error: Public symbol string/SDCardFull declared here is not defined.
.......

What version of the product are you using? On what operating system?

Apktool v1.3.1, Windows Vista x86.

Please provide any additional information below.

Replacing & with & in all xml files seems to fix the building problem and the app works.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #1 originally posted by fciscoc on 2010-07-11T12:57:48.000Z:

The & problem still persists when building LeoFroyos spare parts Need to fix it or it will say & whe build and installed app...

Windows Xp and just using & will not allow me to build

Owner

iBotPeaches commented Mar 18, 2015

Comment #1 originally posted by fciscoc on 2010-07-11T12:57:48.000Z:

The & problem still persists when building LeoFroyos spare parts Need to fix it or it will say & whe build and installed app...

Windows Xp and just using & will not allow me to build

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #2 originally posted by Brut.alll on 2010-09-03T15:53:07.000Z:

Fixed in v1.3.2 .

Owner

iBotPeaches commented Mar 18, 2015

Comment #2 originally posted by Brut.alll on 2010-09-03T15:53:07.000Z:

Fixed in v1.3.2 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment