Question by
arain55 · Apr 06, 2018 at 11:05 AM ·
build-erroradsadvertising
Enabling Advertisements from service panel causes build error
Alright so when I build my game without enabling ads from the services panel, my game builds fine, I get no errors. However when I able ads from the services panel and build the game again unity gives "unable to convert classes into dex format. see console for details", and when I delete the unityad.aar file in the plugins>android folder I don't get the error but deleting it means my ads don't show in game on android.
I've tried the following things, none of which worked: deleting the library and temp folder reimporting all re installing unity and android sdk.
So if anyone has any idea of how to fix this annoying error, I would appreciate the help.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612160207im_/https://answers.unity.com/themes/thub/images/avi.jpg)