国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > Android > 正文

AndroidStudio 使用過程中出現(xiàn)的異常(Gradle sync failed)處理辦法

2019-12-12 05:20:12
字體:
供稿:網(wǎng)友

AndroidStudio使用過程中出現(xiàn)的異常

異常信息:

 Gradle sync failed: Unable to start the daemon process.   This problem might be caused by incorrect configuration of the daemon.   For example, an unrecognized jvm option is used.   Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.10/userguide/gradle_daemon.html   Please read the following process output to find out more:   -----------------------   Error occurred during initialization of VM   Could not reserve enough space for object heap   Error: Could not create the Java Virtual Machine.   Error: A fatal exception has occurred. Program will exit.   Consult IDE log for more details (Help | Show Log)

剛開始使用AndroidStudio

在網(wǎng)上看的時候,一直以為是自己gradle.properties文件中

org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

-Xmx1024m的值太小了,最后發(fā)現(xiàn)原來是由于我自己的電腦內(nèi)存太小,只有2G,而windows系統(tǒng)差不多要占1G左右,所以得把

-Xmx1024m的值改為-Xmx512m才行

以上就是對AndroidStudio 錯誤資料整理,后續(xù)繼續(xù)補充相關(guān)資料,謝謝大家對本站的支持!

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 海兴县| 法库县| 铜山县| 前郭尔| 高尔夫| 金华市| 东明县| 布拖县| 佛学| 莲花县| 辽阳市| 乌拉特中旗| 宁海县| 连江县| 鄯善县| 清新县| 兰州市| 安国市| 娄烦县| 阜城县| 政和县| 吉水县| 乌拉特后旗| 格尔木市| 义乌市| 余姚市| 长武县| 贵港市| 闽侯县| 六枝特区| 双流县| 多伦县| 华蓥市| 深泽县| 天门市| 三穗县| 遵义市| 内江市| 垦利县| 仲巴县| 宾阳县|