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. I kept getting "major version 52 is newer than 51, the highest major version supported by this compiler." 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. the (D:\Android\Sdk) is the sdk path on my windows PC, but I don't know why it came here on the Mac, where can I find this to delete it It is not on SDK Location or local. But it's not obvious that you do this by installing Android version 7.0 or 7.1 within Android Studio. I used to work on this project from a Windows PC, but this is my first time on Mac, and trying to make things running here. 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): You can skip the optional sections relating to Eclipse. Install the Android SDK Follow the instructions in Installing the SDK. and the android installation is up to date and works with other eclipse android projects. Download and unpack the latest Android SDK. The folder is set correctly in the preferences as c:UsersuserAndroidandroid-sdk. I read somewhere else how to make the hidden Library folder visible: Download the Android SDK On your PC, go to the Android Developer SDK website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |