![]() If it does not work or you have questions, see the Unity Documentation.įor those using the Visual Studio Code as their script editor, there are a few additional steps you need to do to get it running without displaying errors similar to: ![]() You should now see your game transmitted to your Android device. If you have any problems, make sure to enable it by going to Settings > Developer options, then enable "Stay awake"įor more help see the Unity documentation.Ĭonnect the phone to the computer and launch Unity Remote. At least it built in my case.Tip: For some devices the remote does not work if "Stay awake" is disabled. You Android build should be done after that (apk or aab). If you get a warning about obsolete Android SDK, click on Update SDK button. Come back to Unity Editor and try to build the project. Do so if you see a warning about it in Unity Editor 11. ![]() You may need to restart the PC to take these variables into effect. Add JAVA_HOME variables in both Users and System variables section. Copy the OpenJDK path from Preferences > External Tools. Locate your project in Unity Hub and click to load it in Unity Editor. Expand it and select both sub-options SDK, NDK and OpenJDK. Then select this installation in the Hub and select Add Module. Add Unity Editor - 2020.3.20f1 release but DO NOT select Android module. Start Unity Hub - 2.4.5 as "Run as Administrator". This is the version which solved my issue. I have installed it first and problem has started from there. Disable any anti virus before installing Unity Hub or Unity Editor. After running pillar to post and reading hundreds of posts on many forums, I was able to resolve the issue. I believe many people might be facing this issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |