zoukankan      html  css  js  c++  java
  • unable to execute dex:GC overhead limit exceeded unable to execute dex:java heap space 解决方案

     

    最近做厂商适配,厂商提供了一部分Framework的jar包,把jar包通过Add Jar放到Build Path中, 在生成APK过程中,Eclipse长时间停留在100%那个进度。
    最后Eclipse报告unable to execute dex:GC overhead limit exceeded错误,网上找了解决方案
     
    修改
    -Xms128m
    -Xmx512m
    修改
    --launcher.XXMaxPermSize
    512m
     
    修改后还是不行,Eclipse长时间停留在100%那个进度 后报unable to execute dex:java heap space错误提示, 网上找方案
    将厂商的Jar 添加user Library,并把as system Library选上,并引入工程
         建立User Library:Windows->Preference->Java->Build Path->User Library, New and Add Jars
         添加User Library 到工程:Project->Properties->Java Build Path->Libraries->Add Library->User Library
     
    Build 运行正常了。
  • 相关阅读:
    正课day04
    正科day03
    正课day02
    正课day01
    预科day08
    Elasticsearch之-文档操作
    Elasticsearch之-映射管理
    Elasticsearch之-索引操作
    Elasticsearch之-倒排索引
    es安装官方,第三方插件
  • 原文地址:https://www.cnblogs.com/garygou/p/3501346.html
Copyright © 2011-2022 走看看