Question by
lspence812 · Dec 21, 2016 at 02:46 AM ·
build-errorandroid buildadmob
Build Failure with AdMob
I've added Ad Mob to my project, but now I'm unable to build due to the following errors.
CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.8.0_112\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Android_SDK\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdRequest;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdRequest$ErrorCode;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdRequest$Gender;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdSize;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/mediation/EmptyNetworkExtras;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/mediation/MediationAdRequest;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/mediation/MediationAdapter;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/mediation/MediationBannerAdapter;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/ads/mediation/MediationBannerListener;
I'm on Windows 7 and using Unity 5.4.2f2. I've searched, but can't find a folder called Lcom anywhere. Can someone point me in the right direction on resolving this?
Comment
Your answer
Follow this Question
Related Questions
Android - Google Admob and Easy Mobile brakes build process 0 Answers
Im trying to switch my game to mobile/android and it wont work 0 Answers
Getting odd compiler error when I try to build my game to my Android phone. 0 Answers
Android Build Assertion Exception with entities 0.13 0 Answers
Getting error about incorrect bundle id, Android Cloud Build 0 Answers