User Tag List

Results 1 to 5 of 5

Thread: FAILURE: Build failed with an exception.

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mystr's Avatar
    Join Date
    May 2014
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    FAILURE: Build failed with an exception.

    Hello, like some users over here, I had that error message when I tried to build my application.

    The application is empty.
    API : 29
    Minimum version : 8.0
    Target version : 9.0

    Here is the log :


    > Configure project :app
    WARNING: The option 'android.useDeprecatedNdk' is deprecated.
    The current default is 'false'.
    It has been removed from the current version of the Android Gradle plugin.
    NdkCompile is no longer supported

    > Task :app:preBuild UP-TO-DATE
    > Task :app:preDebugBuild UP-TO-DATE
    > Task :app:compileDebugAidl NO-SOURCE
    > Task :app:compileDebugRenderscript NO-SOURCE
    > Task :app:generateDebugBuildConfig
    > Task :app:generateDebugResValues
    > Task :app:generateDebugResources

    > Task :app:mergeDebugResources FAILED
    C:\Users\rmlp3\AppData\Local\Temp\And9980.tmp\app\ src\main\res\values\strings.xml:3:29: Resource and asset merger: La référence à l'entité "r" doit se terminer par le délimiteur ';'.
    org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 29; La référence à l'entité "r" doit se terminer par le délimiteur ';'.
    at com.sun.org.apache.xerces.internal.util.ErrorHandl erWrapper.createSAXParseException(ErrorHandlerWrap per.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandl erWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorRe porter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorRe porter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner .reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanEntityReference(XMLDocume ntFragmentScannerImpl.java:1850)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl$FragmentContentDriver.next(XM LDocumentFragmentScannerImpl.java:3061)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocum entScannerImpl.next(XMLNSDocumentScannerImpl.java: 112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanDocument(XMLDocumentFragm entScannerImpl.java:505)
    at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(XML11Configuration.java:771)
    at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl.parse(SAXParserImpl.java:327)
    at com.android.utils.PositionXmlParser.parseInternal( PositionXmlParser.java:252)
    at com.android.utils.PositionXmlParser.parseInternal( PositionXmlParser.java:201)
    at com.android.utils.PositionXmlParser.parse(Position XmlParser.java:148)
    at com.android.utils.PositionXmlParser.parse(Position XmlParser.java:80)
    at com.android.utils.PositionXmlParser.parse(Position XmlParser.java:111)
    at com.android.ide.common.resources.ValueResourcePars er2.parseDocument(ValueResourceParser2.java:212)
    at com.android.ide.common.resources.ValueResourcePars er2.parseFile(ValueResourceParser2.java:91)
    at com.android.ide.common.resources.ResourceSet.creat eResourceFile(ResourceSet.java:558)
    at com.android.ide.common.resources.ResourceSet.parse Folder(ResourceSet.java:489)
    at com.android.ide.common.resources.ResourceSet.readS ourceFolder(ResourceSet.java:295)
    at com.android.ide.common.resources.DataSet.loadFromF iles(DataSet.java:251)
    at com.android.build.gradle.tasks.MergeResources.lamb da$doFullTaskAction$0(MergeResources.java:276)
    at com.android.build.gradle.internal.tasks.Blocks.rec ordSpan(Blocks.java:58)
    at com.android.build.gradle.tasks.MergeResources.doFu llTaskAction(MergeResources.java:270)
    at com.android.build.gradle.internal.tasks.Incrementa lTask.handleIncrementalInputs(IncrementalTask.kt:1 08)
    at com.android.build.gradle.internal.tasks.Incrementa lTask.access$handleIncrementalInputs(IncrementalTa sk.kt:64)
    at com.android.build.gradle.internal.tasks.Incrementa lTask$taskAction$$inlined$recordTaskAction$1.invok e(AndroidVariantTask.kt:73)
    at com.android.build.gradle.internal.tasks.Incrementa lTask$taskAction$$inlined$recordTaskAction$1.invok e(AndroidVariantTask.kt:34)
    at com.android.build.gradle.internal.tasks.Blocks.rec ordSpan(Blocks.java:91)
    at com.android.build.gradle.internal.tasks.Incrementa lTask.taskAction$gradle(IncrementalTask.kt:135)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.gradle.internal.reflect.JavaMethod.invoke(Java Method.java:104)
    at org.gradle.api.internal.project.taskfactory.Increm entalTaskInputsTaskAction.doExecute(IncrementalTas kInputsTaskAction.java:47)
    at org.gradle.api.internal.project.taskfactory.Standa rdTaskAction.execute(StandardTaskAction.java:42)
    at org.gradle.api.internal.project.taskfactory.Abstra ctIncrementalTaskAction.execute(AbstractIncrementa lTaskAction.java:25)
    at org.gradle.api.internal.project.taskfactory.Standa rdTaskAction.execute(StandardTaskAction.java:28)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter$3.run(ExecuteActionsTaskExecuter. java:568)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor$RunnableBuildOperationWorker.execute(De faultBuildOperationExecutor.java:402)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor$RunnableBuildOperationWorker.execute(De faultBuildOperationExecutor.java:394)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor$1.execute(DefaultBuildOperationExecutor .java:165)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.execute(DefaultBuildOperationExecutor.j ava:250)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.execute(DefaultBuildOperationExecutor.j ava:158)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.run(DefaultBuildOperationExecutor.java: 92)
    at org.gradle.internal.operations.DelegatingBuildOper ationExecutor.run(DelegatingBuildOperationExecutor .java:31)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.executeAction(ExecuteActionsTaskE xecuter.java:553)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.executeActions(ExecuteActionsTask Executer.java:536)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.access$300(ExecuteActionsTaskExec uter.java:109)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter$TaskExecution.executeWithPrevious OutputFiles(ExecuteActionsTaskExecuter.java:276)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter$TaskExecution.execute(ExecuteActi onsTaskExecuter.java:265)
    at org.gradle.internal.execution.steps.ExecuteStep.la mbda$execute$0(ExecuteStep.java:32)
    at java.util.Optional.map(Optional.java:215)
    at org.gradle.internal.execution.steps.ExecuteStep.ex ecute(ExecuteStep.java:32)
    at org.gradle.internal.execution.steps.ExecuteStep.ex ecute(ExecuteStep.java:26)
    at org.gradle.internal.execution.steps.CleanupOutputs Step.execute(CleanupOutputsStep.java:63)
    at org.gradle.internal.execution.steps.CleanupOutputs Step.execute(CleanupOutputsStep.java:35)
    at org.gradle.internal.execution.steps.ResolveInputCh angesStep.execute(ResolveInputChangesStep.java:49)
    at org.gradle.internal.execution.steps.ResolveInputCh angesStep.execute(ResolveInputChangesStep.java:34)
    at org.gradle.internal.execution.steps.CancelExecutio nStep.execute(CancelExecutionStep.java:43)
    at org.gradle.internal.execution.steps.TimeoutStep.ex ecuteWithoutTimeout(TimeoutStep.java:73)
    at org.gradle.internal.execution.steps.TimeoutStep.ex ecute(TimeoutStep.java:54)
    at org.gradle.internal.execution.steps.CatchException Step.execute(CatchExceptionStep.java:34)
    at org.gradle.internal.execution.steps.CreateOutputsS tep.execute(CreateOutputsStep.java:44)
    at org.gradle.internal.execution.steps.SnapshotOutput sStep.execute(SnapshotOutputsStep.java:54)
    at org.gradle.internal.execution.steps.SnapshotOutput sStep.execute(SnapshotOutputsStep.java:38)
    at org.gradle.internal.execution.steps.BroadcastChang ingOutputsStep.execute(BroadcastChangingOutputsSte p.java:49)
    at org.gradle.internal.execution.steps.CacheStep.exec uteWithoutCache(CacheStep.java:153)
    at org.gradle.internal.execution.steps.CacheStep.exec ute(CacheStep.java:67)
    at org.gradle.internal.execution.steps.CacheStep.exec ute(CacheStep.java:41)
    at org.gradle.internal.execution.steps.StoreExecution StateStep.execute(StoreExecutionStateStep.java:44)
    at org.gradle.internal.execution.steps.StoreExecution StateStep.execute(StoreExecutionStateStep.java:33)
    at org.gradle.internal.execution.steps.RecordOutputsS tep.execute(RecordOutputsStep.java:38)
    at org.gradle.internal.execution.steps.RecordOutputsS tep.execute(RecordOutputsStep.java:24)
    at org.gradle.internal.execution.steps.SkipUpToDateSt ep.executeBecause(SkipUpToDateStep.java:92)
    at org.gradle.internal.execution.steps.SkipUpToDateSt ep.lambda$execute$0(SkipUpToDateStep.java:85)
    at java.util.Optional.map(Optional.java:215)
    at org.gradle.internal.execution.steps.SkipUpToDateSt ep.execute(SkipUpToDateStep.java:55)
    at org.gradle.internal.execution.steps.SkipUpToDateSt ep.execute(SkipUpToDateStep.java:39)
    at org.gradle.internal.execution.steps.ResolveChanges Step.execute(ResolveChangesStep.java:76)
    at org.gradle.internal.execution.steps.ResolveChanges Step.execute(ResolveChangesStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSna pshottingInputsFinishedStep.execute(MarkSnapshotti ngInputsFinishedStep.java:36)
    at org.gradle.internal.execution.steps.legacy.MarkSna pshottingInputsFinishedStep.execute(MarkSnapshotti ngInputsFinishedStep.java:26)
    at org.gradle.internal.execution.steps.ResolveCaching StateStep.execute(ResolveCachingStateStep.java:94)
    at org.gradle.internal.execution.steps.ResolveCaching StateStep.execute(ResolveCachingStateStep.java:49)
    at org.gradle.internal.execution.steps.CaptureStateBe foreExecutionStep.execute(CaptureStateBeforeExecut ionStep.java:79)
    at org.gradle.internal.execution.steps.CaptureStateBe foreExecutionStep.execute(CaptureStateBeforeExecut ionStep.java:53)
    at org.gradle.internal.execution.steps.ValidateStep.e xecute(ValidateStep.java:74)
    at org.gradle.internal.execution.steps.SkipEmptyWorkS tep.lambda$execute$2(SkipEmptyWorkStep.java:78)
    at java.util.Optional.orElseGet(Optional.java:267)
    at org.gradle.internal.execution.steps.SkipEmptyWorkS tep.execute(SkipEmptyWorkStep.java:78)
    at org.gradle.internal.execution.steps.SkipEmptyWorkS tep.execute(SkipEmptyWorkStep.java:34)
    at org.gradle.internal.execution.steps.legacy.MarkSna pshottingInputsStartedStep.execute(MarkSnapshottin gInputsStartedStep.java:39)
    at org.gradle.internal.execution.steps.LoadExecutionS tateStep.execute(LoadExecutionStateStep.java:40)
    at org.gradle.internal.execution.steps.LoadExecutionS tateStep.execute(LoadExecutionStateStep.java:28)
    at org.gradle.internal.execution.impl.DefaultWorkExec utor.execute(DefaultWorkExecutor.java:33)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.executeIfValid(ExecuteActionsTask Executer.java:192)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.execute(ExecuteActionsTaskExecute r.java:184)
    at org.gradle.api.internal.tasks.execution.CleanupSta leOutputsExecuter.execute(CleanupStaleOutputsExecu ter.java:109)
    at org.gradle.api.internal.tasks.execution.FinalizePr opertiesTaskExecuter.execute(FinalizePropertiesTas kExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTas kExecutionModeExecuter.execute(ResolveTaskExecutio nModeExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWi thNoActionsExecuter.execute(SkipTaskWithNoActionsE xecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIf TaskExecuter.execute(SkipOnlyIfTaskExecuter.java:5 6)
    at org.gradle.api.internal.tasks.execution.CatchExcep tionTaskExecuter.execute(CatchExceptionTaskExecute r.java:36)
    at org.gradle.api.internal.tasks.execution.EventFirin gTaskExecuter$1.executeTask(EventFiringTaskExecute r.java:77)
    at org.gradle.api.internal.tasks.execution.EventFirin gTaskExecuter$1.call(EventFiringTaskExecuter.java: 55)
    at org.gradle.api.internal.tasks.execution.EventFirin gTaskExecuter$1.call(EventFiringTaskExecuter.java: 52)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor$CallableBuildOperationWorker.execute(De faultBuildOperationExecutor.java:416)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor$CallableBuildOperationWorker.execute(De faultBuildOperationExecutor.java:406)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor$1.execute(DefaultBuildOperationExecutor .java:165)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.execute(DefaultBuildOperationExecutor.j ava:250)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.execute(DefaultBuildOperationExecutor.j ava:158)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.call(DefaultBuildOperationExecutor.java :102)
    at org.gradle.internal.operations.DelegatingBuildOper ationExecutor.call(DelegatingBuildOperationExecuto r.java:36)
    at org.gradle.api.internal.tasks.execution.EventFirin gTaskExecuter.execute(EventFiringTaskExecuter.java :52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.ex ecute(LocalTaskNodeExecutor.java:41)
    at org.gradle.execution.taskgraph.DefaultTaskExecutio nGraph$InvokeNodeExecutorsAction.execute(DefaultTa skExecutionGraph.java:372)
    at org.gradle.execution.taskgraph.DefaultTaskExecutio nGraph$InvokeNodeExecutorsAction.execute(DefaultTa skExecutionGraph.java:359)
    at org.gradle.execution.taskgraph.DefaultTaskExecutio nGraph$BuildOperationAwareExecutionAction.execute( DefaultTaskExecutionGraph.java:352)
    at org.gradle.execution.taskgraph.DefaultTaskExecutio nGraph$BuildOperationAwareExecutionAction.execute( DefaultTaskExecutionGraph.java:338)
    at org.gradle.execution.plan.DefaultPlanExecutor$Exec utorWorker.lambda$run$0(DefaultPlanExecutor.java:1 27)
    at org.gradle.execution.plan.DefaultPlanExecutor$Exec utorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$Exec utorWorker.executeNextNode(DefaultPlanExecutor.jav a:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$Exec utorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.internal.concurrent.ExecutorPolicy$Catc hAndRecordFailures.onExecute(ExecutorPolicy.java:6 4)
    at org.gradle.internal.concurrent.ManagedExecutorImpl $1.run(ManagedExecutorImpl.java:48)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$M anagedThreadRunnable.run(ThreadFactoryImpl.java:56 )
    at java.lang.Thread.run(Thread.java:748)


    > Task :app:javaPreCompileDebug

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:mergeDebugResources'.
    > C:\Users\rmlp3\AppData\Local\Temp\And9980.tmp\app\ src\main\res\values\strings.xml:3:29: Error: La référence à l'entité "r" doit se terminer par le délimiteur ';'.

    * 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 1s
    4 actionable tasks: 4 executed

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,701
    Mentioned
    292 Post(s)
    Tagged
    4 Thread(s)
    what is the name or title of the project?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mystr's Avatar
    Join Date
    May 2014
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The name is 7m&r

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,701
    Mentioned
    292 Post(s)
    Tagged
    4 Thread(s)
    & is not an accepted chars per se you need to used it encoded try --->7m & r
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mystr's Avatar
    Join Date
    May 2014
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It worked ! Thank you very much !

Similar Threads

  1. Replies: 5
    Last Post: 13th February 2020, 05:40 AM
  2. Build failed with an exception.
    By VoyVivika in forum Android Export Module 2.5
    Replies: 3
    Last Post: 9th November 2019, 01:20 AM
  3. AndroidMicrophone.mfx causes build failure?
    By steakor in forum Android Export Module 2.5
    Replies: 8
    Last Post: 17th May 2017, 04:32 PM
  4. SWF Export Failure occured - Standard Failure Message
    By CrazySession in forum Flash Export Module 2.5
    Replies: 2
    Last Post: 3rd January 2015, 01:48 PM
  5. Build failure for SDK?
    By jayklik in forum Extension Development
    Replies: 6
    Last Post: 2nd September 2006, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •