Android device build failed


Hi, I am compiling meteor app on mac and ubuntu for android device. On both machines, I am facing this below error:

Command failed with exit code 1 Error output:\nFAILURE: Build failed with an
exception.\n\n* What went wrong:\nCould not determine the dependencies of
Could not resolve all task dependencies for configuration

Could not resolve project :CordovaLib.\n Required by:\n
project :cordova-plugin-background-app:background-activity-lib\n >
Project :cordova-plugin-background-app:background-activity-lib declares a
dependency from configuration ‘debugCompile’ to configuration ‘debug’
which is not declared in the descriptor for project :CordovaLib.