Skip to content

binbinku/UnityAndroidLibraryProjectTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Android Library Project Template

Dev Version 0.1.0

Engine: Unity 6000.0.26f1

Gradle: 8.4

Android Gradle Plugin: 8.3.0

JDK: OpenJDK Java17

Suggist Unity Android Project Export Path : YourUnityProjectFolder/Build/Android

Step

  1. Make Unity Project
  2. Download this Template
  3. Put it to Assets/Plugins/Android Path
  4. Rename Root Folder to "xxxxx.androidlib"
  5. Select xxxxx.androidlib in Unity
  6. Check Unity Inspector ,Change "Select dependent module" to None
  7. Open Unity BuildProfile Panel, Export Android Project
  8. Run Android Project in Android Studio
  9. Edit your Android Lib
  10. Execute MCopyAndroidLibToUnity Update UnityProject File

Tools

Auto Copy AndroidLib To Unity

In build.gradle script :

task MCopyAndroidLibToUnity(type: Copy) 
{
    from '../UnityAndroidLibTemplate.androidlib'
    into '../../../Assets/Plugins/Android/UnityAndroidLibTemplate.androidlib'
}

About

Unity Android Library Project Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages