berkus / android-apktool

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

File not close problem #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make application with apktool. and it's running for a while (I make web 
application)
2. above application decode some apk file 
3. above apk file not close (if try to delete it then warn that in use)

What is the expected output? What do you see instead?
I expect to apk file close

What version of the product are you using? On what operating system?
I use apktool 1.4.1 and OS is Windows 7(64bit).
I use jdk 1.6.0_26

Please provide any additional information below.

I found cause of problem
- never close ZipFile in ZipRODirectory
- do not close stream in getResPackagesFromApk method of AndrolibResources

I really appreciate your project.
I'm sorry about my poor english.

thank you very much.

Original issue reported on code.google.com by dck...@gmail.com on 5 Jul 2011 at 5:32

GoogleCodeExporter commented 9 years ago
Just added close for ZipFile. The stream is closed for getResPackagesFromApk

Original comment by connor.tumbleson on 18 Nov 2012 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 30 Nov 2012 at 3:55