phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.41k forks source link

Phonegap-plugin not working #688

Closed bandeto45 closed 6 years ago

bandeto45 commented 6 years ago

Expected Behaviour

Will display barcode scanner

Actual Behaviour

Not showing barcode scanner

Reproduce Scenario (including but not limited to)

When I click the scan button for barcode scanner could not display or not functioning and there is no error display on the console

Steps to Reproduce

I install phonegap-plugin-barcodescanner to my project with a version 8.0.0 with a proper configuration that I follow in your documentation but when I run the program and then I clicked a button to scan cordova.plugins.barcodeScanner.scan are not working and there is no leak of error shown up.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

5.1.1

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Oppo A37

Cordova CLI version and cordova platform version

cordova 6.3.1
cordova platforms Android 5.2.1

Plugin version

8.0.0
cordova plugin version  | grep phonegap-plugin-barcodescanner

Sample Code that illustrates the problem

var triggerscan = true; $$('.sbbtn').on('click', function () {

    if (triggerscan == true) {
        console.log("Scan trigger");
        sc = true;
        triggerscan = false;
        myApp.closeModal();
            cordova.plugins.barcodeScanner.scan(
                       function (result) {
                           console.log(JSON.stringify(result));
                           if (result.cancelled == false) {
                               if (result.format.toLowerCase() != 'qr_code') {
                                   myApp.showIndicator();
                                   document.addEventListener("offline", offlinescanned(result.text), false);
                                   document.addEventListener("online", onlinescanned(result.text, true), false);
                                   triggerscan = true;
                               } else {
                                   myApp.alert("Invalid barcode");
                                   triggerscan = true;
                               }

                           } else {
                               myApp.hideIndicator();
                               triggerscan = true;
                           }

                       },
                       function (error) {
                           alert("Scanning failed: " + error);
                       },
                       {
                           preferFrontCamera: false, // iOS and Android
                           showFlipCameraButton: true, // iOS and Android
                           showTorchButton: true, // iOS and Android
                           torchOn: false, // Android, launch with the torch switched on (if available)
                           prompt: "Place a barcode inside the scan area", // Android
                           resultDisplayDuration: 1000, // Android, display scanned text for X ms. 0 suppresses it entirely, default 1500
                           formats: "QR_CODE,UPC_A,UPC_E,EAN_8,EAN_13,CODE_128,CODE_39,CODE_93,CODABAR,ITF,RSS14,RSS_EXPANDED,PDF417,AZTEC,DATA_MATRIX", // default: all but PDF_417 and RSS_EXPANDED
                           orientation: "portrait", // Android only (portrait|landscape), default unset so it rotates with the device
                           disableAnimations: false, // iOS
                           disableSuccessBeep: false // iOS
                       }
                    );

    }

});

Logs taken while reproducing problem

