I have a cordova project, I have added android platform in it. Now I need to use my build.gradle file instead of the one generated.
In the plugins.xml, I have the below code to do that.
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
But while adding plugin, this build.gradle has been put under the package.It looks like this.
// PLUGIN GRADLE EXTENSIONS START
apply from: "com.test.Name/Name-build.gradle"
// PLUGIN GRADLE EXTENSIONS END
And I am getting below error in the build.gradle generated.
Error:(89, 0) Cannot convert relative path libs to an absolute file.
I need my custom build.gradle replace the auto generated. Please tell me how to specify this in plugin.xml The cordova version I use is 6.1.1