Monaca Onsen UI Discord Chat Github Repo

Build for IOS works, Android does not. Is there a problem ?



  • My IOS build is fine but android gives me errors.
    I can’t see any mention of any of my files in the error log so I guess its internal to Monaca.
    Can anybody help ?
    Log follows: – (ps. I had to truncate it to get it to post)

    Fetching Build Queue Data…
    -> Fetched data for queue ID 5d359558e788852a78fd709a
    Preparing Build Environment…
    Creating Project Build Workspace…
    Fetching Project Content…
    Downloading Project Archive…
    Extracting Project Archive…
    Fetching Project Info…
    Initializing Builder Service
    -> Cordova framework has been detected.
    Search builder by config
    Webview:null
    Arch:null
    Starting Build
    cordova version: 7.1.0

    • preBuild -

    • Cordova create -
      $ /data/build-server/cordova/7.1.0/bin/cordova create /private/tmp/monaca/5d359558e788852a78fd709a/project
      Creating a new cordova project.

    • Copy res directory -

    • Copy resources directory -

    • Copy config.xml -

    • Copy package.json -

    • Copy external plugin setting files -

    • Copy www files -

    • Do npm install -
      $ npm install --production

    • Cordova platform add -
      $ /data/build-server/cordova/7.1.0/bin/cordova platform add /data/build-server/cordova/platforms/android/6.4.0 --nofetch
      Adding android project…
      Creating Cordova project for the Android platform:
      Path: platforms/android
      Package: uk.co.dhksm.onsen2
      Name: Keenans_Estate_Agents
      Activity: MainActivity
      Android target: android-26
      Subproject Path: CordovaLib
      Android project created with cordova-android@6.4.0
      Discovered plugin “cordova-custom-config” in config.xml. Adding it to the project
      Fetching plugin “cordova-custom-config@5.0.2” via npm
      Installing “cordova-custom-config” for android
      Adding cordova-custom-config to package.json
      Saved plugin info for “cordova-custom-config” to config.xml
      Discovered plugin “cordova-plugin-whitelist” in config.xml. Adding it to the project
      Fetching plugin “cordova-plugin-whitelist@1.3.3” via npm
      Installing “cordova-plugin-whitelist” for android

               This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
      

    Adding cordova-plugin-whitelist to package.json
    Saved plugin info for “cordova-plugin-whitelist” to config.xml
    Discovered plugin “monaca-plugin-monaca-core” in config.xml. Adding it to the project
    Fetching plugin “monaca-plugin-monaca-core@3.2.0” via npm
    Installing “monaca-plugin-monaca-core” for android
    Adding monaca-plugin-monaca-core to package.json
    Saved plugin info for “monaca-plugin-monaca-core” to config.xml
    Discovered plugin “cordova-plugin-geolocation” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-geolocation@4.0.1” via npm
    Installing “cordova-plugin-geolocation” for android
    Adding cordova-plugin-geolocation to package.json
    Saved plugin info for “cordova-plugin-geolocation” to config.xml
    Discovered plugin “cordova-plugin-device” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-device@2.0.1” via npm
    Installing “cordova-plugin-device” for android
    Adding cordova-plugin-device to package.json
    Saved plugin info for “cordova-plugin-device” to config.xml
    Discovered plugin “cordova-plugin-media” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-media@4.0.0” via npm
    Installing “cordova-plugin-media” for android
    Fetching plugin “cordova-plugin-file@^5.0.0” via npm
    Installing “cordova-plugin-file” for android

    The Android Persistent storage location now defaults to “Internal”. Please check this plugin’s README to see if your application needs any changes in its config.xml.

    If this is a new application no changes are required.

    If this is an update to an existing application that did not specify an “AndroidPersistentFileLocation” you may need to add:

      "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"
    

    to config.xml in order for the application to find previously stored files.

    Adding cordova-plugin-media to package.json
    Saved plugin info for “cordova-plugin-media” to config.xml
    Discovered plugin “cordova-plugin-vibration” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-vibration@2.1.6” via npm
    Installing “cordova-plugin-vibration” for android
    Adding cordova-plugin-vibration to package.json
    Saved plugin info for “cordova-plugin-vibration” to config.xml
    Discovered plugin “cordova-plugin-splashscreen” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-splashscreen@5.0.1” via npm
    Installing “cordova-plugin-splashscreen” for android
    Adding cordova-plugin-splashscreen to package.json
    Saved plugin info for “cordova-plugin-splashscreen” to config.xml
    Discovered plugin “cordova-plugin-firebase” in config.xml. Adding it to the project
    Installing “cordova-plugin-firebase” for android
    Subproject Path: CordovaLib
    Adding cordova-plugin-firebase to package.json
    Saved plugin info for “cordova-plugin-firebase” to config.xml
    Discovered plugin “cordova-plugin-statusbar” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-statusbar@2.4.1” via npm
    Installing “cordova-plugin-statusbar” for android
    Adding cordova-plugin-statusbar to package.json
    Saved plugin info for “cordova-plugin-statusbar” to config.xml
    Discovered plugin “cordova-plugin-camera” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-camera@4.0.1” via npm
    Installing “cordova-plugin-camera” for android
    Subproject Path: CordovaLib
    Adding cordova-plugin-camera to package.json
    Saved plugin info for “cordova-plugin-camera” to config.xml
    Discovered plugin “cordova-plugin-inappbrowser” in config.xml. Adding it to the project
    Fetching plugin “cordova-plugin-inappbrowser@2.0.1” via npm
    Installing “cordova-plugin-inappbrowser” for android
    Adding cordova-plugin-inappbrowser to package.json
    Saved plugin info for “cordova-plugin-inappbrowser” to config.xml
    Preparing Firebase on Android
    –save flag or autosave detected
    Saving android@/data/build-server/cordova/platforms/android/6.4.0 into config.xml file …

    • Cordova prepare -
      $ /data/build-server/cordova/7.1.0/bin/cordova prepare android
      cordova-custom-config: Skipping auto-restore of config file backup(s)
      Preparing Firebase on Android
    • Cordova prepare -
      $ /data/build-server/cordova/7.1.0/bin/cordova prepare android
      cordova-custom-config: Skipping auto-restore of config file backup(s)
      Preparing Firebase on Android
    • Cordova compile -
      $ /data/build-server/cordova/7.1.0/bin/cordova compile --debug --device
      cordova-custom-config: Loaded module dependencies
      cordova-custom-config: Running applyCustomConfig.js
      DEBUG: Aborting applyCustomConfig.js because current hook ‘before_compile’ is not configured hook 'after_prepare’
      cordova-custom-config: Finished applying platform config
      ANDROID_HOME=/data/android-sdk
      JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home
      :wrapper

    BUILD SUCCESSFUL in 0s
    1 actionable task: 1 executed
    Subproject Path: CordovaLib
    Configuration ‘compile’ in project ‘:’ is deprecated. Use ‘implementation’ instead.
    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
    at build_b2bxv3nnl6r4nblfma2eazq7z.run(/private/tmp/monaca/5d359558e788852a78fd709a/project/platforms/android/build.gradle:146)
    registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
    registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
    publishNonDefault is deprecated and has no effect anymore. All variants are now published.
    :preBuild UP-TO-DATE
    :CordovaLib:preBuild UP-TO-DATE
    :CordovaLib:preDebugBuild UP-TO-DATE
    :CordovaLib:checkDebugManifest
    :CordovaLib:processDebugManifest
    :preDebugBuild
    :CordovaLib:compileDebugAidl
    :compileDebugAidl
    :CordovaLib:packageDebugRenderscript NO-SOURCE
    :compileDebugRenderscript
    :checkDebugManifest
    :generateDebugBuildConfig
    :prepareLintJar
    :mergeDebugShaders
    :compileDebugShaders
    :generateDebugAssets
    :CordovaLib:mergeDebugShaders
    :CordovaLib:compileDebugShaders
    :CordovaLib:generateDebugAssets
    :CordovaLib:mergeDebugAssets
    :mergeDebugAssets
    :processDebugGoogleServices
    Parsing json file: /private/tmp/monaca/5d359558e788852a78fd709a/project/platforms/android/google-services.json
    :createDebugCompatibleScreenManifests
    :processDebugManifest
    /private/tmp/monaca/5d359558e788852a78fd709a/project/platforms/android/AndroidManifest.xml:24:9-31:50 Warning:
    activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:24 to replace other declarations but no other declaration present
    :fabricGenerateResourcesDebug
    :generateDebugResValues
    :generateDebugResources
    :CordovaLib:compileDebugRenderscript
    :CordovaLib:generateDebugResValues
    :CordovaLib:generateDebugResources
    :CordovaLib:packageDebugResources
    :mergeDebugResources
    :splitsDiscoveryTaskDebug
    :CordovaLib:platformAttrExtractor
    :CordovaLib:generateDebugBuildConfig
    :CordovaLib:prepareLintJar
    :CordovaLib:javaPreCompileDebug
    :CordovaLib:processDebugResources
    :processDebugResources FAILED
    31 actionable tasks: 31 executed

    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: /Users/builder/Library/Caches/com.crashlytics/com.crashlytics.tools/crashlytics.log (Operation not permitted)
    at java.io.FileOutputStream.open0(Native Method)
    at java.io.FileOutputStream.open(FileOutputStream.java:270)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
    at com.crashlytics.reloc.org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
    at com.crashlytics.reloc.org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
    at com.crashlytics.reloc.org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
    at com.crashlytics.reloc.org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
    at com.crashlytics.reloc.org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
    at com.crashlytics.reloc.org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
    at com.crashlytics.reloc.org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
    at com.crashlytics.reloc.org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
    at com.crashlytics.reloc.org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672)
    at com.crashlytics.reloc.org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
    at com.crashlytics.reloc.org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:440)
    at com.crashlytics.tools.android.DeveloperTools.configureGradleLogger(DeveloperTools.java:329)
    at com.crashlytics.tools.android.DeveloperTools.gradleMain(DeveloperTools.java:290)
    at sun.reflect.GeneratedMethodAccessor2807.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
    at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:91)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    at com.crashlytics.tools.gradle.tasks.FabricTaskBuilder.callDevtoolsWrappingRuntimeExceptions(FabricTaskBuilder.groovy:359)
    at com.crashlytics.tools.gradle.tasks.FabricTaskBuilder.this$2$callDevtoolsWrappingRuntimeExceptions(FabricTaskBuilder.groovy)
    at sun.reflect.GeneratedMethodAccessor2414.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
    at com.crashlytics.tools.gradle.tasks.FabricTaskBuilder$_pluginGenerateResources_closure4.doCall(FabricTaskBuilder.groovy:132)
    at sun.reflect.GeneratedMethodAccessor2412.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
    at groovy.lang.Closure.call(Closure.java:414)
    at groovy.lang.Closure.call(Closure.java:430)
    at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:681)
    at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:656)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
    at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
    at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:60)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:128)
    at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
    at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
    at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
    at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:46)
    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
    at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:311)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
    at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:202)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:132)
    at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:107)
    at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:78)
    at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:75)
    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)
    at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:100)
    at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:75)
    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$1.run(RunAsBuildOperationBuildActionRunner.java:43)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:40)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:45)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)
    at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
    at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:71)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:51)
    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:32)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
    at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
    at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:64)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:29)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:58)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:33)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
    at org.gradle.util.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    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$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    at java.lang.Thread.run(Thread.java:748)
    /Users/builder/.gradle/caches/transforms-1/files-1.1/core-1.0.0.aar/4d1d39635ad058d3acd80e7f2eeb4c21/res/values/values.xml:133:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.

    /Users/builder/.gradle/caches/transforms-1/files-1.1/core-1.0.0.aar/4d1d39635ad058d3acd80e7f2eeb4c21/res/values/values.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found.

    /private/tmp/monaca/5d359558e788852a78fd709a/project/platforms/android/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:95: error: resource android:attr/fontVariationSettings not found.
    /private/tmp/monaca/5d359558e788852a78fd709a/project/platforms/android/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:95: error: resource android:attr/ttcIndex not found.
    error: failed linking references.

    Failed to execute aapt
    com.android.ide.common.process.ProcessException: Failed to execute aapt
    at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)
    at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)
    at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)
    at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
    at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
    at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
    at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
    at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
    at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    at at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:454)
    at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:411)
    at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)
    at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)

    FAILURE: Build failed with an exception.

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

    Failed to execute aapt

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

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