Use Androidstudio currently the latest version of 2.3.3 hit. AAR package to unity5.6.2 call, although there is a lot of information on the Internet, but according to do down or there is an error.
Having studied countless materials, it took several hours to finally find a workable final solution.
The reason is that some other information on the Internet still ignores some details.
Reprint please specify the source:
Now I'm going to show you the complete package as follows:
1. Install version unity5.6.2 and Android version studio2.3.3 for:
http://www.android-studio.org/
2. Create a project for Android studio:
3. Copy the Classes.jar package from the Unity installation directory to the Andriod Studio project, as follows:
The Classes.jar directory in Unity is: ... \unity\editor\data\playbackengines\androidplayer\variations\mono\release\classes\
Locate it and copy it, then Android Studio switches to Project view
Locate the Libs folder, right-click on it-paste:
Right-click on the project directory
AndroidStudio2.3.3. AAR package to unity5.6.2 call