Community Latest Questions

Anonymous
  • 1

How to build apk file in unity

  • 1

help to build apk and obb file in unity

 

Leave an answer

Leave an answer

  1. Configure the Unity Project

    1. Switch to Android Platform:
      • Go to File > Build Settings.
      • Select Android and click Switch Platform.
    2. Set Player Settings:
      • Open Edit > Project Settings > Player.
      • Under the Android tab:
        • Set your Company Name, Product Name, and Package Name.
        • Ensure that the Minimum API Level and Target API Level match your requirements.
    3. Enable Split Binary Option:
      • Go to Edit > Project Settings > Player > Publishing Settings.
      • Check Split Application Binary. This splits your build into an APK and an OBB file.

        Build APK and OBB

        1. Open File > Build Settings.
        2. Add your scenes to the Scenes In Build list.
        3. Select Build System:
          • Use Gradle for modern Android builds.
        4. Click Build:
          • Unity will generate the APK and OBB files in the specified output folder.