首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >添加RevenueCat后无法构建cordova项目

添加RevenueCat后无法构建cordova项目
EN

Stack Overflow用户
提问于 2020-09-14 12:30:52
回答 1查看 59关注 0票数 0

我在用RevenueCat构建我的项目时遇到了问题。

我通过以下手册为Apache安装了它:https://docs.revenuecat.com/docs/cordova

但是现在,在构建之后,它会返回:

代码语言:javascript
复制
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources
/home/martin/Projects/LearnEnglishWordsV3/cordova/platforms/android/app/src/main/java/com/revenuecat/purchases/PurchasesPlugin.java:38: error: cannot find symbol
        Purchases.getSharedInstance().setUpdatedPurchaserInfoListener(new UpdatedPurchaserInfoListener() {
                                                                          ^
  symbol:   class UpdatedPurchaserInfoListener
  location: class PurchasesPlugin
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/martin/Projects/LearnEnglishWordsV3/cordova/platforms/android/app/src/main/java/com/revenuecat/purchases/PurchasesPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s

你知道我该怎么做吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-09-14 19:01:17

现在,在1.2.2版本更新之后,它已经修复了。

版本1.2.1错误:https://github.com/RevenueCat/cordova-plugin-purchases/pull/54

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63884391

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档