Fix problem building 3.4.0esr

Use the android cordova tool to build the plugins, and framework
sources. instead of build a jar for plugins and other for the framework,
using ant debug.