How to add Google Play license into an android app

2019-07-25 14:22发布

问题:

I created an Android payment application with Appcelerator and I want to publish in google play. I need to add license Google Play. I have read the information in http://developer.android.com/intl/es/google/play/licensing/index.html but I don't know how to adapt this for a Titanium Studio app. I try use this module https://github.com/eric-sofisoftwarellc/TiLicensing but I haven't luck, it shows Error: Requested module not found: com.sofisoftwarellc.licensing Do you know a module for this? Does anyone know how to integrate it into an appcelerator app? Thank you.

回答1:

You can find how to add application to google play there

To allow licensing just use

<uses-permission android:name="com.android.vending.CHECK_LICENSE" />

and Licensing module for Appcelerator

To avoid

Error: Requested module not found: com.sofisoftwarellc.licensing

Try to clean build application and remove application from device(emulator) before installing