Unity Access Xiaomi SDK considerations

Source: Internet
Author: User

Unity project to access the Xiaomi SDK, download the SDK, and then the Android project in Xinjiang, according to the document access completed. At run time, incredibly error call to OpenGL ES API with no current context (logged once per thread), a face.

After finding the information, we found that the Xiaomi SDK does not require us to create activity, so we directly use the current activity that unity itself is using, just be aware that it must be called using Runonuithread, otherwise it may not be possible to invoke.

The following link to access the Xiaomi SDK access:

http://blog.csdn.net/tianmao111/article/details/50353265

Article said migamecentersdkservice.apk this put in Streamingassets under any folder, after trying to find unable to pull up the installation migamecentersdkservice.apk interface, and then put the apk in plugins The/android/assets folder is now available.

Unity Access Xiaomi SDK considerations

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.