Hi ,
Hi all,
I am trying to install the Hybrid App Toolkit (v1.7.2)
However, I got a problem at the "3. Build Hybrid Companion App" section: I pass all the checks but the "3. Build the companion app", reporting this error message:
ERROR:
The build script exited unexpectedly!
:CordovaLib:mergeDebugJniLibFolders :CordovaLib:transformNative_libsWithMergeJniLibsForDebug :CordovaLib:transformNative_libsWithSyncJniLibsForDebug :CordovaLib:bundleDebug :CordovaLib:preReleaseBuild UP-TO-DATE :CordovaLib:compileReleaseNdk UP-TO-DATE :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.). Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. :CordovaLib:processReleaseJavaRes :CordovaLib:transformResourcesWithMergeJavaResForRelease :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease ImmutableDirectoryInput{name=main, file=C:\SAP\SAP_HAT_local-1.12.5\WebIdeCompanion\companionapp\CompanionApp\platforms\android\CordovaLib\build\intermediates\transforms\mergeJavaRes\release\folders\2\3\main, contentTypes=RESOURCES, scopes=PROJECT,PROJECT_LOCAL_DEPS, changedFiles={}} ImmutableDirectoryInput{name=27ed55f32ee64d42f9e260fdd375e16fb914f5bb, file=C:\SAP\SAP_HAT_local-1.12.5\WebIdeCompanion\companionapp\CompanionApp\platforms\android\CordovaLib\build\intermediates\classes\release, contentTypes=CLASSES, scopes=PROJECT, changedFiles={}} :CordovaLib:mergeReleaseJniLibFolders :CordovaLib:transformNative_libsWithMergeJniLibsForRelease :CordovaLib:transformNative_libsWithSyncJniLibsForRelease :CordovaLib:bundleRelease :prepareAfariaProvider3100Library :prepareAndroidCordovaLibUnspecifiedDebugLibrary :prepareAuthproxyAndroid3100Library :prepareComAndroidSupportSupportV42200Library :prepareDebugDependencies :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :mergeDebugShaders :compileDebugShaders :generateDebugAssets :mergeDebugAssets :generateDebugResValues :generateDebugResources :mergeDebugResources :processDebugManifestC:\SAP\SAP_HAT_local-1.12.5\WebIdeCompanion\companionapp\CompanionApp\platforms\android\AndroidManifest.xml:34:9-224 Error: Element activity#com.sap.mp.cordova.plugins.apppreferences.PrefsActivity at AndroidManifest.xml:34:9-224 duplicated with element declared at AndroidManifest.xml:12:9-212 C:\SAP\SAP_HAT_local-1.12.5\WebIdeCompanion\companionapp\CompanionApp\platforms\android\AndroidManifest.xml Error: Validation failed, exiting See http://g.co/androidstudio/manifest-merger for more information about the manifest merger. :processDebugManifest FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugManifest'. > Manifest merger failed with multiple errors, see logs * 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: 11.302 secs Error: cmd: 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. C:\SAP\SAP_HAT_local-1.12.5\WebIdeCompanion\companionapp\CompanionApp\platforms\android\AndroidManifest.xml:34:9-224 Error: Element activity#com.sap.mp.cordova.plugins.apppreferences.PrefsActivity at AndroidManifest.xml:34:9-224 duplicated with element declared at AndroidManifest.xml:12:9-212 C:\SAP\SAP_HAT_local-1.12.5\WebIdeCompanion\companionapp\CompanionApp\platforms\android\AndroidManifest.xml Error: Validation failed, exiting FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugManifest'. > Manifest merger failed with multiple errors, see logs * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. The build process for android exited unexpectedly! The system cannot find the path specified. cmd error The node process of the build script exited with code 1.
Any suggestion would be highly appreciated!
Thank You in advance,
Regards,
Toney C Benoy