0 Replies Latest reply on Nov 13, 2017 12:36 PM by volodymyrz67896798

    Build fails for android

    volodymyrz67896798 Level 1

      Hi, I have a problem with android build that appeared last week. What I figured out is that everything is working fine without cordova-plugin-code-push, which was updated few days ago. This plugin uses cordova-plugin-file as third party module. cordova-plugin-file had a new release 7 days ago and one of the changes was setting cordova-android version to ">=6.3.0". It seems to me that this may be a problem, but I'm not sure.

      My app id is 2814714

       

      And here is build output:

       

      Build Date: 2017-11-13 20:26:23 +0000

      --------------------------------------------------------------------------------

      PREPARE OUTPUT

      --------------------------------------------------------------------------------

      Generating platform-specific config.xml from defaults for android at /project/res/xml/config.xml

      Merging project's config.xml into platform-specific android config.xml

      Merging and updating files from [www, ../project/platform_www] to ../project/assets/www

        mkdir ../project/assets/www/cordova-js-src

        mkdir ../project/assets/www/cordova-js-src/android

        copy ../project/platform_www/cordova-js-src/android/nativeapiprovider.js ../project/assets/www/cordova-js-src/android/nativeapiprovider.js (new file)

        copy ../project/platform_www/cordova-js-src/android/promptbasednativeapi.js ../project/assets/www/cordova-js-src/android/promptbasednativeapi.js (new file)

        copy ../project/platform_www/cordova-js-src/exec.js ../project/assets/www/cordova-js-src/exec.js (new file)

        copy ../project/platform_www/cordova-js-src/platform.js ../project/assets/www/cordova-js-src/platform.js (new file)

        mkdir ../project/assets/www/cordova-js-src/plugin

        mkdir ../project/assets/www/cordova-js-src/plugin/android

        copy ../project/platform_www/cordova-js-src/plugin/android/app.js ../project/assets/www/cordova-js-src/plugin/android/app.js (new file)

        copy ../project/platform_www/cordova.js ../project/assets/www/cordova.js (updated file)

        rmdir ../project/assets/www/css (no source)

        delete ../project/assets/www/css/index.css (no source)

        mkdir ../project/assets/www/fonts

        copy www/fonts/MaterialIcons-Regular.eot ../project/assets/www/fonts/MaterialIcons-Regular.eot (new file)

        copy www/fonts/MaterialIcons-Regular.ijmap ../project/assets/www/fonts/MaterialIcons-Regular.ijmap (new file)

        copy www/fonts/MaterialIcons-Regular.svg ../project/assets/www/fonts/MaterialIcons-Regular.svg (new file)

        copy www/fonts/MaterialIcons-Regular.ttf ../project/assets/www/fonts/MaterialIcons-Regular.ttf (new file)

        copy www/fonts/MaterialIcons-Regular.woff ../project/assets/www/fonts/MaterialIcons-Regular.woff (new file)

        copy www/fonts/MaterialIcons-Regular.woff2 ../project/assets/www/fonts/MaterialIcons-Regular.woff2 (new file)

        copy www/fonts/README.md ../project/assets/www/fonts/README.md (new file)

        copy www/fonts/Roboto-Bold.ttf ../project/assets/www/fonts/Roboto-Bold.ttf (new file)

        copy www/fonts/Roboto-Light.ttf ../project/assets/www/fonts/Roboto-Light.ttf (new file)

        copy www/fonts/Roboto-Medium.ttf ../project/assets/www/fonts/Roboto-Medium.ttf (new file)

        copy www/fonts/Roboto-Regular.ttf ../project/assets/www/fonts/Roboto-Regular.ttf (new file)

        copy www/fonts/Roboto-Thin.ttf ../project/assets/www/fonts/Roboto-Thin.ttf (new file)

        copy www/fonts/ionicons.eot ../project/assets/www/fonts/ionicons.eot (new file)

        copy www/fonts/ionicons.svg ../project/assets/www/fonts/ionicons.svg (new file)

        copy www/fonts/ionicons.ttf ../project/assets/www/fonts/ionicons.ttf (new file)

        copy www/fonts/ionicons.woff ../project/assets/www/fonts/ionicons.woff (new file)

        copy www/fonts/material-icons.css ../project/assets/www/fonts/material-icons.css (new file)

        mkdir ../project/assets/www/images

        copy www/images/empty-products.png ../project/assets/www/images/empty-products.png (new file)

        copy www/images/envelope-thin.svg ../project/assets/www/images/envelope-thin.svg (new file)

        copy www/images/home-bg.png ../project/assets/www/images/home-bg.png (new file)

        copy www/images/icon-square.png ../project/assets/www/images/icon-square.png (new file)

        copy www/images/person.svg ../project/assets/www/images/person.svg (new file)

        copy www/images/qrcode.png ../project/assets/www/images/qrcode.png (new file)

        copy www/images/warranty.png ../project/assets/www/images/warranty.png (new file)

        rmdir ../project/assets/www/img (no source)

        delete ../project/assets/www/img/cordova.png (no source)

        delete ../project/assets/www/img/logo.png (no source)

        copy www/index.html ../project/assets/www/index.html (updated file)

        rmdir ../project/assets/www/js (no source)

        delete ../project/assets/www/js/index.js (no source)

        mkdir ../project/assets/www/scripts

        copy www/scripts/app-f1cdac14.js ../project/assets/www/scripts/app-f1cdac14.js (new file)

        copy www/scripts/vendor-26ed27e9.js ../project/assets/www/scripts/vendor-26ed27e9.js (new file)

        mkdir ../project/assets/www/styles

        copy www/styles/app-ad76733f.css ../project/assets/www/styles/app-ad76733f.css (new file)

      Wrote out android application name "Xoult (Staging)" to /project/res/values/strings.xml

      android-versionCode not found in config.xml. Generating a code based on version in config.xml (1.1.2172): 12272

      Wrote out Android package name "com.xoult.smartthings_dev" to /project/src/com/xoult/smartthings_dev/Xoult_Staging_.java

      Updating icons at ../project/res

        copy resources/android/icon/drawable-hdpi-icon.png ../project/res/mipmap-hdpi/icon.png (updated file)

        copy resources/android/icon/drawable-ldpi-icon.png ../project/res/mipmap-ldpi/icon.png (updated file)

        copy resources/android/icon/drawable-mdpi-icon.png ../project/res/mipmap-mdpi/icon.png (updated file)

        copy resources/android/icon/drawable-xhdpi-icon.png ../project/res/mipmap-xhdpi/icon.png (updated file)

        copy resources/android/icon/drawable-xxhdpi-icon.png ../project/res/mipmap-xxhdpi/icon.png (updated file)

        copy resources/android/icon/drawable-xxxhdpi-icon.png ../project/res/mipmap-xxxhdpi/icon.png (updated file)

      Updating splash screens at ../project/res

        copy resources/android/splash/drawable-land-hdpi-screen.png ../project/res/drawable-land-hdpi/screen.png (new file)

        copy resources/android/splash/drawable-land-ldpi-screen.png ../project/res/drawable-land-ldpi/screen.png (new file)

        copy resources/android/splash/drawable-land-mdpi-screen.png ../project/res/drawable-land-mdpi/screen.png (new file)

        copy resources/android/splash/drawable-land-xhdpi-screen.png ../project/res/drawable-land-xhdpi/screen.png (new file)

        copy resources/android/splash/drawable-land-xxhdpi-screen.png ../project/res/drawable-land-xxhdpi/screen.png (new file)

        copy resources/android/splash/drawable-land-xxxhdpi-screen.png ../project/res/drawable-land-xxxhdpi/screen.png (new file)

        copy resources/android/splash/drawable-port-hdpi-screen.png ../project/res/drawable-port-hdpi/screen.png (new file)

        copy resources/android/splash/drawable-port-ldpi-screen.png ../project/res/drawable-port-ldpi/screen.png (new file)

        copy resources/android/splash/drawable-port-mdpi-screen.png ../project/res/drawable-port-mdpi/screen.png (new file)

        copy resources/android/splash/drawable-port-xhdpi-screen.png ../project/res/drawable-port-xhdpi/screen.png (new file)

        copy resources/android/splash/drawable-port-xxhdpi-screen.png ../project/res/drawable-port-xxhdpi/screen.png (new file)

        copy resources/android/splash/drawable-port-xxxhdpi-screen.png ../project/res/drawable-port-xxxhdpi/screen.png (new file)

      This app does not have additional resource files defined

      Prepared android project successfully

      --------------------------------------------------------------------------------

      PLUGIN OUTPUT

      --------------------------------------------------------------------------------

      Fetching plugin "phonegap-plugin-barcodescanner" via npm

      Installing "phonegap-plugin-barcodescanner" at "7.0.0" for android

      Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0

      Skipping 'phonegap-plugin-barcodescanner' for android

      Fetching plugin "onesignal-cordova-plugin@2.1.2" via npm

      Installing "onesignal-cordova-plugin" at "2.1.2" for android

      Subproject Path: CordovaLib

      Fetching plugin "cordova-plugin-statusbar" via npm

      Installing "cordova-plugin-statusbar" at "2.3.0" for android

      Fetching plugin "cordova-plugin-inappbrowser" via npm

      Installing "cordova-plugin-inappbrowser" at "1.7.2" for android

      Fetching plugin "ionic-plugin-keyboard@2.2.1" via npm

      Installing "ionic-plugin-keyboard" at "2.2.1" for android

      Fetching plugin "cordova-plugin-camera" via npm

      Installing "cordova-plugin-camera" at "3.0.0" for android

      Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0

      Skipping 'cordova-plugin-camera' for android

      Fetching plugin "cordova-plugin-badge" via npm

      Installing "cordova-plugin-badge" at "0.8.5" for android

      Subproject Path: CordovaLib

      Fetching plugin "de.appplant.cordova.plugin.printer" via npm

      Installing "de.appplant.cordova.plugin.printer" at "0.7.1" for android

      Fetching plugin "cordova-plugin-email-composer@0.8.3" via npm

      Installing "cordova-plugin-email-composer" at "0.8.3" for android

      Fetching plugin "cordova-plugin-geolocation" via npm

      Installing "cordova-plugin-geolocation" at "3.0.0" for android

      Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0

      Skipping 'cordova-plugin-geolocation' for android

      Fetching plugin "cordova-plugin-whitelist" via npm

      Installing "cordova-plugin-whitelist" at "1.3.3" for android

       

        This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

      Fetching plugin "cordova-plugin-contacts@2.2.1" via npm

      Installing "cordova-plugin-contacts" at "2.2.1" for android

      Fetching plugin "cordova-plugin-compat@^1.0.0" via npm

      Installing "cordova-plugin-compat" at "1.2.0" for android

      Fetching plugin "cordova-plugin-network-information" via npm

      Installing "cordova-plugin-network-information" at "1.3.4" for android

      Fetching plugin "cordova-plugin-code-push" via npm

      Installing "cordova-plugin-code-push" at "1.10.0-beta" for android

      Fetching plugin "code-push@2.0.1-beta" via npm

      Installing "code-push" at "2.0.1-beta" for android

      Fetching plugin "cordova-plugin-file@>=4.3.0" via npm

      Installing "cordova-plugin-file" at "5.0.0" for android

      Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0

      Skipping 'cordova-plugin-file' for android

      Fetching plugin "cordova-plugin-file-transfer@>=1.3.0" via npm

      Installing "cordova-plugin-file-transfer" at "1.7.0" for android

      Plugin dependency "cordova-plugin-file@5.0.0" already fetched, using that version.

      Installing "cordova-plugin-file" at "5.0.0" for android

      Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0

      Skipping 'cordova-plugin-file' for android

      Fetching plugin "cordova-plugin-zip@>=3.0.0" via npm

      Installing "cordova-plugin-zip" at "3.1.0" for android

      Plugin dependency "cordova-plugin-file@5.0.0" already fetched, using that version.

      Installing "cordova-plugin-file" at "5.0.0" for android

      Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0

      Skipping 'cordova-plugin-file' for android

      Fetching plugin "cordova-plugin-dialogs@>=1.1.1" via npm

      Installing "cordova-plugin-dialogs" at "1.3.4" for android

      Fetching plugin "cordova-plugin-device@>=1.1.0" via npm

      Installing "cordova-plugin-device" at "1.1.7" for android

      Subproject Path: CordovaLib

      Fetching plugin "cordova.plugins.diagnostic@3.4.1" via npm

      Installing "cordova.plugins.diagnostic" at "3.4.1" for android

      Subproject Path: CordovaLib

      Fetching plugin "cordova-plugin-canvas2image@0.7.0" via npm

      Installing "cordova-plugin-canvas2image" at "0.7.0" for android

      Fetching plugin "https://github.com/sarriaroman/photoviewer.git" via git clone

      Using shallow clone

      Repository "https://github.com/sarriaroman/photoviewer.git" checked out to git ref "master" at "e88e2dc".

      Installing "com-sarriaroman-photoviewer" at "1.1.11" for android

      Subproject Path: CordovaLib

      Fetching plugin "cordova-plugin-crosswalk-webview@2.3.0" via npm

      Installing "cordova-plugin-crosswalk-webview" at "2.3.0" for android

      Subproject Path: CordovaLib

       

        After much discussion and analysis of the market, we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20.

       

        So the minSdkVersion of Cordova project is configured to 16 by default.

      Fetching plugin "https://github.com/MBuchalik/cordova-build-architecture.git" via git clone

      Using shallow clone

      Repository "https://github.com/MBuchalik/cordova-build-architecture.git" checked out to git ref "v1.0.1" at "b787544".

      Installing "cordova-build-architecture" at "1.0.1" for android

      Subproject Path: CordovaLib

      Fetching plugin "https://github.com/EddyVerbruggen/Custom-URL-scheme.git" via git clone

      Using shallow clone

      Repository "https://github.com/EddyVerbruggen/Custom-URL-scheme.git" checked out to git ref "master" at "9f1cc21".

      Installing "cordova-plugin-customurlscheme" at "4.3.0" for android

      Fetching plugin "cordova-plugin-google-analytics@^1.8.3" via npm

      Installing "cordova-plugin-google-analytics" at "1.8.3" for android

      Subproject Path: CordovaLib

      Fetching plugin "https://github.com/Telerik-Verified-Plugins/Facebook.git" via git clone

      Using shallow clone

      Repository "https://github.com/Telerik-Verified-Plugins/Facebook.git" checked out to git ref "master" at "c0f190e".

      Installing "com.phonegap.plugins.facebookconnect" at "1.7.1.3" for android

      Subproject Path: CordovaLib

      Fetching plugin "cordova-plugin-googleplus" via npm

      Installing "cordova-plugin-googleplus" at "5.1.1" for android

      Subproject Path: CordovaLib

      Plugin "cordova-plugin-device" already installed on android. Making it top-level.

       

      --------------------------------------------------------------------------------

      COMPILE OUTPUT

      --------------------------------------------------------------------------------

      Configuration on demand is an incubating feature.

      :wrapper

       

      BUILD SUCCESSFUL in 1s

      1 actionable task: 1 executed

      Subproject Path: CordovaLib

      Configuration on demand is an incubating feature.

      null

      org.xwalk:xwalk_core_library:23+

      Incremental java compilation is an incubating feature.

      :cdvCreateAssetManifest

      :preBuild

      :preArmv7DebugBuild

      :checkArmv7DebugManifest

      :preArmv7ReleaseBuild

      :preX86DebugBuild

      :preX86ReleaseBuild

      :CordovaLib:preBuild UP-TO-DATE

      :CordovaLib:preDebugBuild UP-TO-DATE

      :CordovaLib:checkDebugManifest

      :CordovaLib:prepareDebugDependencies

      :CordovaLib:compileDebugAidl

      :CordovaLib:compileDebugNdk UP-TO-DATE

      :CordovaLib:compileLint

      :CordovaLib:copyDebugLint UP-TO-DATE

      :CordovaLib:mergeDebugShaders

      :CordovaLib:compileDebugShaders

      :CordovaLib:generateDebugAssets

      :CordovaLib:mergeDebugAssets

      :CordovaLib:mergeDebugProguardFiles

      :CordovaLib:packageDebugRenderscript UP-TO-DATE

      :CordovaLib:compileDebugRenderscript

      :CordovaLib:generateDebugResValues

      :CordovaLib:generateDebugResources

      :CordovaLib:packageDebugResources

      :CordovaLib:processDebugManifest

      :CordovaLib:generateDebugBuildConfig

      :CordovaLib:processDebugResources

      :CordovaLib:generateDebugSources

      :CordovaLib:incrementalDebugJavaCompilationSafeguard

      :CordovaLib:compileDebugJavaWithJavac

      :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      :CordovaLib:processDebugJavaRes UP-TO-DATE

      :CordovaLib:transformResourcesWithMergeJavaResForDebug

      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

      :CordovaLib:mergeDebugJniLibFolders

      :CordovaLib:transformNative_libsWithMergeJniLibsForDebug

      :CordovaLib:transformNative_libsWithSyncJniLibsForDebug

      :CordovaLib:bundleDebug

      :CordovaLib:preReleaseBuild UP-TO-DATE

      :CordovaLib:checkReleaseManifest

      :CordovaLib:prepareReleaseDependencies

      :CordovaLib:compileReleaseAidl

      :CordovaLib:compileReleaseNdk UP-TO-DATE

      :CordovaLib:copyReleaseLint UP-TO-DATE

      :CordovaLib:mergeReleaseShaders

      :CordovaLib:compileReleaseShaders

      :CordovaLib:generateReleaseAssets

      :CordovaLib:mergeReleaseAssets

      :CordovaLib:mergeReleaseProguardFiles

      :CordovaLib:packageReleaseRenderscript UP-TO-DATE

      :CordovaLib:compileReleaseRenderscript

      :CordovaLib:generateReleaseResValues

      :CordovaLib:generateReleaseResources

      :CordovaLib:packageReleaseResources

      :CordovaLib:processReleaseManifest

      :CordovaLib:generateReleaseBuildConfig

      :CordovaLib:processReleaseResources

      :CordovaLib:generateReleaseSources

      :CordovaLib:incrementalReleaseJavaCompilationSafeguard

      :CordovaLib:compileReleaseJavaWithJavac

      :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      :CordovaLib:processReleaseJavaRes UP-TO-DATE

      :CordovaLib:transformResourcesWithMergeJavaResForRelease

      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease

      :CordovaLib:mergeReleaseJniLibFolders

      :CordovaLib:transformNative_libsWithMergeJniLibsForRelease

      :CordovaLib:transformNative_libsWithSyncJniLibsForRelease

      :CordovaLib:bundleRelease

      :prepareComAndroidSupportAnimatedVectorDrawable2600Alpha1Library

      :prepareComAndroidSupportAppcompatV72600Alpha1Library

      :prepareComAndroidSupportCardviewV72321Library

      :prepareComAndroidSupportCustomtabs2400Library

      :prepareComAndroidSupportSupportCompat2600Alpha1Library

      :prepareComAndroidSupportSupportCoreUi2600Alpha1Library

      :prepareComAndroidSupportSupportCoreUtils2600Alpha1Library

      :prepareComAndroidSupportSupportFragment2600Alpha1Library

      :prepareComAndroidSupportSupportMediaCompat2600Alpha1Library

      :prepareComAndroidSupportSupportV42600Alpha1Library

      :prepareComAndroidSupportSupportVectorDrawable2600Alpha1Library

      :prepareComCommit451PhotoView124Library

      :prepareComFacebookAndroidFacebookAndroidSdk4110Library

      :prepareComGoogleAndroidGmsPlayServicesAnalytics1104Library

      :prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1104Library

      :prepareComGoogleAndroidGmsPlayServicesAuth1104Library

      :prepareComGoogleAndroidGmsPlayServicesAuthBase1104Library

      :prepareComGoogleAndroidGmsPlayServicesBase1104Library

      :prepareComGoogleAndroidGmsPlayServicesBasement1104Library

      :prepareComGoogleAndroidGmsPlayServicesGcm1104Library

      :prepareComGoogleAndroidGmsPlayServicesIdentity1104Library

      :prepareComGoogleAndroidGmsPlayServicesIid1104Library

      :prepareComGoogleAndroidGmsPlayServicesLocation1104Library

      :prepareComGoogleAndroidGmsPlayServicesTagmanagerV4Impl1104Library

      :prepareComGoogleAndroidGmsPlayServicesTasks1104Library

      :prepareComOnesignalOneSignal357Library

      :prepareMeLeolinShortcutBadger1119Library

      :prepareOrgApacheCordovaCordovaLib623DebugLibrary

      :prepareOrgXwalkXwalk_core_library23535894Library

      :prepareArmv7DebugDependencies

      :compileArmv7DebugAidl

      :compileArmv7DebugRenderscript

      :generateArmv7DebugBuildConfig

      :mergeArmv7DebugShaders

      :compileArmv7DebugShaders

      :generateArmv7DebugAssets

      :mergeArmv7DebugAssets

      :createXwalkCommandLineFileArmv7Debug

      :generateArmv7DebugResValues

      :generateArmv7DebugResources

      :mergeArmv7DebugResources

      :processArmv7DebugManifest

      :processArmv7DebugResources

      :generateArmv7DebugSources

      :incrementalArmv7DebugJavaCompilationSafeguard

      :compileArmv7DebugJavaWithJavac

      :compileArmv7DebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

      /project/src/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist

      import org.apache.cordova.file.FileUtils;

        ^

      /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol

        FileUtils filePlugin = (FileUtils) pm.getPlugin("File");

        ^

        symbol: class FileUtils

      /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol

        FileUtils filePlugin = (FileUtils) pm.getPlugin("File");

        ^

        symbol: class FileUtils

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      Note: Some input files use unchecked or unsafe operations.

      Note: Recompile with -Xlint:unchecked for details.

      3 errors

      :compileArmv7DebugJavaWithJavac FAILED

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      Execution failed for task ':compileArmv7DebugJavaWithJavac'.

      > Compilation failed; see the compiler error output for details.

       

      * Try:

      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

       

      BUILD FAILED

       

      Total time: 9.744 secs

      Error: /project/gradlew: Command failed with exit code 1 Error output:

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      /project/src/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist

      import org.apache.cordova.file.FileUtils;

        ^

      /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol

        FileUtils filePlugin = (FileUtils) pm.getPlugin("File");

        ^

        symbol: class FileUtils

      /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol

        FileUtils filePlugin = (FileUtils) pm.getPlugin("File");

        ^

        symbol: class FileUtils

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      Note: Some input files use unchecked or unsafe operations.

      Note: Recompile with -Xlint:unchecked for details.

      3 errors

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      Execution failed for task ':compileArmv7DebugJavaWithJavac'.

      > Compilation failed; see the compiler error output for details.

       

      * Try:

      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

        at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

        at emitTwo (events.js:106:13)

        at ChildProcess.emit (events.js:191:7)

        at maybeClose (internal/child_process.js:877:16)

        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)