添加Google许可验证(LVL)签入使用Appcelerator

时间:2017-02-22 16:38:16

标签: android google-play appcelerator licensing android-lvl

我一直在尝试将Google许可验证检查(https://developer.android.com/google/play/licensing/setting-up.html)附加到我使用Appcelerator制作的应用程序中。我找到了一个GIT存储库(https://github.com/eric-sofisoftwarellc/TiLicensing),它应该包含一个可以完成工作的模块,但是那里没有.ZIP文件,因此说明不完整或不清楚。

我尝试将源文件添加到我的应用程序的“modules”文件夹中,但它显示以下错误:

ti:/module.js:280: Uncaught Error: Requested module not found: com.sofisoftwarellc.licensechecker.

我还发现了这个问题(How to add Google Play license into an android application created with Appcelerator?),最终将我重定向到了同一个存储库。

是否有人拥有GIT存储库说明中指定的.zip文件,或者是否有人使其工作?我尝试用Appcelerator Studio构建模块,但它没有用。

有人可以帮帮我吗?提前谢谢。

1 个答案:

答案 0 :(得分:0)

如果要在Titanum SDK 6+项目中使用它,则必须重新编译该模块,因为它是在2年前创建的。但这不会那么容易,因为它使用了一些遗留类(org.apache.http),所以你必须更改模块才能让它工作,对不起。