Skip to content

Fix Android Specific Scripts

Introduction

The tutorial focuses on fixing android specific scripts into a Unity project.It highlights issues that may arise when switching platforms from Android to iOS, particularly related to Google Play plugins for in-app updates.

Identifying Errors During Platform Switch

When switching the build platform to iOS, errors may appear in the console, specifically related to in-app update scripts that are designed only for Android.

Solution

  • To resolve the Android-specific script errors, navigate to the Tools menu and select Mobile Monetization Pro > Solutions.
  • Drag and drop the scripts causing issues into the designated area.
  • After dragging and dropping the scripts, convert them to be Android-specific by clicking the provided option.
  • This conversion is crucial to ensure platform compatibility and to resolve the previously encountered errors.
  • Once all the scripts are properly converted, save the scene and the project.