将cordova插件依赖项添加到build.gradle [英] add cordova plugin dependency to build.gradle

查看:158
本文介绍了将cordova插件依赖项添加到build.gradle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了广泛搜索,但找不到org.apache.cordova的Maven存储库. 我想在android studio中编辑现有的插件(来自github).

I searched extensively but cannot not find the maven repository for org.apache.cordova. I want to edit an existing plugin (from github) in android studio.

我尝试通过jar文件添加依赖项.但是,当蚂蚁罐子"出现复杂错误(无法找到符号,指向导入)时,生成罐子将失败.

I have tried adding the dependency by jar file. But generating the jar fails when "ant jar" with complex errors (cannot find symbols, pointing at the imports).

感谢您的帮助 你好 费利克斯

Thanks for help Greetings Felix

推荐答案

尝试将其添加到本地存储库中.

Try adding to you local repository.

看看这个话题:

我正在尝试将phonegap添加到本地android应用程序的maven存储库中,我正在寻求有关执行步骤的帮助

这篇关于将cordova插件依赖项添加到build.gradle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