search

Home  >  Q&A  >  body text

android - 打包后的apk更换后缀名为zip之后,不能解压

最近发现一个问题,

以前解压没有问题,现在解压即将完成的时候报错,

我以为是混淆的问题,当我把混淆文件都写好之后,发现问题仍然存在,但是不影响程序的运行,降级studio和gradle到先前的版本也没用(接手代码之前没有做混淆)
研究了好几天没有头绪,请有经验的帮助我一下,谢谢。

我用的工具是MAC OS,android studio 2.2,gradle 2.20

PHP中文网PHP中文网2811 days ago883

reply all(2)I'll reply

  • PHPz

    PHPz2017-04-17 17:52:47

    Is it a permission issue? You can try using root. In addition, Linux does not seem to support zip by default. You need to download the support library

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 17:52:47

    It’s probably a matter of decompression. You can open it directly with winrar in a windows environment. There is no apk package to unzip on mac. Because the compilation into apk is actually a format similar to the zip format, it should have nothing to do with the compilation or development environment. It may only be a problem with the decompression on the mac

    reply
    0
  • Cancelreply