Deployment to Android Device Solutions After Roll A Ball Tutorial

Scroll down to content

If you followed the tutorial and have deployment issues to your Android device here are the two things I did to get it up and running on my phone, though the controls do not work because we did not put any tilt or touch code only keys.

1. Download an older version of the jdk, I’m using jdk 8 from the oracle site link to the page here:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. Directions that I followed below for the Android Studio Sdk and a link to the page, it’s the answer given by augmentedVR: https://answers.unity.com/questions/1323731/unable-to-list-target-platforms-please-make-sure-t.html

This is how you do it:

Go to your Android SDK Folder. (If you did not change the path during Android Studio installation you will find the SDK folder here: C:\Users\YourUsername\AppData\Local\Android\sdk )

Rename the old Android sdk “Tool” folder : [Your Android SDK root]/tools -> toolsXXXX

Download Android SDK Tools, Revision 25.2.5 (January 2017): http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip

Extract that to Android SDK root folder.

In Unity go to Edit>Preferences>External Tools and check again, that the path for Android SDK points to the correct folder. (The correct path is the SDK root folder, not the tools folder which is inside the root folder!)

Build your project.

Worked fine for me!

Here some other guys who found the solution too: http://stackoverflow.com/questions/42538433/not-finding-android-sdk-unity# http://answers.unity3d.com/questions/1320150/unable-to-list-target-platform.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: