Mac Android Configuration and Unity3d export Android

Source: Internet
Author: User

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

OK, for the Android configuration of Eclipse under Mac, I'll just post a URL and it's 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 is possible.

After the download, the direct decompression, inside the eclipse SDK what a mess has been run directly on it.

If not, please leave a message for me to 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 run.

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



Add good scence, if you tick the Google Android project is not checked the item, the direct build, get the APK, put into the phone directly after the installation run. If you tick this out, this will be the case:


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 many problems when exporting or packaging.

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

2. There will be an error, specifically I can't remember, unity will say that the Tools folder is not zipalign this thing. I found this under Bulid-tools's grandchild folder and copied it to tools.

3. About the screen, of course, you can control the code, there 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

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.