add cordova plugin dependency to build.gradle

2019-07-17 05:25发布

问题:

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.

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

回答1:

Try adding to you local repository.

Look ath this thread:

I am attempting to add phonegap to my local maven repository for an android application, I'm looking for help on the steps I took