[Solved] Android studio: Error:Could not download javawriter.jar


I have same problem and resolved by this way.

Step1: Click File/Setting/Build Execution,Development/Gradle then uncheck “Offline work”.
enter image description here

Step2: File/Invalidate Caches and Restart then select “Invalidate Caches and Restart”.

That’s it.

solved Android studio: Error:Could not download javawriter.jar