desword / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
1 stars 0 forks source link

Can't recompile to .apk #679

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. decompile Fifa 15 Ultimate team.apk
2. no changes/ with changes
3. try to recompile

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

C:\Users\User\Downloads\APKTOOL 1.5.2\apktool-install-windows-r05-ibot\apktool
-install-windows-r05-ibot>apktool b fifa15
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\User\Downloads\APKTOOL 1.5.2\apktool-install-windows-r05-ibot\apktool
-install-windows-r05-ibot\fifa15\AndroidManifest.xml:6: error: No resource ident
ifier found for attribute 'requiredAccountType' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 10, --target-sdk-version, 19, -F, C:\Users\User\AppData\Local\Tem
p\APKTOOL4258083235226914257.tmp, -0, arsc, -I, C:\Users\User\apktool\framewor
k\1.apk, -S, C:\Users\User\Downloads\APKTOOL 1.5.2\apktool-install-windows-r05
-ibot\apktool-install-windows-r05-ibot\fifa15\res, -M, C:\Users\User\Downloads
\APKTOOL 1.5.2\apktool-install-windows-r05-ibot\apktool-install-windows-r05-ibot
\fifa15\AndroidManifest.xml]
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
        at brut.androlib.Androlib.buildResources(Androlib.java:283)
        at brut.androlib.Androlib.build(Androlib.java:206)
        at brut.androlib.Androlib.build(Androlib.java:176)
        at brut.apktool.Main.cmdBuild(Main.java:228)
        at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
 exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 19, -F, C:
\Users\User\AppData\Local\Temp\APKTOOL4258083235226914257.tmp, -0, arsc, -I, C
:\Users\User\apktool\framework\1.apk, -S, C:\Users\User\Downloads\APKTOOL 1.
5.2\apktool-install-windows-r05-ibot\apktool-install-windows-r05-ibot\fifa15\res
, -M, C:\Users\User\Downloads\APKTOOL 1.5.2\apktool-install-windows-r05-ibot\a
pktool-install-windows-r05-ibot\fifa15\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
        ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 10, --target-sdk-version, 19, -F, C:\Users\User\AppData\Local\Temp\
APKTOOL4258083235226914257.tmp, -0, arsc, -I, C:\Users\User\apktool\framework\
1.apk, -S, C:\Users\User\Downloads\APKTOOL 1.5.2\apktool-install-windows-r05-i
bot\apktool-install-windows-r05-ibot\fifa15\res, -M, C:\Users\User\Downloads\A
PKTOOL 1.5.2\apktool-install-windows-r05-ibot\apktool-install-windows-r05-ibot\f
ifa15\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:89)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
        ... 6 more

C:\Users\User\Downloads\APKTOOL 1.5.2\apktool-install-windows-r05-ibot\apktool
-install-windows-r05-ibot>

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

apktool 1.5.2; Windows 7 Ultimate 64-bit

Please provide any additional information below.

the programme works for evrything I've done so far, just everything related to 
this game doesn't seem to work.

I've updated the aapt using the one from SDK tools but I can't get it to work.

Original issue reported on code.google.com by austinor...@gmail.com on 25 Sep 2014 at 3:53

GoogleCodeExporter commented 9 years ago
Do you have apk?

Original comment by connor.tumbleson on 26 Sep 2014 at 11:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes, I have the apk I'm trying to change.

Original comment by austinor...@gmail.com on 26 Sep 2014 at 1:35

GoogleCodeExporter commented 9 years ago
I asked so you could upload it into the issue :)

Not much I can do just guessing.

Original comment by connor.tumbleson on 26 Sep 2014 at 4:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was going to but I wasn't sure if that's what you meant :)

It's 19.7MB so I've had to split it into two .RAR files.

Part 1:

Original comment by austinor...@gmail.com on 26 Sep 2014 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
Part 2:

Original comment by austinor...@gmail.com on 26 Sep 2014 at 4:26

Attachments:

GoogleCodeExporter commented 9 years ago
Any news? :)

Original comment by austinor...@gmail.com on 1 Oct 2014 at 1:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
same issue with me  :/

Original comment by mgeeky....@gmail.com on 5 Dec 2014 at 8:58

GoogleCodeExporter commented 9 years ago
Please read FrameworkFiles. I could not duplicate and the stack trace you 
posted looks like your internal framework is out of date.

ibotpeaches@raganok:~/Downloads/Apktool/Bug679$ apktool d fifa15.apk 
I: Using Apktool 2.0.0-RC3 on fifa15.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
ibotpeaches@raganok:~/Downloads/Apktool/Bug679$ apktool b fifa15
I: Using Apktool 2.0.0-RC3 on fifa15
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs...
I: Building apk file...
I: Copying unknown files/dir...
ibotpeaches@raganok:~/Downloads/Apktool/Bug679$ 

Original comment by connor.tumbleson on 7 Dec 2014 at 1:56