Android Studio failed to complete Gradle execution without cause -
i have strange problem since yesterday. if use run-button in android studio android studio cannot complete gradle execution.
in gradle console in android studio first message:
:app:compiledevelopmentdebugjavawithjavac note: input files use or override deprecated api. note: recompile -xlint:deprecation details. note: input files use unchecked or unsafe operations. note: recompile -xlint:unchecked details.
followed by:
:app:dexdevelopmentdebug agpbi: {"kind":"simple","text":"warning: ignoring innerclasses attribute anonymous inner class","sources":[{}]} agpbi: {"kind":"simple","text":"(org.apache.commons.httpclient.httpmethodbase$1) doesn\u0027t come an","sources":[{}]} agpbi: {"kind":"simple","text":"associated enclosingmethod attribute. class produced a","sources":[{}]} agpbi: {"kind":"simple","text":"compiler did not target modern .class file format. recommended","sources":[{}]} agpbi: {"kind":"simple","text":"solution recompile class source, using up-to-date compiler","sources":[{}]} agpbi: {"kind":"simple","text":"and without specifying \"-target\" type options. consequence of ignoring","sources":[{}]} agpbi: {"kind":"simple","text":"this warning reflective operations on class incorrectly","sources":[{}]} agpbi: {"kind":"simple","text":"indicate *not* inner class.","sources":[{}]}
then gradle console said build successful android studio gives me error message "gradle running failed complete gradle execution" without cause (its empty, see picture).
the run button not clickable more , have click "sync project gradle files". afterwards able run app few times (on device) without of error messages posted above. after few times same error message(s) showing again.
with update newest android studio version 1.3 (beta), problem gone. console shows same warnings android studio not fail.
Comments
Post a Comment