android - invalid LOC header -


i'm trying build project in android studio, gives me error:

gradle 'myproject' project refresh failed error:cause: invalid loc header (bad signature) 

other answers in suggest delete corrupted jars gradle can download them again. issue error have doesn't point jar. furthermore, have android.jar , rt.jar jars listed in external libraries part of project, , work fine other projects.

is there way solve issue?

thank you!

after trying many changes in project, found answer issue.

when going build log output @ idea.log , found line:

 not create instance of tooling api implementation using specified gradle distribution 'https://services.gradle.org/distributions/gradle-2.4-all.zip'. 

i updated distributionurl @ gladle/wrapper/gradle-wrapper.properties to:

distributionurl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 

now apk built properly.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -