Version: 2021.3
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.

其他资源

  • [Call Java and Kotlin plug-in code from C# scripts]android-plugins-java-code-from-c-sharp)
Introducing Android Library Projects and Android Archive plug-ins
Import an Android Archive plug-in
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961