Gradle.properties. Unused property

I have a gradle.properties file in an Android Studio project. I have nested a few lines inside the _ file:

org.gradle.daemon=true org.gradle.parallel=true 

If I mouse over these properties, a mesagge will appear saying:

Unused property. This check reports all properties that are not specified outside the properties file.

Does anyone know how to enable these properties? Thanks

+1
android android gradle
Sep 30 '16 at 11:55
source share
1 answer
  • open this in Windows C: \ Users \ user3 \ .gradle
  • edit or create gradle.properties file and open it with a text editor
  • copy and paste them there

org.gradle.daemon = true org.gradle.jvmargs = -Xmx6144m -XX: MaxPermSize = 512m -XX: + HeapDumpOnOutOfMemoryError -Dfile.encoding = UTF-8 org.gradle.parallel = true org.gradle.configuremandand

  1. invalidate cache and restart android studio

Note: changing memory values ​​according to your system configuration

+1
Sep 30 '16 at 12:01
source share



All Articles