Version: 2021.2
Building for Android
Digital distribution services for Android

Exporting an Android project

If you need more control over the build pipeline, you can export a Unity project as a GradleAn Android build system that automates several build processes. This automation means that many common build errors are less likely to occur. More info
See in Glossary
project and import that into Android Studio. This is useful if you want more control over the build pipeline, want to see or modify the Android App Manifest that Unity generates for your application, or integrate Unity-powered features into another Android application.

Exporting

To export a Unity project for Android Studio:

  1. Select File > Build Settings.
  2. From the list of platforms in the Platform pane, select Android.
    Note: If Android is greyed out, set up your project for Android development.
  3. Enable Export Project.
  4. Click Export.
  5. Select the destination folder and click Select Folder to start the export process.

When Unity finishes exporting the project, you can open Android Studio and import the project. For more information, see Migrate to Android Studio.

Building for Android
Digital distribution services for Android
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961