Version: 2022.1
Introducing Android Library Projects and Android Archive plug-ins
Import an Android Archive plug-in

Import an Android Library Project

This page describes how to import an Android Library Project into your Unity Project.

  1. Copy the Android Library Project to your Unity Project’s Assets folder.
  2. If the Android Library Project root folder doesn’t use the .androidlib extension, add this extension to the folder. For example, mylibrary.androidlib.

Unity now supports the Android Library Project and will include it in the final project that Gradle uses to build your application. For more information, see How Unity builds Android applications.

其他资源

Introducing Android Library Projects and Android Archive plug-ins
Import an Android Archive plug-in