Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - How to fix Internal error when trying to read zip file

I'm a beginner in android studio, I use android studio

More information

  • My device runs on Virtual Device Nexus 5X API 28
  • Android studio v. 3.3
  • JDK v. 1.8.0
  • JRE v. 1.8.0
  • Original code (empty project template)

When I run project app from Android Studio

I got the following message in the console.

Internal error when trying to read zip file 'C:\Users\Administrator.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0.aar\5a46c076ff7d88cc2aa1f3c86b046c42\jars\classes.jar'.

enter image description here

like image 358
A3IOU Avatar asked Jan 24 '19 06:01

A3IOU


People also ask

How do I zip multiple files on Android?

Step 1: Launch ES File Explorer and navigate to the files you want to compress. Step 2: Long-press on a folder to compress the whole folder. Step 3: After you've selected all the files for your ZIP file, tap on "More," then select "Compress."


1 Answers

Go to C:\Users\Administrator\AndroidStudioProjects\"ํYour Project Folder"

  • Find gradle.properties

  • in gradle.properties

  • Change org.gradle.jvmargs=-Xmx1536m to

  • org.gradle.jvmargs=-Xmx1536m -Duser.country=US -Duser.language=en

  • Save

like image 139
A3IOU Avatar answered Sep 27 '22 19:09

A3IOU