arshidkv12 / android-apktool

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

Recompile bug #752

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Recompile bug

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

D:\apktool>apktool.bat d -s microkindergarten.apk
I: Using Apktool 2.0.0-RC3 on microkindergarten.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\guoyunfeng\apktool\framework\1.apk

I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying raw classes.dex file...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

D:\apktool>apktool.bat b microkindergarten
I: Using Apktool 2.0.0-RC3 on microkindergarten
I: Copying microkindergarten classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs...
I: Building apk file...
I: Copying unknown files/dir...
Exception in thread "main" brut.androlib.AndrolibException: java.nio.file.FileAl
readyExistsException: D:\apktool\microkindergarten\dist\zipfstmp5650030773789692
903.tmp -> D:\apktool\microkindergarten\dist\microkindergarten.apk
        at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:571)
        at brut.androlib.Androlib.build(Androlib.java:284)
        at brut.androlib.Androlib.build(Androlib.java:250)
        at brut.apktool.Main.cmdBuild(Main.java:225)
        at brut.apktool.Main.main(Main.java:84)
Caused by: java.nio.file.FileAlreadyExistsException: D:\apktool\microkindergarte
n\dist\zipfstmp5650030773789692903.tmp -> D:\apktool\microkindergarten\dist\micr
okindergarten.apk
        at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsFileCopy.move(Unknown Source)
        at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
        at java.nio.file.Files.move(Unknown Source)
        at com.sun.nio.zipfs.ZipFileSystem.sync(ZipFileSystem.java:1297)
        at com.sun.nio.zipfs.ZipFileSystem.close(ZipFileSystem.java:277)
        at brut.androlib.Androlib.insertFile(Androlib.java:590)
        at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:566)
        ... 4 more

What version of the product are you using? On what operating system?
Apktool 2.0.0-RC3

Original issue reported on code.google.com by guoyunf...@gmail.com on 28 Jan 2015 at 3:54

GoogleCodeExporter commented 9 years ago
Appears to be related to unknown files on Windows platform. Can you post apk? 

Original comment by connor.tumbleson on 28 Jan 2015 at 3:57

GoogleCodeExporter commented 9 years ago
OS: windows7  64bit

Original comment by guoyunf...@gmail.com on 28 Jan 2015 at 3:57

GoogleCodeExporter commented 9 years ago
What is your mail?

Original comment by guoyunf...@gmail.com on 28 Jan 2015 at 3:59

GoogleCodeExporter commented 9 years ago
ibotpeaches (at) gmail (dot) com

Original comment by connor.tumbleson on 28 Jan 2015 at 4:02

GoogleCodeExporter commented 9 years ago
email has been sent

Original comment by guoyunf...@gmail.com on 28 Jan 2015 at 4:13

GoogleCodeExporter commented 9 years ago
Could not duplicate on Windows 8 or Ubuntu.

Original comment by connor.tumbleson on 30 Jan 2015 at 1:27

GoogleCodeExporter commented 9 years ago
https://bugs.openjdk.java.net/browse/JDK-8021384 ?

D:\apktool>java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

Original comment by guoyunf...@gmail.com on 6 Feb 2015 at 9:16