Hi,
I´m in the step 3 in the setup process for HAT 1.14.3. When the companion app is in the building process, the operation is aborted with errors.Image may be NSFW.
Clik here to view.
The entire error message from the console is:
GET /api/companionapp/log 200 4.583 ms - -
Line:
Line::processDebugManifestC:\hat\SAP_HAT_local-1.14.3\WebIdeCompanion\companiona
pp\CompanionApp\platforms\android\AndroidManifest.xml:42:9-224 Error:
Line: Element activity#com.sap.mp.cordova.plugins.apppreferences.PrefsActivity
at AndroidManifest.xml:42:9-224 duplicated with element declared at AndroidMani
fest.xml:12:9-212
Line:C:\hat\SAP_HAT_local-1.14.3\WebIdeCompanion\companionapp\CompanionApp\platf
orms\android\AndroidManifest.xml Error:
Line: Validation failed, exiting
Line:
Line:
Line:See http://g.co/androidstudio/manifest-merger for more information about th
e manifest merger.
Line:
Line::processDebugManifest FAILED
Line:
Line:FAILURE: Build failed with an exception.
Line:
Line:* What went wrong:
Line:Execution failed for task ':processDebugManifest'.
Line:> Manifest merger failed with multiple errors, see logs
Line:
Line:* Try:
Line:Run with --stacktrace option to get the stack trace. Run with --info or --d
ebug option to get more log output.
Line:
Line:BUILD FAILED
Line:
Line:Total time: 27.932 secs
Send heartbeat
GET /api/companionapp/log 200 5.798 ms - -
The build script exited unexpectedly!
Line:Error: Error code 1 for command: cmd with args: /s,/c,"C:\hat\SAP_HAT_local
-1.14.3\WebIdeCompanion\companionapp\CompanionApp\platforms\android\gradlew cdvB
uildDebug -b C:\hat\SAP_HAT_local-1.14.3\WebIdeCompanion\companionapp\CompanionA
pp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecat
edNdk=true"
unexpectedExit 1
Line:
unexpectedExit 1
Line:The build process for android exited unexpectedly!
unexpectedExit 1
Line:The system cannot find the path specified.
unexpectedExit 1
unexpectedExit 2
****************
Unexpected exit: The node process of the build script exited with code 1.
****************
Stream stopped due to unexpected exit of utility
GET /api/companionapp/log 200 13.404 ms - -
GET /api/companionapp/buildapp 200 322246.014 ms - 105
POST /api/util/setresult/ - - ms - -
POST /api/util/setresult/ - - ms - -
----------------------------------------------------------------------------------------------------------------------------------------
Any clue about how to fix it?
Thank you,