![]() Unity was confused JDK 9 as well, I solved that in (the main Unity menu, next to "File") Unity->Preferences->External Tools->JDK->Browse and used /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home which was already installed and that (finally!) worked. I went to Build->Edit Libraries & Dependencies->SDK Location-> then I checked the box. Then I upgraded Java to 9, but that confused Android Studio. To work around this let’s create a symbolic link to the SDK’s root folder in our Applicationsroot. Copy SDK Tools from Android Studio and paste in build tools folder at the above location. So far so good, but when Unity asks you to select the Android SDK root folder you’ll have a problem because it is part of the Android Studio package and therefore isn’t accessible to Unity. Copy SDK Platforms from Android Studio and paste in platforms folder at the above location. I kept getting "major version 52 is newer than 51, the highest major version supported by this compiler." 1) Download Android Studio, go to Settings > System Settings > Android SDK. Then Appearance & Behavior->System Settings->Android SDK-> (tab) From there, check the boxes for 7.0 and/or 7.1, click "Apply" or OK and wait for them to install. You open the SDK manager, but this is a tiny little button on the toolbar (not menu bar) that has a blue arrow pointing down on top of a tiny Android character. But it's not obvious that you do this by installing Android version 7.0 or 7.1 within Android Studio. I had to install the level 24 SDK packages within Android Studio before building them in Unity. ![]() ![]() Other issues I've had with Unity/Android (trying to get ARCore working): the Problem was well known,some people had the same problems. After the last Unity and android SDK update now the newest android SDK also works fine with unity. ![]() When I select build or build and run it starts compiling everything fine until I select the android sdk root folder. I read somewhere else how to make the hidden Library folder visible: I am using Unity 3.5 with the free android license. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |