desword / android-apktool

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

Unknown Folder Created When Decompiling (Greed for Glory) #603

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Decompiling Greed for Glory.
2.
3.

What is the expected output? file structure not missing files after recompiled, 
Same files decompiled as the original apk would have. What do you see instead? 
Unknown folder with files that are needed but dont recompile correctly, the 
unknown folder files are missing after recompiled

What version of the product are you using? v2.0.0b9 On what operating system? 
v4.0.3 ICS

Please provide any additional information below.

Original issue reported on code.google.com by Fnice1971 on 13 Feb 2014 at 12:42

GoogleCodeExporter commented 9 years ago
What OS you on?

I can't duplicate on Win8 or Ubuntu 13.10.

Original comment by connor.tumbleson on 13 Feb 2014 at 8:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Windows 7, sorry I added ICS 4.03 lol, my bad

Original comment by Fnice1971 on 14 Feb 2014 at 3:30

GoogleCodeExporter commented 9 years ago
try to decompile greed for glory - 
https://play.google.com/store/apps/details?id=com.perblue.greedforglory

you should see the unknown folder with all the files that were from the root 
dir of the apk, this game is not normal as it does have extra files in the root 
that 99% of apk's dont have. can also be viewed with 7zip in windows 7 or 8 
also. after editing & when you recompile it. will not add the files from that 
unknown folder. 

Original comment by Fnice1971 on 14 Feb 2014 at 3:56

GoogleCodeExporter commented 9 years ago
unknown/ = Files / folders that are not part of the standard AOSP build 
procedure seems to be the issue, thanks for any help & hope I gave enough info 
for a fix with non standard AOSP build Procedures.

Original comment by Fnice1971 on 14 Feb 2014 at 4:11

GoogleCodeExporter commented 9 years ago
All files are copied, except the "libgdx" one. Probably cause it has "lib" in 
the name. I'll investigate that.

Original comment by connor.tumbleson on 14 Feb 2014 at 12:48

GoogleCodeExporter commented 9 years ago
Thank you for checking this out!

seems game Devs are adding new anti hack features. We need new keys for apk 
tool for compiling, this also is an issue. as greed for glory cant be compiled 
anymore after last update, Ninja Saga 0.9.44 also is the same, so new keys or a 
work around is needed :(

Original comment by Fnice1971 on 14 Feb 2014 at 1:46

GoogleCodeExporter commented 9 years ago
Yes, I made a mistake.

https://github.com/iBotPeaches/Apktool/blob/wip-2.0/brut.apktool/apktool-lib/src
/main/java/brut/androlib/Androlib.java#L140

Here I use StartsWith, so any file starting with "lib" or "res", etc will not 
be included. I will adapt that check. 

As for your recent comment. With no tangible or concrete evidence there. I 
cannot do anything. APKs can not work for a multitude of reasons. None of which 
I can magically know.

Original comment by connor.tumbleson on 14 Feb 2014 at 8:17

GoogleCodeExporter commented 9 years ago
thank you very much! let me know when I can try it thankyou again

the last comment I made, I will do more research, first.

Original comment by Fnice1971 on 14 Feb 2014 at 8:59

GoogleCodeExporter commented 9 years ago
https://github.com/iBotPeaches/Apktool/commit/65b188ae96611ae3e5d9383c963fe60f79
a0e365

Original comment by connor.tumbleson on 16 Feb 2014 at 5:20