Android studio where is gradle.properties file?

前端 未结 7 1404
情深已故
情深已故 2020-12-04 17:12

I\'m trying to generate a signed apk but I always get the same error.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has approxim         


        
7条回答
  •  醉话见心
    2020-12-04 17:44

    Just follow the below steps:

    1)Go to File
    2)Create a New File
    3)Name it as gradle.properties
    4)Write the content in the file 
    For eg:
     org.gradle.jvmargs=-Xmx1536M;(replace it with the numbers in your gradle file)
    

    Hope it helps.

提交回复
热议问题