私はちょっとした試合にGoogle Playサービスを使い始めています。ガイドが言うように、build.gradle(Module: app)
にcompile 'com.google.android.gms:play-services:9.4.0'
を追加しました。「com.google.android.gms:play-services:9.4.0」のAPKを作成できません
変更されて以来、私はapkを構築することはできませんが、私はまだ携帯電話で実行できます。 APKを構築しながら、私は、次のエラーを取得する:
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.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536 Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
おかげ
は、Googleからのインポートのみ必要なクラスはlibが果たすべきです。ここにtable1が掲載されており、利用可能な部分は次のとおりです。https://developers.google.com/android/guides/setup – Opiatefuchs