Add mobile mm Payment SDK problem handling in Unity3d game

Source: Internet
Author: User

Original address: Http://www.tuicool.com/articles/I73QFb

Failed to find resource file (Mmiap.xml} error because the SDK for moving mm puts some resource files in the jar package, causing unity to be unrecognized
You need to do the following steps:


--Unzip Mmbilling.2.3.0.jar, extract Copyrightdeclaration.xml, Mmiap.xml, version file, and Mmiap folder


--Copy the Mmiap folder to the Unity Project Assets/plugins/android/assets directory, then package


--playing apk due to lack of the above three files still can not run, with the decompression software (I am Mac system, with Betterzip, if it is windows, optional 7-zip) Open the APK, delete the signature file inside Meta-inf, Drag the Copyrightdeclaration.xml, Mmiap.xml, and version files extracted above to the inside.


--Re-sign: Because the above APK signature has been destroyed, we need to re-sign, Jarsigner-verbose-keystore./my.keystore-storepass <password>-signedjar. signed.apk./unsigned.apk <aliasname>, creating signed.apk after re-signing

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.