Android studioでgooglemapを表示しようとしています。
しかし、ビルド時に
Error:The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_91\bin\java.exe'' finished with non-zero exit value 2
というエラーが表示されます。
メソッド数が64Kを超えていることが原因らしいのですが、
Google Play Serviceがメソッド数を多く使っているらしいです。
→http://qiita.com/konifar/items/d98c78facbaae63badca
このサイトの方は
strip_play_services.gradle を作成する
ことが解決策とおっしゃっていますが、どこに作成すればよいのでしょうか。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/30 06:23
2016/09/30 06:35
2016/09/30 06:45
2016/09/30 07:16