When Unity is exported to Android platform, after setting the corresponding Android environment, you can directly export the installation program of apk or the engineering files of Android. Because it needs to be integrated with the native Andorid program, it is not the installation package of apk that needs to be exported, but an Andorid project. In order to export Android projects for integration, we need to make some settings in Unity.
Mainly change the build system in BuildSettings to Gradle, check the export project, and export the project to Android Studio. Other settings are the same as those for exporting APK.
Open the original project of Andorid Studio, and then import the project exported by Uniyt into the original project of Android in a modular way.
Shouldn't PS warning be written at the front?
It's not a waste to write what was written in front.
1. Everything is fine. During the test, I was prompted that your hardware device does not support this application. Congratulations on your award. There are many reasons, one of which may be caused by your settings in untiy.
As I am a little white apple of Android, I also hit a wall in the process. I wrote it here just to keep a souvenir for myself. In case I meet this demand in the future, I can refer to it. After all, my main business is not Android. I would appreciate it if a big boss could correct my brother.
Finally, thank you for seeing this! !