Mac Android Configuration and Unity3d export Android

Source: Internet
Author: User

It was too late last night to get out of the brains.

OK, about the Android configuration of Eclipse under Mac, I just post a URL, OK

Http://developer.android.com/sdk/index.html

I do not know why, the company's network can not open, anyway yesterday at home when it was able.

After the download, the direct decompression, inside the eclipse SDK what a mess has been directly executed to be able to.

If not, can leave a message I share.


OK, that's basically all you can do.

In the second step, the Unity Export Android project was developed two times or packaged directly into the APK, installation execution.

In unity, after designing the game, look for File->build Setting



After adding the scence, suppose you tick the "Google Android project" option without checking it, build directly, get the APK, put it on the phone and install it directly. Let's say you tick this box:


Instead of exporting, export to an Android project, you import in Eclipse, note that when importing, do not choose the red one, choose the green Import.

Ok. You may encounter a lot of problems when exporting or packaging.

1. Ask you the SDK, you just need to choose the SDK that directory (and the Eclipse directory of the same level, after decompression can be obtained)

2. There will be an error, in detail I can't remember, unity will say that the tools directory is not zipalign this thing. I found this in the Bulid-tools Sun catalogue and copied it to tools.

3. About the screen, of course, can be code control, here is a setting. When build Setting, there's a player Setting.



After selecting Android villain, there is a default Orientation set. The default portrait is vertical screen, I choose landscape right is horizontal screen, set after the build or export OK.



Mac Android Configuration and Unity3d export Android

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.