User Tag List

Results 1 to 8 of 8

Thread: Build 294.10 Android apk build fail

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Sep 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Build 294.10 Android apk build fail

    I get the below error when building apk file.

    It never used to be an issue before updating to build 294.10.

    The only object used are active objects and backdrops in game - no other objects.

    Please help.

    FAILURE: Build failed with an exception.

    * What went wrong:
    A problem occurred configuring root project 'And14D7.tmp'.
    > Could not resolve all artifacts for configuration ':classpath'.
    > Could not download jopt-simple-4.9.jar (net.sf.jopt-simple:jopt-simple:4.9)
    > Could not get resource 'https://repo.maven.apache.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar'.
    > Could not HEAD 'https://repo.maven.apache.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar'.
    > Received fatal alert: handshake_failure
    > Could not download tink-1.3.0-rc2.jar (com.google.crypto.tink:tink:1.3.0-rc2)
    > Could not get resource 'https://repo.maven.apache.org/maven2/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.jar'.
    > Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/crypto/tink/tink/1.3.0-rc2/tink-1.3.0-rc2.jar'.
    > Received fatal alert: handshake_failure

    * 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 3s

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,640
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    What JDK do you use? (check in your preferences) It should be something like "C:\Program Files\Android\Android Studio\jre"

    If you already use the JDK provided with Android Studio, maybe check if build tools for the build API of your app are installed in Android Studio?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Sep 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My setup in preferences is all good:

    JDK
    C:\Program Files\Android\Android Studio\jre

    SDK
    C:\Users\User\AppData\Local\Android\Sdk

    I updated the API and build tools with Android Studio and repeat tried building my application. I tried the top 3 latest build APIs (33, 32 & 31) and build targets 12 and 11.

    I now get the following error output:

    > 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:javaPreCompileDebug
    > Task :app:checkDebugAarMetadata
    > Task :app:generateDebugResValues
    > Task :app:generateDebugResources
    > Task :app:createDebugCompatibleScreenManifests
    > Task :app:extractDeepLinksDebug
    > Task :app:processDebugMainManifest
    > Task :app:processDebugManifest
    > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
    > Task :app:mergeDebugShaders
    > Task :app:compileDebugShaders NO-SOURCE
    > Task :app:generateDebugAssets UP-TO-DATE
    > Task :app:mergeDebugAssets
    > Task :app:compressDebugAssets
    > Task :app:processDebugJavaRes NO-SOURCE
    > Task :app:mergeDebugResources
    > Task :app:checkDebugDuplicateClasses
    > Task :app:mergeDebugJavaResource
    > Task :app:mergeLibDexDebug
    > Task :app:desugarDebugFileDependencies
    > Task :app:mergeDebugJniLibFolders
    > Task :app:validateSigningDebug
    > Task :app:writeDebugAppMetadata
    > Task :app:writeDebugSigningConfigVersions
    > Task :app:processDebugManifestForPackage
    > Task :app:mergeExtDexDebug
    > Task :app:processDebugResources
    > Task :app:mergeDebugNativeLibs

    > Task :app:compileDebugJavaWithJavac FAILED
    An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
    java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImp l)
    at com.sun.tools.javac.util.Assert.error(Assert.java: 133)
    at com.sun.tools.javac.code.TypeAnnotations.annotatio nType(TypeAnnotations.java:231)
    at com.sun.tools.javac.code.TypeAnnotations$TypeAnnot ationPositions.separateAnnotationsKinds(TypeAnnota tions.java:294)
    at com.sun.tools.javac.code.TypeAnnotations$TypeAnnot ationPositions.visitMethodDef(TypeAnnotations.java :1066)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accep t(JCTree.java:778)
    at com.sun.tools.javac.tree.TreeScanner.scan(TreeScan ner.java:49)
    at com.sun.tools.javac.code.TypeAnnotations$TypeAnnot ationPositions.scan(TypeAnnotations.java:275)
    at com.sun.tools.javac.tree.TreeScanner.scan(TreeScan ner.java:57)
    at com.sun.tools.javac.code.TypeAnnotations$TypeAnnot ationPositions.visitClassDef(TypeAnnotations.java: 1042)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept (JCTree.java:693)
    at com.sun.tools.javac.tree.TreeScanner.scan(TreeScan ner.java:49)
    at com.sun.tools.javac.code.TypeAnnotations$TypeAnnot ationPositions.scan(TypeAnnotations.java:275)
    at com.sun.tools.javac.code.TypeAnnotations$1.run(Typ eAnnotations.java:127)
    at com.sun.tools.javac.comp.Annotate.flush(Annotate.j ava:152)
    at com.sun.tools.javac.comp.Annotate.enterDone(Annota te.java:129)
    at com.sun.tools.javac.comp.Enter.complete(Enter.java :512)
    at com.sun.tools.javac.comp.Enter.main(Enter.java:471 )
    at com.sun.tools.javac.main.JavaCompiler.enterTrees(J avaCompiler.java:982)
    at com.sun.tools.javac.main.JavaCompiler.compile(Java Compiler.java:857)
    at com.sun.tools.javac.main.Main.compile(Main.java:52 3)
    at com.sun.tools.javac.api.JavacTaskImpl.doCall(Javac TaskImpl.java:129)
    at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTa skImpl.java:138)
    at org.gradle.internal.compiler.java.IncrementalCompi leTask.call(IncrementalCompileTask.java:74)
    at org.gradle.api.internal.tasks.compile.AnnotationPr ocessingCompileTask.call(AnnotationProcessingCompi leTask.java:94)
    at org.gradle.api.internal.tasks.compile.ResourceClea ningCompilationTask.call(ResourceCleaningCompilati onTask.java:57)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompi ler.execute(JdkJavaCompiler.java:55)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompi ler.execute(JdkJavaCompiler.java:40)
    at org.gradle.api.internal.tasks.compile.NormalizingJ avaCompiler.delegateAndHandleErrors(NormalizingJav aCompiler.java:97)
    at org.gradle.api.internal.tasks.compile.NormalizingJ avaCompiler.execute(NormalizingJavaCompiler.java:5 1)
    at org.gradle.api.internal.tasks.compile.NormalizingJ avaCompiler.execute(NormalizingJavaCompiler.java:3 7)
    at org.gradle.api.internal.tasks.compile.AnnotationPr ocessorDiscoveringCompiler.execute(AnnotationProce ssorDiscoveringCompiler.java:51)
    at org.gradle.api.internal.tasks.compile.AnnotationPr ocessorDiscoveringCompiler.execute(AnnotationProce ssorDiscoveringCompiler.java:37)
    at org.gradle.api.internal.tasks.compile.ModuleApplic ationNameWritingCompiler.execute(ModuleApplication NameWritingCompiler.java:46)
    at org.gradle.api.internal.tasks.compile.ModuleApplic ationNameWritingCompiler.execute(ModuleApplication NameWritingCompiler.java:36)
    at org.gradle.api.internal.tasks.compile.CleaningJava Compiler.execute(CleaningJavaCompiler.java:53)
    at org.gradle.api.internal.tasks.compile.incremental. IncrementalCompilerFactory.lambda$createRebuildAll Compiler$0(IncrementalCompilerFactory.java:98)
    at org.gradle.api.internal.tasks.compile.incremental. IncrementalResultStoringCompiler.execute(Increment alResultStoringCompiler.java:61)
    at org.gradle.api.internal.tasks.compile.incremental. IncrementalResultStoringCompiler.execute(Increment alResultStoringCompiler.java:45)
    at org.gradle.api.internal.tasks.compile.CompileJavaB uildOperationReportingCompiler$2.call(CompileJavaB uildOperationReportingCompiler.java:59)
    at org.gradle.api.internal.tasks.compile.CompileJavaB uildOperationReportingCompiler$2.call(CompileJavaB uildOperationReportingCompiler.java:51)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$CallableBuildOperationWorker.execute(Defa ultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$CallableBuildOperationWorker.execute(Defa ultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:75)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 153)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.lambda$call$2(DefaultBuildOperationExec utor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOpera tionWrapper.callWithUnmanagedSupport(UnmanagedBuil dOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.call(DefaultBuildOperationExecutor.java :76)
    at org.gradle.api.internal.tasks.compile.CompileJavaB uildOperationReportingCompiler.execute(CompileJava BuildOperationReportingCompiler.java:51)
    at org.gradle.api.tasks.compile.JavaCompile.performCo mpilation(JavaCompile.java:343)
    at org.gradle.api.tasks.compile.JavaCompile.performIn crementalCompilation(JavaCompile.java:237)
    at org.gradle.api.tasks.compile.JavaCompile.compile(J avaCompile.java:209)
    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 entalInputsTaskAction.doExecute(IncrementalInputsT askAction.java:32)
    at org.gradle.api.internal.project.taskfactory.Standa rdTaskAction.execute(StandardTaskAction.java:51)
    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:29)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter$3.run(ExecuteActionsTaskExecuter. java:555)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$1.execute(DefaultBuildOperationRunner.jav a:29)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$1.execute(DefaultBuildOperationRunner.jav a:26)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:75)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 153)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.lambda$run$1(DefaultBuildOperationExecu tor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOpera tionWrapper.runWithUnmanagedSupport(UnmanagedBuild OperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.run(DefaultBuildOperationExecutor.java: 71)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.executeAction(ExecuteActionsTaskE xecuter.java:540)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.executeActions(ExecuteActionsTask Executer.java:523)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.access$300(ExecuteActionsTaskExec uter.java:108)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter$TaskExecution.executeWithPrevious OutputFiles(ExecuteActionsTaskExecuter.java:271)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter$TaskExecution.execute(ExecuteActi onsTaskExecuter.java:260)
    at org.gradle.internal.execution.steps.ExecuteStep.la mbda$execute$0(ExecuteStep.java:33)
    at java.util.Optional.map(Optional.java:215)
    at org.gradle.internal.execution.steps.ExecuteStep.ex ecute(ExecuteStep.java:33)
    at org.gradle.internal.execution.steps.ExecuteStep.ex ecute(ExecuteStep.java:26)
    at org.gradle.internal.execution.steps.CleanupOutputs Step.execute(CleanupOutputsStep.java:67)
    at org.gradle.internal.execution.steps.CleanupOutputs Step.execute(CleanupOutputsStep.java:36)
    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.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:42)
    at org.gradle.internal.execution.steps.CacheStep.exec uteWithoutCache(CacheStep.java:159)
    at org.gradle.internal.execution.steps.CacheStep.exec ute(CacheStep.java:72)
    at org.gradle.internal.execution.steps.CacheStep.exec ute(CacheStep.java:43)
    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:187)
    at org.gradle.api.internal.tasks.execution.ExecuteAct ionsTaskExecuter.execute(ExecuteActionsTaskExecute r.java:179)
    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 onRunner$CallableBuildOperationWorker.execute(Defa ultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$CallableBuildOperationWorker.execute(Defa ultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:75)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner$3.execute(DefaultBuildOperationRunner.jav a:68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 153)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.execute(DefaultBuildOperationRunner.java: 68)
    at org.gradle.internal.operations.DefaultBuildOperati onRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.lambda$call$2(DefaultBuildOperationExec utor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOpera tionWrapper.callWithUnmanagedSupport(UnmanagedBuil dOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperati onExecutor.call(DefaultBuildOperationExecutor.java :76)
    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)

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * 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 19s
    25 actionable tasks: 25 executed


    UPDATE: So using build API 30 and build target 11 which seemed to successfully build my application. I'll continue to post here if there are any new developments.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,506
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Please check your preferences,

    An exception has occurred in the compiler (1.8.0_242-release)
    make me think you are not pointing the correct java sdk
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Sep 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I checked my preferences and all good. I can see it's pointing to the correct sdk.

    It seems to be working for build API 30 and build target 12 now.

    API 31, 32 and 33 produce errors at the moment; the Android exporter recognizes API 33 as the latest one - after clicking the button: "Newest installed SDK API"

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,506
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    It seems to be working for build API 30 and build target 12 now.
    you can't use 12 with build api 30 checks https://apilevels.com/
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Sep 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sweet, thanks so much for the article, Fernando!

    I have the latest api builds working now. In order to get api 31 working with 12, I had to reinstall the latest Android Studio and update Java.

    That's a really useful article, is it shared with the rest of the CTF community? Is it worth posting it as a separate post in the forum if not already? It may help others understand the api levels - I admit I was ignorant of the build rules around versions and apis until you shared the article.

    Thanks again

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,506
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by Gooblammy View Post
    Sweet, thanks so much for the article, Fernando!

    I have the latest api builds working now. In order to get api 31 working with 12, I had to reinstall the latest Android Studio and update Java.

    That's a really useful article, is it shared with the rest of the CTF community? Is it worth posting it as a separate post in the forum if not already? It may help others understand the api levels - I admit I was ignorant of the build rules around versions and apis until you shared the article.

    Thanks again
    I mentioned all the time, when I see the same situation.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. 294 Android Build Fail
    By Tisnart in forum Android Export Module 2.5
    Replies: 11
    Last Post: 9th September 2022, 10:19 AM
  2. Build 293.9 Android Build fail
    By Dobermann in forum Android Export Module 2.5
    Replies: 5
    Last Post: 5th November 2021, 04:09 PM
  3. Android Exporter Build Fail - app:compileReleaseJavaWithJavac?
    By cdhexter in forum Android Export Module 2.5
    Replies: 2
    Last Post: 16th September 2021, 03:41 PM
  4. Android "build.xml" compile fail with the lacewing object
    By Naturium in forum Android Export Module 2.5
    Replies: 2
    Last Post: 13th January 2018, 12:11 AM
  5. Android Exporter Build Fail
    By FinalSpecimen in forum Android Export Module 2.5
    Replies: 14
    Last Post: 29th April 2016, 04:10 AM

Posting Permissions

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