I recently imported my Android project from Eclipse to AndroidStudio. Everything went pretty well, and I was able to solve most of the issues, except when he got to the GameCircleSDK library module. I kept getting the following error:
UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Lcom/amazon/ags/BuildConfig;
As it turned out, com.amazon.ags.BuildConfig.class was really contained in two banks: classes.jar (which received generated during assembly) and GameCircleSDK / libs / gamecirclesdk.jar .
The only way to solve the problem is to unzip the gamecirclesdk.jar file, delete the BuildConfig.class and fix it back again. I was looking for interns to solve, and I tried almost everything listed here , but nothing seemed to solve my situation. Did I miss something?
source share