Execution failed for task ':App:processReleaseManifest'.

Hi,
I have the last build of corona ( [Solar2D 2020.3604]).

When I try to build android (target app store= none; Keystore = debug; create live build) I recevie this error code 256:

  • What went wrong:
    Execution failed for task ‘:App:processReleaseManifest’.

com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 71; columnNumber: 5; Il valore dell’attributo “android:value” associato a un tipo di elemento “meta-data” non deve essere contenere il carattere ‘<’.

I have an Italian Mc.
Were is the ‘ReleaseManifest!’ ?

Here the complete log I receive:

Program starting as ‘"/Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" -no-console YES -debug 1 -project “/Users/rre/Documents/Android/Pong/main.lua”’.
Program ‘Corona Simulator’ started in ‘/Users/rre/Documents/Android/Pong’ (pid: 48910).

Copyright © 2009-2020 C o r o n a L a b s I n c .
Version: 3.0.0
Build: 2020.3604

Copyright © 2009-2020 C o r o n a L a b s I n c .
Version: 3.0.0
Build: 2020.3604
Loading project from: ~/Documents/Android/Pong
Project sandbox folder: ~/Library/Application Support/Corona Simulator/Pong-DD4653EA0C1D7978F0CFADDF5D0C37DC
Platform: GenericAndroidDevice / x86_64 / 10.15.6 / NVIDIA GeForce GT 750M OpenGL Engine / 2.1 NVIDIA-14.0.32 355.11.11.10.10.143 / 2020.3604 / it-IT | IT | en_IT | en
Debugging session started in ‘/Users/rre/Documents/Android/Pong/’.
Note: native.setProperty(“androidSystemUiVisibility”, value) does not work in the Simulator
WARNING: disabling the idle timer can reduce battery life on the device
WARNING: Simulator does not support accelerometer events
Using java version “1.8.0_131”
Java™ SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot™ 64-Bit Server VM (build 25.131-b11, mixed mode)
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Using java version “1.8.0_131”
Java™ SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot™ 64-Bit Server VM (build 25.131-b11, mixed mode)
Using java version “1.8.0_131”
Java™ SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot™ 64-Bit Server VM (build 25.131-b11, mixed mode)

BUILD SUCCESSFUL
Total time: 1 second

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:App:processReleaseManifest’.

com.android.manifmerger.ManifestMerger2$MergeFailureException: org.xml.sax.SAXParseException; lineNumber: 71; columnNumber: 5; Il valore dell’attributo “android:value” associato a un tipo di elemento “meta-data” non deve essere contenere il carattere ‘<’.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 11s
Android build failed (256) after 15 seconds
ERROR: Build Failed: Error code: 256

any Idea ?
Thanks

Renato

What does your build settings look like?

1 Like

Ciao Agramonte,

my settings are the same, I nothing changed from the last build :

thank you
Renato

I found the error!

in build_settings I changed this

applicationChildElements =
{
  [[
    <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
    android:value="ca-app-pub-8932051454535909~3367694123" />  -- replace with your app id. See: https://goo.gl/fQ2neu,
  ]]
},

with the wrong

<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-8932051454535909~3367694123/>  -- replace with 

deleted the apostrophe!!

thank you!
Renato