- Home /
Problems with SDK and Google Admob plugin
I'm trying to add admob in my project but the build apk keeps crashing in my android device. I've been trying to fix this issue for days, so any help would be appreciated. And i keep getting this error "Failed getting available Android API levels. Make sure your android sdk tools version is 25 or higher and you have internet connection. System.Threading.ThreadHelper:ThreadStart()"
Answer by MusicBoxx · Apr 29, 2019 at 10:05 AM
What Android version are you developing for? Have you downloaded the latest SDKs from Android Studio?
I'm trying to develop for all android versions.I dowloaded the newest version of unity 2019 and it had it's own SD$$anonymous$$ and i dowloaded it. I tried using SD$$anonymous$$'s from android studio still got the same warning, and apk crashed after build.
So I assume that the game works perfectly without admobile, right? Now, I am sorry if I upset you and ask you "stupid" questions, but did you download the plugin from https://developers.google.com/admob/unity/start and followed the instructions? Another thing you could try is to make a new scene and test if it'd work perfectly with a new scene.
Yes, the game works fine without the plug-in and I did follow the instructions from the admob site. I have actually created new projects and new scenes but, the result are all the same.