I have created a Cordova App and added a Native module to the Android project.
I have added dependencies for the module to the project, and everything works fine if I use android studio build.
However, when I execute command 'cordova build android', the file settings.gradle is auto-generated to a default setting which looks like:
// GENERATED FILE - DO NOT EDIT
include ":"
include ":CordovaLib"
As a result, build always fails due to unable to locate module 'mymodule' even if I defined him in settings.gradle.
I tried to find the script that generate the settings.graddle file but without success, maybe I can disable the auto generate method, and use my own setting.graddle.
Could use some help.