You see this article from HTTP://WWW.CNBLOGS.COM/AYANMW
Project to use Android mobile payment SDK in-app billing [http://dev.10086.cn/wiki/?p2_01_05]
Because of the need for unity and Android interaction, the previous study, unity and Android interaction is possible. But why is the SDK call for unity and mmbilling unsuccessful?
After several days of research, through the Eclipse ADT Logcat log, found that the run times wrong, the error content is temporarily not recorded, in short, the problem of resources can not be found. There is a phenomenon of collapse. Simply put Unity pack apk, unzip, add the Mmbilling.2.4.0.jar directory under the
VERSION Mmiap.xml Copyrightdeclaration.xml and MMIAP in the assets directory. Finally succeeded.
Later, you want to add files directly from the Unity project and put these files into the APK line?
Unity3d Release APK resource Package and access mode
As long as the streamingassets in the Unity Assets Directory is established, the files are in the apk.apk/assets/directory when the APK is packaged.
But the other three files will not work under Unity's Assets/plugins/android/or assets/directory.
There are searches, see articles:
Unity3d Technology Essentials for integrated mobile mm SDK 2.2 (Pit daddy's mm SDK)
I'm in agreement with my solution.
Only the tools used are different. I only use the JDK files, no anti-compilation.
Links to official website documents about unity calling Android:
Http://docs.unity3d.com/Documentation/Manual/PluginsForAndroid.html
Http://docs.unity3d.com/Documentation/ScriptReference/Application.html
The Unity apk root directory is decentralized, only through the AAPT tool.
Reprint please indicate the source: HTTP://WWW.CNBLOGS.COM/AYANMW I will be very happy!