1

I created an Android project and now I want to move that project in Android studio, I successfully done that on Mac machine and working fine but when I try to execute same gradle / android studio script on Windows machine it's failing getting following exception

Execution failed for task ':compileDebugJavaWithJavac'.
> Could not expand ZIP 'C:\CodeBase\build\intermediates\exploded-aar\CheckoutAnd4.0\jars\classes.jar'.

I tried to add Jar file then also getting same exception. Gradle Script

For Jar compile fileTree(include: '*.jar', dir: 'libs')
For Aar compile(name: 'CheckoutAnd4.0', ext: 'aar')

So I want to know whether there is anything missing with Gradle script or Android project

More info -

My jar containing Aux/com class, And widows don't allows that to compile/create in build folder.

  • close android studio, go to yours project folder, delete both `build` and `app/build` folders. Then run AS. It should work – piotrek1543 Aug 11 '16 at 18:31
  • Hi All,I got the answer the issue with jar file only its containing the windows banned files which throwing exception. – Nitin Gaikwad Sep 14 '16 at 04:40
  • Hi @NitinGaikwad, did you find a way around this? I have a Jar file included in one of my projects which uses Proguard and has at least 2 classes popping this error: _aux.class_ and _con.class_ – bpatrao Oct 18 '16 at 08:09

0 Answers0