LoginSignup
0
0

More than 5 years have passed since last update.

eclipseで「Dex Loader Unable to execute dex: Multiple dex files define Lcom/google/ads/Ad;」の対処法

Last updated at Posted at 2015-04-15

新しいAdmob入れてる時とかになる人も居ると思います・・・
いろんな方法があると思いますが、うちの環境で成功する情報がなかなかなかったのでシェア

「Dex Loader Unable to execute dex: Multiple dex files define Lcom/google/ads/Ad;」

この時、Eclipseがフリーズしてビルドが進まないなら

対処法

1 . Eclipseのあるフォルダに行く

Macなら「/Applications/eclipse/Eclipse.app」へGO

appを直接ファインダーで見るには右クリック&パッケージの内容を表示
スクリーンショット 2015-04-15 14.14.31.png

2 . eclipse.iniを直接編集
Eclipse配下のContents/MacOS/eclipse.iniを編集します。

3 . 書き換え箇所
eclipse.iniの後ろの方

-Xms40m
-Xmx512m

-Xms512m
-Xmx1024m

に書き換えます。

4 . Eclipse再起動

おしまい

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0