I can't run or execute my code. I already followed this.
It still won't work. My error message
Error:Execution failed for task ':app:packageInstantRunResourcesDebug'. Java heap space ties file. For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: org.gradle.jvmargs=-Xmx1024m Read Gradle's configuration guide
Read about Java's heap size
I tried turning off the instant run and there's a new error
Error:Execution failed for task ':app:packageDebug'. Java heap space ect's gradle.properties file. For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: org.gradle.jvmargs=-Xmx1024m Read Gradle's configuration guide
Read about Java's heap size
EDIT: I found the reason why. It's because i added a code that'll unzip a 500 mb file and will transfer into the internal storage. It might be because it has a lot of files. The zipfile has 80,000+ files.