Location of jar files when adding Cordova plugin manually
hi,
I need to use a Cordova plugin in one of my app and I tried using the plugin import functionality but it failed - I tried with at least 3-4 different plugins and either there would be an error, or the plugin just doesn't work.
So I switched to manual adding of plugin, which has worked for me. I am trying to add this couchbase lite cordova plugin and I see this set of lines in the xml file that is pointing to the location of the jar files. When I add this plugin, do I just upload those jar files into some folder (if yes which folder would it be?)
The following are the lines:
code
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CBLite">
<param name="android-package" value="com.couchbase.cblite.phonegap.CBLite"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<framework src="src/android/build.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/CBLite.java" target-dir="src/com/couchbase/cblite/phonegap"/>
<source-file src="lib/android/commons-io-2.0.1.jar" target-dir="libs"/>
<resource-file src="lib/android/couchbase-lite-android-1.2.0.aar" target="libs/couchbase-lite-android-1.2.0.aar"/>
<resource-file src="lib/android/couchbase-lite-android-sqlite-default-1.2.0.aar" target="libs/couchbase-lite-android-sqlite-default-1.2.0.aar"/>
<source-file src="lib/android/couchbase-lite-java-core-1.2.0.jar" target-dir="libs"/>
<source-file src="lib/android/couchbase-lite-java-javascript-1.2.0.jar" target-dir="libs"/>
<source-file src="lib/android/couchbase-lite-java-listener-1.2.0.jar" target-dir="libs"/>
<source-file src="lib/android/jackson-annotations-2.5.0.jar" target-dir="libs"/>
<source-file src="lib/android/jackson-core-2.5.0.jar" target-dir="libs"/>
<source-file src="lib/android/jackson-databind-2.5.0.jar" target-dir="libs"/>
<source-file src="lib/android/rhino-1.7R3.jar" target-dir="libs"/>
<source-file src="lib/android/servlet-2-3.jar" target-dir="libs"/>
<source-file src="lib/android/stateless4j-2.4.0.jar" target-dir="libs"/>
<source-file src="lib/android/webserver-2-3.jar" target-dir="libs"/>
</platform>
/code
Thanks,
M.M