1>------ Build started: Project: Collectorshive, Configuration: Release Android ------ Cordova 6.3.1 ------ Adding platform: android No scripts found for hook "before_platform_add". No version supplied. Retrieving version from config.xml... Adding android project... PlatformApi successfully found for platform android Creating Cordova project for the Android platform: Path: platforms\android Package: com.collectorshive Name: Collectors_Hive Activity: MainActivity Android target: android-23 Copying android template project to platforms\android Android project created with cordova-android@5.2.1 Checking for any plugins added to the project that have not been installed in android platform No differences found between plugins added to project and installed in android platform. Continuing... Generating platform-specific config.xml from defaults for android at D:\Collectorshiveold\Collectorshive\platforms\android\res\xml\config.xml Merging project's config.xml into platform-specific android config.xml Found "merges/android" folder. Copying its contents into the android project. Merging and updating files from [www, platforms\android\platform_www, merges\android] to platforms\android\assets\www copy www\addauction.html platforms\android\assets\www\addauction.html (new file) copy www\auction_selected.html platforms\android\assets\www\auction_selected.html (new file) copy www\bidders.html platforms\android\assets\www\bidders.html (new file) copy www\blank.html platforms\android\assets\www\blank.html (new file) copy www\collection_item.html platforms\android\assets\www\collection_item.html (new file) copy www\convo.html platforms\android\assets\www\convo.html (new file) mkdir platforms\android\assets\www\cordova-js-src mkdir platforms\android\assets\www\cordova-js-src\android copy platforms\android\platform_www\cordova-js-src\android\nativeapiprovider.js platforms\android\assets\www\cordova-js-src\android\nativeapiprovider.js (new file) copy platforms\android\platform_www\cordova-js-src\android\promptbasednativeapi.js platforms\android\assets\www\cordova-js-src\android\promptbasednativeapi.js (new file) copy platforms\android\platform_www\cordova-js-src\exec.js platforms\android\assets\www\cordova-js-src\exec.js (new file) copy platforms\android\platform_www\cordova-js-src\platform.js platforms\android\assets\www\cordova-js-src\platform.js (new file) mkdir platforms\android\assets\www\cordova-js-src\plugin mkdir platforms\android\assets\www\cordova-js-src\plugin\android copy platforms\android\platform_www\cordova-js-src\plugin\android\app.js platforms\android\assets\www\cordova-js-src\plugin\android\app.js (new file) copy platforms\android\platform_www\cordova.js platforms\android\assets\www\cordova.js (updated file) copy www\css\animate.css platforms\android\assets\www\css\animate.css (new file) copy www\css\framework7.ios.colors.css platforms\android\assets\www\css\framework7.ios.colors.css (new file) copy www\css\framework7.ios.colors.min.css platforms\android\assets\www\css\framework7.ios.colors.min.css (new file) copy www\css\framework7.ios.css platforms\android\assets\www\css\framework7.ios.css (new file) copy www\css\framework7.ios.min.css platforms\android\assets\www\css\framework7.ios.min.css (new file) copy www\css\framework7.ios.rtl.css platforms\android\assets\www\css\framework7.ios.rtl.css (new file) copy www\css\framework7.ios.rtl.min.css platforms\android\assets\www\css\framework7.ios.rtl.min.css (new file) copy www\css\framework7.keypad.min.css platforms\android\assets\www\css\framework7.keypad.min.css (new file) copy www\css\framework7.material.colors.css platforms\android\assets\www\css\framework7.material.colors.css (new file) copy www\css\framework7.material.colors.min.css platforms\android\assets\www\css\framework7.material.colors.min.css (new file) copy www\css\framework7.material.css platforms\android\assets\www\css\framework7.material.css (new file) copy www\css\framework7.material.min.css platforms\android\assets\www\css\framework7.material.min.css (new file) copy www\css\framework7.material.rtl.css platforms\android\assets\www\css\framework7.material.rtl.css (new file) copy www\css\framework7.material.rtl.min.css platforms\android\assets\www\css\framework7.material.rtl.min.css (new file) copy www\css\hexagons.css platforms\android\assets\www\css\hexagons.css (new file) copy www\css\index.css platforms\android\assets\www\css\index.css (updated file) copy www\css\material-icons.css platforms\android\assets\www\css\material-icons.css (new file) copy www\css\material1-icons.css platforms\android\assets\www\css\material1-icons.css (new file) copy www\css\tourguide.css platforms\android\assets\www\css\tourguide.css (new file) copy www\css\welcomescreen.css platforms\android\assets\www\css\welcomescreen.css (new file) copy www\fdtails.html platforms\android\assets\www\fdtails.html (new file) copy www\feedback.html platforms\android\assets\www\feedback.html (new file) mkdir platforms\android\assets\www\fonts copy www\fonts\Framework7Icons-Regular.eot platforms\android\assets\www\fonts\Framework7Icons-Regular.eot (new file) copy www\fonts\Framework7Icons-Regular.svg platforms\android\assets\www\fonts\Framework7Icons-Regular.svg (new file) copy www\fonts\Framework7Icons-Regular.ttf platforms\android\assets\www\fonts\Framework7Icons-Regular.ttf (new file) copy www\fonts\Framework7Icons-Regular.woff platforms\android\assets\www\fonts\Framework7Icons-Regular.woff (new file) copy www\fonts\Framework7Icons-Regular.woff2 platforms\android\assets\www\fonts\Framework7Icons-Regular.woff2 (new file) copy www\fonts\MaterialIcons-Regular.eot platforms\android\assets\www\fonts\MaterialIcons-Regular.eot (new file) copy www\fonts\MaterialIcons-Regular.svg platforms\android\assets\www\fonts\MaterialIcons-Regular.svg (new file) copy www\fonts\MaterialIcons-Regular.ttf platforms\android\assets\www\fonts\MaterialIcons-Regular.ttf (new file) copy www\fonts\MaterialIcons-Regular.woff platforms\android\assets\www\fonts\MaterialIcons-Regular.woff (new file) copy www\fonts\MaterialIcons-Regular.woff2 platforms\android\assets\www\fonts\MaterialIcons-Regular.woff2 (new file) copy www\friend.html platforms\android\assets\www\friend.html (new file) copy www\friendreq.html platforms\android\assets\www\friendreq.html (new file) copy www\gen-userpolicy.html platforms\android\assets\www\gen-userpolicy.html (new file) mkdir platforms\android\assets\www\hextris copy www\hextris.html platforms\android\assets\www\hextris.html (new file) copy www\hextris\CNAME platforms\android\assets\www\hextris\CNAME (new file) copy www\hextris\LICENSE.md platforms\android\assets\www\hextris\LICENSE.md (new file) copy www\hextris\README.md platforms\android\assets\www\hextris\README.md (new file) copy www\hextris\favicon.ico platforms\android\assets\www\hextris\favicon.ico (new file) mkdir platforms\android\assets\www\hextris\images copy www\hextris\images\Submit score.psd platforms\android\assets\www\hextris\images\Submit score.psd (new file) copy www\hextris\images\Submit-score.png platforms\android\assets\www\hextris\images\Submit-score.png (new file) copy www\hextris\images\Submit-score2.png platforms\android\assets\www\hextris\images\Submit-score2.png (new file) copy www\hextris\images\android.png platforms\android\assets\www\hextris\images\android.png (new file) copy www\hextris\images\appstore.svg platforms\android\assets\www\hextris\images\appstore.svg (new file) copy www\hextris\images\btn_back.svg platforms\android\assets\www\hextris\images\btn_back.svg (new file) copy www\hextris\images\btn_facebook.svg platforms\android\assets\www\hextris\images\btn_facebook.svg (new file) copy www\hextris\images\btn_help.svg platforms\android\assets\www\hextris\images\btn_help.svg (new file) copy www\hextris\images\btn_pause.svg platforms\android\assets\www\hextris\images\btn_pause.svg (new file) copy www\hextris\images\btn_restart.svg platforms\android\assets\www\hextris\images\btn_restart.svg (new file) copy www\hextris\images\btn_resume.svg platforms\android\assets\www\hextris\images\btn_resume.svg (new file) copy www\hextris\images\btn_share.svg platforms\android\assets\www\hextris\images\btn_share.svg (new file) copy www\hextris\images\btn_twitter.svg platforms\android\assets\www\hextris\images\btn_twitter.svg (new file) copy www\hextris\images\facebook-opengraph.png platforms\android\assets\www\hextris\images\facebook-opengraph.png (new file) copy www\hextris\images\icon_arrows.svg platforms\android\assets\www\hextris\images\icon_arrows.svg (new file) copy www\hextris\images\twitter-opengraph.png platforms\android\assets\www\hextris\images\twitter-opengraph.png (new file) copy www\hextris\index.html platforms\android\assets\www\hextris\index.html (new file) mkdir platforms\android\assets\www\hextris\js copy www\hextris\js\Block.js platforms\android\assets\www\hextris\js\Block.js (new file) copy www\hextris\js\Hex.js platforms\android\assets\www\hextris\js\Hex.js (new file) copy www\hextris\js\Text.js platforms\android\assets\www\hextris\js\Text.js (new file) copy www\hextris\js\checking.js platforms\android\assets\www\hextris\js\checking.js (new file) copy www\hextris\js\comboTimer.js platforms\android\assets\www\hextris\js\comboTimer.js (new file) copy www\hextris\js\initialization.js platforms\android\assets\www\hextris\js\initialization.js (new file) copy www\hextris\js\input.js platforms\android\assets\www\hextris\js\input.js (new file) copy www\hextris\js\main.js platforms\android\assets\www\hextris\js\main.js (new file) copy www\hextris\js\math.js platforms\android\assets\www\hextris\js\math.js (new file) copy www\hextris\js\render.js platforms\android\assets\www\hextris\js\render.js (new file) copy www\hextris\js\save-state.js platforms\android\assets\www\hextris\js\save-state.js (new file) copy www\hextris\js\update.js platforms\android\assets\www\hextris\js\update.js (new file) copy www\hextris\js\view.js platforms\android\assets\www\hextris\js\view.js (new file) copy www\hextris\js\wavegen.js platforms\android\assets\www\hextris\js\wavegen.js (new file) mkdir platforms\android\assets\www\hextris\style mkdir platforms\android\assets\www\hextris\style\fa mkdir platforms\android\assets\www\hextris\style\fa\css copy www\hextris\style\fa\css\font-awesome.css platforms\android\assets\www\hextris\style\fa\css\font-awesome.css (new file) copy www\hextris\style\fa\css\font-awesome.min.css platforms\android\assets\www\hextris\style\fa\css\font-awesome.min.css (new file) mkdir platforms\android\assets\www\hextris\style\fa\fonts copy www\hextris\style\fa\fonts\FontAwesome.otf platforms\android\assets\www\hextris\style\fa\fonts\FontAwesome.otf (new file) copy www\hextris\style\fa\fonts\fontawesome-webfont.eot platforms\android\assets\www\hextris\style\fa\fonts\fontawesome-webfont.eot (new file) copy www\hextris\style\fa\fonts\fontawesome-webfont.svg platforms\android\assets\www\hextris\style\fa\fonts\fontawesome-webfont.svg (new file) copy www\hextris\style\fa\fonts\fontawesome-webfont.ttf platforms\android\assets\www\hextris\style\fa\fonts\fontawesome-webfont.ttf (new file) copy www\hextris\style\fa\fonts\fontawesome-webfont.woff platforms\android\assets\www\hextris\style\fa\fonts\fontawesome-webfont.woff (new file) mkdir platforms\android\assets\www\hextris\style\fonts copy www\hextris\style\fonts\Exo2-ExtraLight.otf platforms\android\assets\www\hextris\style\fonts\Exo2-ExtraLight.otf (new file) copy www\hextris\style\fonts\Exo2-Regular.otf platforms\android\assets\www\hextris\style\fonts\Exo2-Regular.otf (new file) copy www\hextris\style\fonts\Exo2-SemiBold.otf platforms\android\assets\www\hextris\style\fonts\Exo2-SemiBold.otf (new file) copy www\hextris\style\fonts\Lovelo.otf platforms\android\assets\www\hextris\style\fonts\Lovelo.otf (new file) copy www\hextris\style\fonts\QuattrocentoSans-Regular.ttf platforms\android\assets\www\hextris\style\fonts\QuattrocentoSans-Regular.ttf (new file) copy www\hextris\style\fonts\roboto.woff platforms\android\assets\www\hextris\style\fonts\roboto.woff (new file) copy www\hextris\style\rrssb.css platforms\android\assets\www\hextris\style\rrssb.css (new file) copy www\hextris\style\style.css platforms\android\assets\www\hextris\style\style.css (new file) mkdir platforms\android\assets\www\hextris\vendor copy www\hextris\vendor\hammer.min.js platforms\android\assets\www\hextris\vendor\hammer.min.js (new file) copy www\hextris\vendor\jquery.js platforms\android\assets\www\hextris\vendor\jquery.js (new file) copy www\hextris\vendor\js.cookie.js platforms\android\assets\www\hextris\vendor\js.cookie.js (new file) copy www\hextris\vendor\jsonfn.min.js platforms\android\assets\www\hextris\vendor\jsonfn.min.js (new file) copy www\hextris\vendor\keypress.min.js platforms\android\assets\www\hextris\vendor\keypress.min.js (new file) copy www\hextris\vendor\rrssb.min.js platforms\android\assets\www\hextris\vendor\rrssb.min.js (new file) copy www\hextris\vendor\sweet-alert.min.js platforms\android\assets\www\hextris\vendor\sweet-alert.min.js (new file) mkdir platforms\android\assets\www\images copy www\images\Winner banner.png platforms\android\assets\www\images\Winner banner.png (new file) copy www\images\auc.png platforms\android\assets\www\images\auc.png (new file) copy www\images\bannermarket.png platforms\android\assets\www\images\bannermarket.png (new file) copy www\images\ch_name.svg platforms\android\assets\www\images\ch_name.svg (new file) copy www\images\coins.png platforms\android\assets\www\images\coins.png (new file) copy www\images\cordova.png platforms\android\assets\www\images\cordova.png (new file) copy www\images\header-front.png platforms\android\assets\www\images\header-front.png (new file) copy www\images\promotion.png platforms\android\assets\www\images\promotion.png (new file) rmdir platforms\android\assets\www\img (no source) delete platforms\android\assets\www\img\cordova.png (no source) delete platforms\android\assets\www\img\logo.png (no source) copy www\index.html platforms\android\assets\www\index.html (updated file) copy www\instr.html platforms\android\assets\www\instr.html (new file) rmdir platforms\android\assets\www\js (no source) delete platforms\android\assets\www\js\index.js (no source) copy www\leaderboard.html platforms\android\assets\www\leaderboard.html (new file) copy www\login.html platforms\android\assets\www\login.html (new file) copy www\main.html platforms\android\assets\www\main.html (new file) copy www\member_collection_item.html platforms\android\assets\www\member_collection_item.html (new file) copy www\member_profile.html platforms\android\assets\www\member_profile.html (new file) copy www\message.html platforms\android\assets\www\message.html (new file) copy www\particlesjs-config.json platforms\android\assets\www\particlesjs-config.json (new file) copy www\pitch_user_policy.html platforms\android\assets\www\pitch_user_policy.html (new file) copy www\pitchers.html platforms\android\assets\www\pitchers.html (new file) copy www\rain.json platforms\android\assets\www\rain.json (new file) copy www\reply.html platforms\android\assets\www\reply.html (new file) copy www\reportItemStorehive.html platforms\android\assets\www\reportItemStorehive.html (new file) copy www\reportuser.html platforms\android\assets\www\reportuser.html (new file) copy www\revmain.html platforms\android\assets\www\revmain.html (new file) copy www\scanneditem.html platforms\android\assets\www\scanneditem.html (new file) copy www\scanstore.html platforms\android\assets\www\scanstore.html (new file) mkdir platforms\android\assets\www\scripts copy www\scripts\Common-Currency.json platforms\android\assets\www\scripts\Common-Currency.json (new file) copy www\scripts\SocialSharing.js platforms\android\assets\www\scripts\SocialSharing.js (new file) copy www\scripts\ajax.js platforms\android\assets\www\scripts\ajax.js (new file) copy merges\android\scripts\android2.3-jscompat.js platforms\android\assets\www\scripts\android2.3-jscompat.js (new file) copy www\scripts\auction.js platforms\android\assets\www\scripts\auction.js (new file) copy www\scripts\ch_mainfunction.js platforms\android\assets\www\scripts\ch_mainfunction.js (new file) copy www\scripts\countdown.js platforms\android\assets\www\scripts\countdown.js (new file) copy www\scripts\framework7.js platforms\android\assets\www\scripts\framework7.js (new file) copy www\scripts\framework7.js.map platforms\android\assets\www\scripts\framework7.js.map (new file) copy www\scripts\framework7.keypad.min.js platforms\android\assets\www\scripts\framework7.keypad.min.js (new file) copy www\scripts\framework7.min.js platforms\android\assets\www\scripts\framework7.min.js (new file) copy www\scripts\framework7.min.js.map platforms\android\assets\www\scripts\framework7.min.js.map (new file) copy www\scripts\impetus.js platforms\android\assets\www\scripts\impetus.js (new file) copy www\scripts\index.js platforms\android\assets\www\scripts\index.js (new file) copy www\scripts\jquery.mark.min.js platforms\android\assets\www\scripts\jquery.mark.min.js (new file) copy www\scripts\mark.min.js platforms\android\assets\www\scripts\mark.min.js (new file) copy www\scripts\marketplace.js platforms\android\assets\www\scripts\marketplace.js (new file) copy www\scripts\msg.js platforms\android\assets\www\scripts\msg.js (new file) copy www\scripts\my-app.js platforms\android\assets\www\scripts\my-app.js (new file) copy www\scripts\particles.js platforms\android\assets\www\scripts\particles.js (new file) copy www\scripts\particles.min.js platforms\android\assets\www\scripts\particles.min.js (new file) copy www\scripts\pinch-zoom-canvas.js platforms\android\assets\www\scripts\pinch-zoom-canvas.js (new file) copy merges\android\scripts\platformOverrides.js platforms\android\assets\www\scripts\platformOverrides.js (new file) copy www\scripts\sdk.js platforms\android\assets\www\scripts\sdk.js (new file) copy www\scripts\template7.js platforms\android\assets\www\scripts\template7.js (new file) copy www\scripts\template7.js.map platforms\android\assets\www\scripts\template7.js.map (new file) copy www\scripts\template7.min.js platforms\android\assets\www\scripts\template7.min.js (new file) copy www\scripts\template7.min.js.map platforms\android\assets\www\scripts\template7.min.js.map (new file) copy www\scripts\template7.module.js platforms\android\assets\www\scripts\template7.module.js (new file) copy www\scripts\tourguide.js platforms\android\assets\www\scripts\tourguide.js (new file) copy www\scripts\trade.js platforms\android\assets\www\scripts\trade.js (new file) copy www\scripts\welcomescreen.js platforms\android\assets\www\scripts\welcomescreen.js (new file) copy www\statpitch.html platforms\android\assets\www\statpitch.html (new file) copy www\terms.html platforms\android\assets\www\terms.html (new file) copy www\trade.html platforms\android\assets\www\trade.html (new file) copy www\tradesetup.html platforms\android\assets\www\tradesetup.html (new file) copy www\tryag.html platforms\android\assets\www\tryag.html (new file) copy www\uploademblem.html platforms\android\assets\www\uploademblem.html (new file) copy www\winpromocode.html platforms\android\assets\www\winpromocode.html (new file) Wrote out android application name "Collectors Hive" to D:\Collectorshiveold\Collectorshive\platforms\android\res\values\strings.xml android-versionCode not found in config.xml. Generating a code based on version in config.xml (2.0.0): 20000 Wrote out Android package name "com.collectorshive" to D:\Collectorshiveold\Collectorshive\platforms\android\src\com\collectorshive\MainActivity.java Updating icons at platforms\android\res copy res/icons/android/icon-72-hdpi.png platforms\android\res\drawable-hdpi\icon.png (updated file) copy res/icons/android/icon-36-ldpi.png platforms\android\res\drawable-ldpi\icon.png (updated file) copy res/icons/android/icon-48-mdpi.png platforms\android\res\drawable-mdpi\icon.png (updated file) copy res/icons/android/icon-96-xhdpi.png platforms\android\res\drawable-xhdpi\icon.png (updated file) Updating splash screens at platforms\android\res copy res/screens/android/screen-hdpi-landscape.png platforms\android\res\drawable-land-hdpi\screen.png (updated file) copy res/screens/android/screen-ldpi-landscape.png platforms\android\res\drawable-land-ldpi\screen.png (updated file) copy res/screens/android/screen-mdpi-landscape.png platforms\android\res\drawable-land-mdpi\screen.png (updated file) copy res/screens/android/screen-xhdpi-landscape.png platforms\android\res\drawable-land-xhdpi\screen.png (updated file) copy res/screens/android/screen-hdpi-portrait.png platforms\android\res\drawable-port-hdpi\screen.png (updated file) copy res/screens/android/screen-ldpi-portrait.png platforms\android\res\drawable-port-ldpi\screen.png (updated file) copy res/screens/android/screen-mdpi-portrait.png platforms\android\res\drawable-port-mdpi\screen.png (updated file) copy res/screens/android/screen-xhdpi-portrait.png platforms\android\res\drawable-port-xhdpi\screen.png (updated file) Prepared android project successfully Installing plugin "cordova-plugin-camera" following successful platform add of android Found variables for "cordova-plugin-camera". Processing as cli_variables. Installing "cordova-plugin-camera" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Dependencies detected, iterating through them... Plugin dependency "cordova-plugin-compat" already fetched, using that version. Installing "cordova-plugin-compat" for android Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-compat on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-compat" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-compat on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-compat on android platform only. No scripts found for hook "after_plugin_install". Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-camera on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-camera" on android. Beginning processing of action stack for android project... Installing Android library: com.android.support:support-v4:24.1.1+ Action stack processing complete. Updating build files since android plugin contained Install complete for cordova-plugin-camera on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-camera on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-compat" following successful platform add of android Found variables for "cordova-plugin-compat". Processing as cli_variables. Dependent plugin "cordova-plugin-compat" already installed on android. Installing plugin "cordova-plugin-console" following successful platform add of android Found variables for "cordova-plugin-console". Processing as cli_variables. Installing "cordova-plugin-console" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-console on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-console" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-console on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-console on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-crosswalk-webview" following successful platform add of android Found variables for "cordova-plugin-crosswalk-webview". Processing as cli_variables. Installing "cordova-plugin-crosswalk-webview" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" MSBUILD : cordova-build warning : Warning: Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.1, failed version requirement: >=6 Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.1, failed version requirement: >=6 Skipping 'cordova-plugin-crosswalk-webview' for android MSBUILD : cordova-build warning : Warning: Skipping 'cordova-plugin-crosswalk-webview' for android Installing plugin "cordova-plugin-device" following successful platform add of android Found variables for "cordova-plugin-device". Processing as cli_variables. Installing "cordova-plugin-device" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-device on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-device" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-device on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-device on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-dialogs" following successful platform add of android Found variables for "cordova-plugin-dialogs". Processing as cli_variables. Installing "cordova-plugin-dialogs" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-dialogs on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-dialogs" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-dialogs on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-dialogs on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-facebook" following successful platform add of android Found variables for "cordova-plugin-facebook". Processing as cli_variables. Installing "cordova-plugin-facebook" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-facebook on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-facebook" on android. Beginning processing of action stack for android project... Installing Android library: com.facebook.android:facebook-android-sdk:4.3.+ Action stack processing complete. Updating build files since android plugin contained Install complete for cordova-plugin-facebook on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-facebook on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-file" following successful platform add of android Found variables for "cordova-plugin-file". Processing as cli_variables. Installing "cordova-plugin-file" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Dependencies detected, iterating through them... Plugin dependency "cordova-plugin-compat" already fetched, using that version. Dependent plugin "cordova-plugin-compat" already installed on android. Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-file on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-file" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-file on android.

The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

  "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

to config.xml in order for the application to find previously stored files.

The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

  "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

to config.xml in order for the application to find previously stored files.

Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-file on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-file-transfer" following successful platform add of android Found variables for "cordova-plugin-file-transfer". Processing as cli_variables. Installing "cordova-plugin-file-transfer" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Dependencies detected, iterating through them... Plugin dependency "cordova-plugin-file" already fetched, using that version. Dependent plugin "cordova-plugin-file" already installed on android. Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-file-transfer on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-file-transfer" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-file-transfer on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-file-transfer on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-globalization" following successful platform add of android Found variables for "cordova-plugin-globalization". Processing as cli_variables. Installing "cordova-plugin-globalization" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-globalization on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-globalization" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-globalization on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-globalization on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-inappbrowser" following successful platform add of android Found variables for "cordova-plugin-inappbrowser". Processing as cli_variables. Installing "cordova-plugin-inappbrowser" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-inappbrowser on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-inappbrowser" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-inappbrowser on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-inappbrowser on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-media" following successful platform add of android Found variables for "cordova-plugin-media". Processing as cli_variables. Installing "cordova-plugin-media" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.1, failed version requirement: >=6.1.0 MSBUILD : cordova-build warning : Warning: Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.1, failed version requirement: >=6.1.0 Skipping 'cordova-plugin-media' for android Installing plugin "cordova-plugin-network-information" following successful platform add of android Found variables for "cordova-plugin-network-information". Processing as cli_variables. MSBUILD : cordova-build warning : Warning: Skipping 'cordova-plugin-media' for android Installing "cordova-plugin-network-information" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-network-information on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-network-information" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-network-information on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-network-information on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-statusbar" following successful platform add of android Found variables for "cordova-plugin-statusbar". Processing as cli_variables. Installing "cordova-plugin-statusbar" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-statusbar on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-statusbar" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-statusbar on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-statusbar on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-whitelist" following successful platform add of android Found variables for "cordova-plugin-whitelist". Processing as cli_variables. Installing "cordova-plugin-whitelist" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-whitelist on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-whitelist" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for cordova-plugin-whitelist on 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.

           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.

Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-whitelist on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "cordova-plugin-x-socialsharing" following successful platform add of android Found variables for "cordova-plugin-x-socialsharing". Processing as cli_variables. Installing "cordova-plugin-x-socialsharing" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Dependencies detected, iterating through them... Plugin dependency "es6-promise-plugin" already fetched, using that version. Installing "es6-promise-plugin" for android Finding scripts for "before_plugin_install" hook from plugin es6-promise-plugin on android platform only. No scripts found for hook "before_plugin_install". Install start for "es6-promise-plugin" on android. Beginning processing of action stack for android project... Action stack processing complete. Install complete for es6-promise-plugin on android. Finding scripts for "after_plugin_install" hook from plugin es6-promise-plugin on android platform only. No scripts found for hook "after_plugin_install". Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-x-socialsharing on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-x-socialsharing" on android. Beginning processing of action stack for android project... Installing Android library: com.android.support:support-v4:24.1.1+ Action stack processing complete. Updating build files since android plugin contained Install complete for cordova-plugin-x-socialsharing on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-x-socialsharing on android platform only. No scripts found for hook "after_plugin_install". Installing plugin "es6-promise-plugin" following successful platform add of android Found variables for "es6-promise-plugin". Processing as cli_variables. Dependent plugin "es6-promise-plugin" already installed on android. Installing plugin "phonegap-plugin-barcodescanner" following successful platform add of android Found variables for "phonegap-plugin-barcodescanner". Processing as cli_variables. Installing "phonegap-plugin-barcodescanner" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Plugin doesn't support this project's cordova version. cordova: 6.3.1, failed version requirement: >=7.1.0 Skipping 'phonegap-plugin-barcodescanner' for android MSBUILD : cordova-build warning : Warning: Plugin doesn't support this project's cordova version. cordova: 6.3.1, failed version requirement: >=7.1.0 MSBUILD : cordova-build warning : Warning: Skipping 'phonegap-plugin-barcodescanner' for android No scripts found for hook "before_prepare". Executing script found in plugin cordova-plugin-crosswalk-webview for hook "before_build": plugins\cordova-plugin-crosswalk-webview\hooks\before_build\000-build_64_bit.js Resolving module name for q => q Resolving module name for cordova-common => cordova-common Resolving module name for cordova-common => cordova-common Resolving module name for fs => fs Resolving module name for path => path Resolving module name for elementtree => elementtree Checking config.xml for saved platforms that haven't been added to the project Checking for any plugins added to the project that have not been installed in android platform No differences found between plugins added to project and installed in android platform. Continuing... Generating platform-specific config.xml from defaults for android at D:\Collectorshiveold\Collectorshive\platforms\android\res\xml\config.xml Merging project's config.xml into platform-specific android config.xml Found "merges/android" folder. Copying its contents into the android project. Merging and updating files from [www, platforms\android\platform_www, merges\android] to platforms\android\assets\www copy platforms\android\platform_www\cordova_plugins.js platforms\android\assets\www\cordova_plugins.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-camera\www\Camera.js platforms\android\assets\www\plugins\cordova-plugin-camera\www\Camera.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-camera\www\CameraConstants.js platforms\android\assets\www\plugins\cordova-plugin-camera\www\CameraConstants.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-camera\www\CameraPopoverHandle.js platforms\android\assets\www\plugins\cordova-plugin-camera\www\CameraPopoverHandle.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-camera\www\CameraPopoverOptions.js platforms\android\assets\www\plugins\cordova-plugin-camera\www\CameraPopoverOptions.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-device\www\device.js platforms\android\assets\www\plugins\cordova-plugin-device\www\device.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-dialogs\www\android\notification.js platforms\android\assets\www\plugins\cordova-plugin-dialogs\www\android\notification.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-dialogs\www\notification.js platforms\android\assets\www\plugins\cordova-plugin-dialogs\www\notification.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-facebook\www\CordovaFacebook.js platforms\android\assets\www\plugins\cordova-plugin-facebook\www\CordovaFacebook.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file-transfer\www\FileTransfer.js platforms\android\assets\www\plugins\cordova-plugin-file-transfer\www\FileTransfer.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file-transfer\www\FileTransferError.js platforms\android\assets\www\plugins\cordova-plugin-file-transfer\www\FileTransferError.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\DirectoryEntry.js platforms\android\assets\www\plugins\cordova-plugin-file\www\DirectoryEntry.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\DirectoryReader.js platforms\android\assets\www\plugins\cordova-plugin-file\www\DirectoryReader.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\Entry.js platforms\android\assets\www\plugins\cordova-plugin-file\www\Entry.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\File.js platforms\android\assets\www\plugins\cordova-plugin-file\www\File.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileEntry.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileEntry.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileError.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileError.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileReader.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileReader.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileSystem.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileSystem.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileUploadOptions.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileUploadOptions.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileUploadResult.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileUploadResult.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\FileWriter.js platforms\android\assets\www\plugins\cordova-plugin-file\www\FileWriter.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\Flags.js platforms\android\assets\www\plugins\cordova-plugin-file\www\Flags.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\LocalFileSystem.js platforms\android\assets\www\plugins\cordova-plugin-file\www\LocalFileSystem.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\Metadata.js platforms\android\assets\www\plugins\cordova-plugin-file\www\Metadata.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\ProgressEvent.js platforms\android\assets\www\plugins\cordova-plugin-file\www\ProgressEvent.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\android\FileSystem.js platforms\android\assets\www\plugins\cordova-plugin-file\www\android\FileSystem.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\browser\isChrome.js platforms\android\assets\www\plugins\cordova-plugin-file\www\browser\isChrome.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\fileSystemPaths.js platforms\android\assets\www\plugins\cordova-plugin-file\www\fileSystemPaths.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\fileSystems-roots.js platforms\android\assets\www\plugins\cordova-plugin-file\www\fileSystems-roots.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\fileSystems.js platforms\android\assets\www\plugins\cordova-plugin-file\www\fileSystems.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\requestFileSystem.js platforms\android\assets\www\plugins\cordova-plugin-file\www\requestFileSystem.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-file\www\resolveLocalFileSystemURI.js platforms\android\assets\www\plugins\cordova-plugin-file\www\resolveLocalFileSystemURI.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-globalization\www\GlobalizationError.js platforms\android\assets\www\plugins\cordova-plugin-globalization\www\GlobalizationError.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-globalization\www\globalization.js platforms\android\assets\www\plugins\cordova-plugin-globalization\www\globalization.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-inappbrowser\www\inappbrowser.js platforms\android\assets\www\plugins\cordova-plugin-inappbrowser\www\inappbrowser.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-network-information\www\Connection.js platforms\android\assets\www\plugins\cordova-plugin-network-information\www\Connection.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-network-information\www\network.js platforms\android\assets\www\plugins\cordova-plugin-network-information\www\network.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-statusbar\www\statusbar.js platforms\android\assets\www\plugins\cordova-plugin-statusbar\www\statusbar.js (updated file) copy platforms\android\platform_www\plugins\cordova-plugin-x-socialsharing\www\SocialSharing.js platforms\android\assets\www\plugins\cordova-plugin-x-socialsharing\www\SocialSharing.js (updated file) copy platforms\android\platform_www\plugins\es6-promise-plugin\www\promise.js platforms\android\assets\www\plugins\es6-promise-plugin\www\promise.js (updated file) Wrote out android application name "Collectors Hive" to D:\Collectorshiveold\Collectorshive\platforms\android\res\values\strings.xml android-versionCode not found in config.xml. Generating a code based on version in config.xml (2.0.0): 20000 Wrote out Android package name "com.collectorshive" to D:\Collectorshiveold\Collectorshive\platforms\android\src\com\collectorshive\MainActivity.java Updating icons at platforms\android\res Updating splash screens at platforms\android\res Prepared android project successfully No scripts found for hook "after_prepare". Checking config.xml for saved plugins that haven't been added to the project Saving android@5.2.1 into platforms.json No scripts found for hook "after_platform_add". ------ Copying native files from D:\Collectorshiveold\Collectorshive\res\native\android to D:\Collectorshiveold\Collectorshive\platforms\android ------ Done copying native files to D:\Collectorshiveold\Collectorshive\platforms\android ------ Building platform: android ------ Build configuration options: --release -- No scripts found for hook "before_compile". ANDROID_HOME=C:\ProgramData\Microsoft\AndroidSDK\25 JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_172 Reading build config file: D:\Collectorshiveold\Collectorshive\build.json Reading the keystore from: c:\ch.keystore Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\gradlew.bat cdvBuildRelease -b D:\Collectorshiveold\Collectorshive\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"" Incremental java compilation is an incubating feature. :preBuild UP-TO-DATE :preReleaseBuild UP-TO-DATE :checkReleaseManifest :CordovaLib:preBuild UP-TO-DATE :CordovaLib:preReleaseBuild UP-TO-DATE :CordovaLib:compileReleaseNdk UP-TO-DATE :CordovaLib:compileLint :CordovaLib:copyReleaseLint UP-TO-DATE :CordovaLib:mergeReleaseProguardFiles :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:checkReleaseManifest :CordovaLib:prepareReleaseDependencies :CordovaLib:compileReleaseRenderscript :CordovaLib:generateReleaseResValues :CordovaLib:generateReleaseResources :CordovaLib:packageReleaseResources :CordovaLib:compileReleaseAidl :CordovaLib:generateReleaseBuildConfig :CordovaLib:mergeReleaseShaders :CordovaLib:compileReleaseShaders :CordovaLib:generateReleaseAssets :CordovaLib:mergeReleaseAssets :CordovaLib:processReleaseManifest :CordovaLib:processReleaseResources :CordovaLib:generateReleaseSources :CordovaLib:incrementalReleaseJavaCompilationSafeguard :CordovaLib:compileReleaseJavaWithJavac :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API. MSBUILD : cordova-build warning : 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 :prepareAndroidCordovaLibUnspecifiedReleaseLibrary :preDebugBuild UP-TO-DATE :CordovaLib:preDebugBuild UP-TO-DATE :CordovaLib:compileDebugNdk UP-TO-DATE :CordovaLib:copyDebugLint UP-TO-DATE :CordovaLib:mergeDebugProguardFiles :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:checkDebugManifest :CordovaLib:prepareDebugDependencies :CordovaLib:compileDebugRenderscript :CordovaLib:generateDebugResValues :CordovaLib:generateDebugResources :CordovaLib:packageDebugResources :CordovaLib:compileDebugAidl :CordovaLib:generateDebugBuildConfig :CordovaLib:mergeDebugShaders :CordovaLib:compileDebugShaders :CordovaLib:generateDebugAssets :CordovaLib:mergeDebugAssets :CordovaLib:processDebugManifest :CordovaLib:processDebugResources :CordovaLib:generateDebugSources :CordovaLib:incrementalDebugJavaCompilationSafeguard :CordovaLib:compileDebugJavaWithJavac :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API. MSBUILD : cordova-build warning : 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 :prepareComAndroidSupportSupportV42411Library :prepareComFacebookAndroidFacebookAndroidSdk430Library :prepareReleaseDependencies :compileReleaseAidl :compileReleaseRenderscript :generateReleaseBuildConfig :mergeReleaseShaders :compileReleaseShaders :generateReleaseAssets :mergeReleaseAssets :generateReleaseResValues :generateReleaseResources :mergeReleaseResources :processReleaseManifest :processReleaseResources :generateReleaseSources :incrementalReleaseJavaCompilationSafeguard :compileReleaseJavaWithJavac :compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API. MSBUILD : cordova-build warning : Note: Recompile with -Xlint:deprecation for details. MSBUILD : cordova-build warning : Note: Some input files use unchecked or unsafe operations. MSBUILD : cordova-build warning : Note: Recompile with -Xlint:unchecked for details. :compileReleaseNdk UP-TO-DATE :compileReleaseSources :lintVitalRelease :prePackageMarkerForRelease :transformClassesWithDexForRelease To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 494 MB. For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB. To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties. For more information see https://docs.gradle.org/current/userguide/build_environment.html

:mergeReleaseJniLibFolders :transformNative_libsWithMergeJniLibsForRelease :processReleaseJavaRes UP-TO-DATE :transformResourcesWithMergeJavaResForRelease :validateReleaseSigning :packageRelease :zipalignRelease :assembleRelease :cdvBuildRelease

BUILD SUCCESSFUL

Total time: 16.482 secs Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\gradlew.bat cdvBuildRelease -b D:\Collectorshiveold\Collectorshive\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true" Built the following apk(s): D:/Collectorshiveold/Collectorshive/platforms/android/build/outputs/apk/android-release.apk No scripts found for hook "after_compile". Executing script found in plugin cordova-plugin-crosswalk-webview for hook "after_build": plugins\cordova-plugin-crosswalk-webview\hooks\after_build\000-build_64_bit.js Resolving module name for q => q Resolving module name for cordova-common => cordova-common Resolving module name for cordova-common => cordova-common Resolving module name for fs => fs Resolving module name for path => path Resolving module name for elementtree => elementtree Crosswalk info: 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.

------ Copying back to project: android 1>Done building project "Collectorshive.jsproj". ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

jcesarmobile commented 6 years ago

Version 8 of the plugin requires cordova cli >= 7.1.0 and cordova-android >= 6.3.0, so it's not being installed in your project and that's why it doesn't work.

It's in your log

Installing plugin "phonegap-plugin-barcodescanner" following successful platform add of android Found variables for "phonegap-plugin-barcodescanner". Processing as cli_variables. Installing "phonegap-plugin-barcodescanner" for android Running command: cmd "/s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "D:\Collectorshiveold\Collectorshive\platforms\android\cordova\version.bat" Plugin doesn't support this project's cordova version. cordova: 6.3.1, failed version requirement: >=7.1.0 Skipping 'phonegap-plugin-barcodescanner' for android MSBUILD : cordova-build warning : Warning: Plugin doesn't support this project's cordova version. cordova: 6.3.1, failed version requirement: >=7.1.0 MSBUILD : cordova-build warning : Warning: Skipping 'phonegap-plugin-barcodescanner' for android

lock[bot] commented 6 years ago

This thread has been automatically locked.