下面是我在Windows命令提示符中输入的代码,以及给出的错误。我将apk的classes.dex添加到了dex2jar中,并在命令窗口中设置了路径,但这没有用。
有什么建议吗?
C:\test\dex2jar-2.0> d2j-dex2jar.bat classes.dex
dex2jar classes.dex -> .\classes-dex2jar.jar
java.nio.file.AccessDeniedException: .\classes-dex2jar.jar
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)
at java.nio.file.Files.newOutputStream(Unknown Source)
at com.sun.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:116)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:139)
at com.googlecode.d2j.dex.Dex2jar.createZip(Dex2jar.java:288)
at com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:271)
at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)
at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)
at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)
C:\test\dex2jar-2.0>