Android
Unity2018
mainTemplate.gradle
multiDexEnabled true //Add this configuration
dependencies {
classpath 'com.android.tools.build:gradle:3.5.4'
**BUILD_SCRIPT_DEPS**}
Download the corresponding version of Gradle 5.4.1
AdMob
The official version needs to be configured on AndroidManifest
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
([rootProject] + (rootProject.subprojects as List)).each { ext { it.setProperty("android.useAndroidX", true) it.setProperty("android.enableJetifier", true) } }
Instructions for merging with other third-party Android SDKs
(1) Third-party jar and aar packages must be placed in the following directory: /Assets/Plugins/Android/libs/
(2) If the third-party sdk has resources, please put the resource folder in the directory: /Assets/Plugins/Android/
(3) If the third party has an AndroidManifest file, it needs to be merged with the /Assets/Plugins/Android/AndroidManifest.xml file, and Topon needs to keep the necessary parts of the above instructions.
Check disable, otherwise solve android does not generate