I try your solution for creating the file of licences manually but this time it output me this error:
[ERROR] An error occurred while running cordova build android (exit code 1):
(truncated) ... dovaLib:bundleDebug UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl UP-TO-DATE
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders UP-TO-DATE
:CordovaLib:compileReleaseShaders UP-TO-DATE
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript UP-TO-DATE
:CordovaLib:generateReleaseResValues UP-TO-DATE
:CordovaLib:generateReleaseResources UP-TO-DATE
:CordovaLib:packageReleaseResources UP-TO-DATE
:CordovaLib:processReleaseManifest UP-TO-DATE
:CordovaLib:generateReleaseBuildConfig UP-TO-DATE
:CordovaLib:processReleaseResources UP-TO-DATE
:CordovaLib:generateReleaseSources UP-TO-DATE
:CordovaLib:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:CordovaLib:mergeReleaseJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:CordovaLib:bundleRelease UP-TO-DATE
:prepareComAndroidSupportAnimatedVectorDrawable2421Library UP-TO-DATE
:prepareComAndroidSupportAppcompatV72421Library UP-TO-DATE
:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:prepareComAndroidSupportSupportCompat2421Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUi2421Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUtils2421Library UP-TO-DATE
:prepareComAndroidSupportSupportFragment2421Library UP-TO-DATE
:prepareComAndroidSupportSupportMediaCompat2421Library UP-TO-DATE
:prepareComAndroidSupportSupportV42421Library UP-TO-DATE
:prepareComAndroidSupportSupportVectorDrawable2421Library UP-TO-DATE
:prepareComCommonswareCwacCameraCamera06254Library UP-TO-DATE
:prepareIoScanbotDetector154Library UP-TO-DATE
:prepareIoScanbotLicensing131Library UP-TO-DATE
:prepareIoScanbotSdkBase1226Library UP-TO-DATE
:prepareIoScanbotSdkPackage11226Library UP-TO-DATE
:prepareIoScanbotSdkPackage21226Library UP-TO-DATE
:prepareIoScanbotTessTwo112SNAPSHOTLibrary UP-TO-DATE
:prepareOrgApacheCordovaCordovaLib623DebugLibrary UP-TO-DATE
:prepareDebugDependencies
:compileDebugAidl UP-TO-DATE
:compileDebugRenderscript UP-TO-DATE
:generateDebugBuildConfig UP-TO-DATE
:generateDebugResValues UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources
Error: Failed to crunch file C:\Users\mohmmed dhaif\Desktop\ionic 2\44\scanbot-sdk-example-ionic2-master
(2)\scanbot-sdk-example-ionic2-master\platforms\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
into C:\Users\mohmmed dhaif\Desktop\ionic 2\44\scanbot-sdk-example-ionic2-master
(2)\scanbot-sdk-example-ionic2-master\platforms\android\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeDebugResources'.
> Error: Failed to crunch file C:\Users\mohmmed dhaif\Desktop\ionic 2\44\scanbot-sdk-example-ionic2-master
(2)\scanbot-sdk-example-ionic2-master\platforms\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
into C:\Users\mohmmed dhaif\Desktop\ionic 2\44\scanbot-sdk-example-ionic2-master
(2)\scanbot-sdk-example-ionic2-master\platforms\android\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
* 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: 13.368 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeDebugResources'.
> Error: Failed to crunch file C:\Users\mohmmed dhaif\Desktop\ionic 2\44\scanbot-sdk-example-ionic2-master
(2)\scanbot-sdk-example-ionic2-master\platforms\android\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
into C:\Users\mohmmed dhaif\Desktop\ionic 2\44\scanbot-sdk-example-ionic2-master
(2)\scanbot-sdk-example-ionic2-master\platforms\android\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
as i can see from above that there is file can't be crunched.. i try to copy this file to specified bath but it won't work and i don't know what i suppose to do
sorry for putting you with me in this trouble