Closed GoogleCodeExporter closed 9 years ago
I don't have Mac OS X.
I can't duplicate on Windows or Ubuntu.
Could you please provide a full stack-trace of the error?
Original comment by connor.tumbleson
on 20 Feb 2014 at 2:16
Here u are
I: Using Apktool 2.0.0-Beta9 on .
I: Checking whether sources has changed...
I: Smaling...
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" java.nio.file.FileSystemNotFoundException:
/Volumes/Data/APK/everpack/./dist/%E5%8D%B0%E8%B1%A1%E7%AC%94%E8%AE%B0.apk
at com.sun.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:120)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:322)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:272)
at brut.androlib.Androlib.insertFolder(Androlib.java:599)
at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:566)
at brut.androlib.Androlib.build(Androlib.java:294)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Original comment by yoyokko@gmail.com
on 21 Feb 2014 at 1:11
seems that the exception was fixed in 2.0.0-65b1880SNAPSHOT
I: Using Apktool 2.0.0-65b188-SNAPSHOT on everpack
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs...
I: Building apk file...
I: Copying unknown files/dir...
Cleaning up unclosed ZipFile for archive
/var/folders/8_/ccjjst6x1k5gwhmhr16pww7w0000gn/T/APKTOOL5025587084431922226.tmp
Original comment by yoyokko@gmail.com
on 21 Feb 2014 at 6:17
but with command apktool d -r -o outpack 印象笔记.apk
there is still no unknow files in apktool.yml
contents of apktool.ymal
version: 2.0.0-65b188-SNAPSHOT
apkFileName: 印象笔记.apk
log of command:
I: Using Apktool 2.0.0-65b188-SNAPSHOT on 印象笔记.apk
I: Loading resource table...
I: Loading resource table...
I: Copying raw resources...
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
Original comment by yoyokko@gmail.com
on 21 Feb 2014 at 6:20
in brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java @
line270
if (mDecodeResources != DECODE_RESOURCES_NONE ........)
if specified -r option, mDecodeResources = DECODE_RESOURCES_NONE, the
putUnknownFile(meta) doesn't executed
I move putUnknownFile(meta) out of the if section, compile and build the apk
correctly.
Original comment by yoyokko@gmail.com
on 21 Feb 2014 at 6:39
This commit must have fixed it:
https://github.com/iBotPeaches/Apktool/commit/f85dc478b2c1cc4038be509eab0fbf8543
2b0d40
I will fix the other problem shortly.
Original comment by connor.tumbleson
on 21 Feb 2014 at 12:43
https://github.com/iBotPeaches/Apktool/commit/0736aac01393f783dec5d6a34412064bc0
ffa7f3
Original comment by connor.tumbleson
on 22 Feb 2014 at 8:00
I have also facing similar problem. I read your commit on above both link. But
I do not found the path and file you mentioned in above link. I am using
apktool 4.4(android). Please clarify properly. Thank you.
Original comment by umaresur...@gmail.com
on 23 Apr 2014 at 6:43
Original issue reported on code.google.com by
yoyokko@gmail.com
on 20 Feb 2014 at 10:50