Docy

Troubleshooting Guide

Android

A- Resolution issues

If the resolution fails while the resolver is downloading the dependencies, try a VPN

B- Build issues

If you get an error during the build process, you need to verify all the items in this checklist:

1/ Remove all the existing ad networks.

For Admob:

2/ Verify that Advertisement is also removed in Package Manager.

3/ Compare your Android resolver settings with the following.

4/ Confirm your Player settings. Please note that you can target API level 31/32 to be compatible with Android 12 devices.

5/ For “Duplicate class” errors, use these custom build settings.

Remove all jar/aar files under Plugins/Android :

Then force resolve:

6/ If you get this error while compiling the aab file:

Error information: `FileNotFoundException: Temp/gradleOut/launcher/build/utputs/budle/release/laucher.aab does not exist

You’ll need to check “Custom Launcher Gradle Template” in Players settings.
Then open launcherTemplate.gradle file and in defaultConfig, add the following code:

				
					tasks.whenTaskAdded {
    task ->
        if (task.name.startsWith("bundle")) {
            def renameTaskName = "rename${task.name.capitalize()}Aab"
            def flavor = task.name.substring("bundle".length()).uncapitalize()
            tasks.create(renameTaskName, Copy) {
                def path = "${buildDir}/outputs/bundle/${flavor}/"
                from(path)
                include "launcher-release.aab"
                destinationDir file("${buildDir}/outputs/bundle/${flavor}/")
                rename "launcher-release.aab", "launcher.aab"
            }
            task.finalizedBy(renameTaskName)
        }
}
				
			

C- Testing issues (ads, crashes)

If you don’t see the ads while testing or if you app is crashing, you need to verify all the items in this checklist:

1/ The adaptive, smart, rectangle and large banners aren’t enabled by default, please contact us if you want to use them.

2/ Make sure that your device ID is added in your MAS dashboard.

3/ Confirm that the ad formats are enabled.

4/ Make sure you are using the right AppKey, Admob ID and Bundle ID.

5/ Make sure that Minify settings are disabled under Player settings

6/ If Minify must be enabled, please check this.

7/ Make sure you updated your app-ads.txt file.

iOS

A- Build issues

If you get an error during the build process, you need to verify all the items in this checklist:

1/ Check that Cocoapods is installed.

2/ If you face this error during the build, try using a VPN.

3/ If you face this error after the build finishes.

You need to open Terminal

Then execute this command line vi ~/.bash_profile

In order to edit the content of the file, just hit the letter i

Paste this content at the end of the file

				
					export PATH=$PATH:$JAVA_HOME/bin
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
				
			

Save by clicking ESC, then type :wq

4/ Make sure that Xcode version is 13+.

B- Testing issues (ads, crash)

If you don’t see the ads while testing or if you app is crashing, you need to verify all the items in this checklist:

1/ The adaptive, smart, rectangle and large banners aren’t enabled by default, please contact your CSM if you want to use them.

2/ Make sure that your device ID is added in MAS dashboard.

3/ Confirm that the ad formats are enabled.

4/ Make sure you are using the right AppKey, Admob ID and Bundle ID.

5/ Check the iOS resolver settings.

If your game is crashing, make sure you use the following iOS Resolver Settings.

CONTENTS