-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error generating BuildConfig (ZipException: zip file is empty) if one of the dependent AARs has an empty classes.zip #626
Comments
This fix work with JDK 1.8 and doesn't work with JDK 1.6 (as stated in plugin requirements). ... |
Create a new issue and provide a cut down project exposing it. |
This is the case for play-services-7.0 and 7.3.0 because the ClasspathModifierLifecycleParticipant blindly creates an empty file called classes.jar so that it can be added to the classpath for the compiler. It is normally later replaced by a real classes.jar as the AAR is extracted in GenerateSources.
The solution is to create a a proper empty jar file instead of a zero length file.
The text was updated successfully, but these errors were encountered: