{"action":"created","issue":{"url":"https://api.github.com/repos/wildabeast/BarcodeScanner/issues/276","labels_url":"https://api.github.com/repos/wildabeast/BarcodeScanner/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/wildabeast/BarcodeScanner/issues/276/comments","events_url":"https://api.github.com/repos/wildabeast/BarcodeScanner/issues/276/events","html_url":"https://github.com/wildabeast/BarcodeScanner/issues/276","id":72594267,"number":276,"title":"Cordova cli 5.0 issue","user":{"login":"bau720123","id":5110085,"avatar_url":"https://avatars.githubusercontent.com/u/5110085?v=3","gravatar_id":"","url":"https://api.github.com/users/bau720123","html_url":"https://github.com/bau720123","followers_url":"https://api.github.com/users/bau720123/followers","following_url":"https://api.github.com/users/bau720123/following{/other_user}","gists_url":"https://api.github.com/users/bau720123/gists{/gist_id}","starred_url":"https://api.github.com/users/bau720123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bau720123/subscriptions","organizations_url":"https://api.github.com/users/bau720123/orgs","repos_url":"https://api.github.com/users/bau720123/repos","events_url":"https://api.github.com/users/bau720123/events{/privacy}","received_events_url":"https://api.github.com/users/bau720123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-02T06:08:13Z","updated_at":"2016-01-26T10:06:51Z","closed_at":"2016-01-14T11:32:25Z","body":"when I use PGB 3.7 (build.phonegap.com) with 2.2.0 version，everything is ok\r\n\r\nbut now I use Cordova CLI 5.0\r\nwhen there is no barcodescanner plugin with cli 5.0，cordoba build --release success\r\nwhen there is a barcodescanner plugin with cli 5.0，cordoba build --release fail\r\n\r\n```\r\n:lintVitalRelease\r\nD:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values\\arrays.\r\nxml:3: Error: \"country_codes\" is not translated in \"ar\" (Arabic), \"bg\" (Bulgaria\r\nn), \"ca\" (Catalan), \"cs\" (Czech), \"da\" (Danish), \"de\" (German), \"el\" (Greek), \"e\r\ns\" (Spanish), \"eu\" (Basque), \"fi\" (Finnish), \"fr\" (French), \"he\" (Hebrew), \"hi\"\r\n(Hindi), \"hu\" (Hungarian), \"id\" (Indonesian), \"it\" (Italian), \"iw\" (Hebrew), \"ja\r\n\" (Japanese), \"ko\" (Korean), \"nl\" (Dutch), \"pl\" (Polish), \"pt\" (Portuguese), \"ru\r\n\" (Russian), \"sk\" (Slovak), \"sl\" (Slovene), \"sv\" (Swedish), \"tr\" (Turkish), \"zh-\r\nrCN\" (Chinese: China), \"zh-rTW\" (Chinese: Taiwan, Province of China) [MissingTra\r\nnslation]\r\n  <string-array name=\"country_codes\">\r\n                ~~~~~~~~~~~~~~~~~~~~\r\nD:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values\\strings\r\n.xml:3: Error: \"app_name\" is not translated in \"ar\" (Arabic), \"bg\" (Bulgarian),\r\n\"ca\" (Catalan), \"cs\" (Czech), \"da\" (Danish), \"de\" (German), \"el\" (Greek), \"es\" (\r\nSpanish), \"eu\" (Basque), \"fi\" (Finnish), \"fr\" (French), \"he\" (Hebrew), \"hi\" (Hin\r\ndi), \"hu\" (Hungarian), \"id\" (Indonesian), \"it\" (Italian), \"iw\" (Hebrew), \"ja\" (J\r\napanese), \"ko\" (Korean), \"nl\" (Dutch), \"pl\" (Polish), \"pt\" (Portuguese), \"ru\" (R\r\nussian), \"sk\" (Slovak), \"sl\" (Slovene), \"sv\" (Swedish), \"tr\" (Turkish), \"zh-rCN\"\r\n (Chinese: China), \"zh-rTW\" (Chinese: Taiwan, Province of China) [MissingTransla\r\ntion]\r\n    <string name=\"app_name\">jQuery Mobile for Cordova Edition</string>\r\n            ~~~~~~~~~~~~~~~\r\nD:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values\\strings\r\n.xml:4: Error: \"launcher_name\" is not translated in \"ar\" (Arabic), \"bg\" (Bulgari\r\nan), \"ca\" (Catalan), \"cs\" (Czech), \"da\" (Danish), \"de\" (German), \"el\" (Greek), \"\r\nes\" (Spanish), \"eu\" (Basque), \"fi\" (Finnish), \"fr\" (French), \"he\" (Hebrew), \"hi\"\r\n (Hindi), \"hu\" (Hungarian), \"id\" (Indonesian), \"it\" (Italian), \"iw\" (Hebrew), \"j\r\na\" (Japanese), \"ko\" (Korean), \"nl\" (Dutch), \"pl\" (Polish), \"pt\" (Portuguese), \"r\r\nu\" (Russian), \"sk\" (Slovak), \"sl\" (Slovene), \"sv\" (Swedish), \"tr\" (Turkish), \"zh\r\n-rCN\" (Chinese: China), \"zh-rTW\" (Chinese: Taiwan, Province of China) [MissingTr\r\nanslation]\r\n    <string name=\"launcher_name\">@string/app_name</string>\r\n            ~~~~~~~~~~~~~~~~~~~~\r\nD:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values\\strings\r\n.xml:5: Error: \"activity_name\" is not translated in \"ar\" (Arabic), \"bg\" (Bulgari\r\nan), \"ca\" (Catalan), \"cs\" (Czech), \"da\" (Danish), \"de\" (German), \"el\" (Greek), \"\r\nes\" (Spanish), \"eu\" (Basque), \"fi\" (Finnish), \"fr\" (French), \"he\" (Hebrew), \"hi\"\r\n (Hindi), \"hu\" (Hungarian), \"id\" (Indonesian), \"it\" (Italian), \"iw\" (Hebrew), \"j\r\na\" (Japanese), \"ko\" (Korean), \"nl\" (Dutch), \"pl\" (Polish), \"pt\" (Portuguese), \"r\r\nu\" (Russian), \"sk\" (Slovak), \"sl\" (Slovene), \"sv\" (Swedish), \"tr\" (Turkish), \"zh\r\n-rCN\" (Chinese: China), \"zh-rTW\" (Chinese: Taiwan, Province of China) [MissingTr\r\nanslation]\r\n    <string name=\"activity_name\">@string/launcher_name</string>\r\n            ~~~~~~~~~~~~~~~~~~~~\r\n\r\n   Explanation for issues of type \"MissingTranslation\":\r\n   If an application has more than one locale, then all the strings declared\r\n   in one language should also be translated in all other languages.\r\n\r\n   If the string should not be translated, you can add the attribute\r\n   translatable=\"false\" on the <string> element, or you can define all your\r\n   non-translatable strings in a resource file called donottranslate.xml. Or,\r\n   you can ignore the issue with a tools:ignore=\"MissingTranslation\"\r\n   attribute.\r\n\r\n   By default this detector allows regions of a language to just provide a\r\n   subset of the strings and fall back to the standard language strings. You\r\n   can require all regions to provide a full translation by setting the\r\n   environment variable ANDROID_LINT_COMPLETE_REGIONS.\r\n\r\n   You can tell lint (and other tools) which language is the default language\r\n   in your res/values/ folder by specifying tools:locale=\"languageCode\" for\r\n   the root <resources> element in your resource file. (The tools prefix\r\n   refers to the namespace declaration http://schemas.android.com/tools.)\r\n\r\nD:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-ar\\stri\r\nngs.xml:64: Error: \"menu_settings\" is translated here but not found in default l\r\nocale [ExtraTranslation]\r\n  <string name=\"menu_settings\">???????</string>\r\n          ~~~~~~~~~~~~~~~~~~~~\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-bg\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-ca\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-cs\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-da\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-de\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-el\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-es\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-eu\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-fi\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-fr\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-he\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-hi\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-hu\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-id\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-it\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-iw\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-ja\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-ko\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-nl\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-pl\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-pt\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-ru\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-sk\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-sl\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-sv\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-tr\\\r\nstrings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-zh-\r\nrCN\\strings.xml:64: Also translated here\r\n    D:\\software\\XAMPP\\htdocs\\cordova_build\\jqmc\\platforms\\android\\res\\values-zh-\r\nrTW\\strings.xml:64: Also translated here\r\n\r\n   Explanation for issues of type \"ExtraTranslation\":\r\n   If a string appears in a specific language translation file, but there is\r\n   no corresponding string in the default locale, then this string is probably\r\n   unused. (It's technically possible that your application is only intended\r\n   to run in a specific locale, but it's still a good idea to provide a\r\n   fallback.).\r\n\r\n   Note that these strings can lead to crashes if the string is looked up on\r\n   any locale not providing a translation, so it's important to clean them\r\n   up.\r\n\r\n5 errors, 0 warnings\r\n                                                                               :\r\nlintVitalRelease                                                               F\r\nAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':lintVitalRelease'.\r\n> Lint found fatal errors while assembling a release target.\r\n\r\nTo proceed, either fix the issues identified by lint, or modify your build scrip\r\nt as follows:\r\n...\r\nandroid {\r\n    lintOptions {\r\n        checkReleaseBuilds false\r\n        // Or, if you prefer, you can continue to check for errors in release bu\r\nilds,\r\n        // but continue the build even when errors are found:\r\n        abortOnError false\r\n    }\r\n}\r\n...\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug\r\noption to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 6.831 secs\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wildabeast/BarcodeScanner/issues/comments/174939942","html_url":"https://github.com/wildabeast/BarcodeScanner/issues/276#issuecomment-174939942","issue_url":"https://api.github.com/repos/wildabeast/BarcodeScanner/issues/276","id":174939942,"user":{"login":"FrancescoMussi","id":5312907,"avatar_url":"https://avatars.githubusercontent.com/u/5312907?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescoMussi","html_url":"https://github.com/FrancescoMussi","followers_url":"https://api.github.com/users/FrancescoMussi/followers","following_url":"https://api.github.com/users/FrancescoMussi/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoMussi/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoMussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoMussi/subscriptions","organizations_url":"https://api.github.com/users/FrancescoMussi/orgs","repos_url":"https://api.github.com/users/FrancescoMussi/repos","events_url":"https://api.github.com/users/FrancescoMussi/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoMussi/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T10:06:51Z","updated_at":"2016-01-26T10:06:51Z","body":"Had the same problem. @isocra solution worked for me!"}}