{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/384","repository_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/384/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/384/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/384","id":305807631,"number":384,"title":"Can't make build for android In Ionic","user":{"login":"balakrishnan4cse","id":27850156,"avatar_url":"https://avatars0.githubusercontent.com/u/27850156?v=4","gravatar_id":"","url":"https://api.github.com/users/balakrishnan4cse","html_url":"https://github.com/balakrishnan4cse","followers_url":"https://api.github.com/users/balakrishnan4cse/followers","following_url":"https://api.github.com/users/balakrishnan4cse/following{/other_user}","gists_url":"https://api.github.com/users/balakrishnan4cse/gists{/gist_id}","starred_url":"https://api.github.com/users/balakrishnan4cse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balakrishnan4cse/subscriptions","organizations_url":"https://api.github.com/users/balakrishnan4cse/orgs","repos_url":"https://api.github.com/users/balakrishnan4cse/repos","events_url":"https://api.github.com/users/balakrishnan4cse/events{/privacy}","received_events_url":"https://api.github.com/users/balakrishnan4cse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-16T05:34:10Z","updated_at":"2018-03-26T09:38:00Z","closed_at":null,"author_association":"NONE","body":"<!-- PLEASE DON'T DELETE THIS TEMPLATE, OR YOUR ISSUE WILL BE CLOSED/IGNORED !!! -->\r\n\r\n<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Plugin version: 2.3.3\r\n* Platform: Android\r\n* OS version: 4.4.4 to 7.0.0\r\n* Device manufacturer and model: All devices\r\n* Cordova version (`cordova -v`): 8.0.0\r\n\r\n## Context\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\nMy issue is after adding this plugin to my Ionic project cannot make a build for the android device. So I created a new project and added this plugin to my project. Now I generated the build it shows the same exception but this time I did not add any code of this plugin.\r\n\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\nCan able to make a build for android.\r\n\r\n## Actual Behavior\r\n<!--- Tell us what happens instead -->\r\nCannot able to make a build for android.\r\n\r\n## Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug include code to reproduce, if relevant -->\r\n1. create a new Ionic project. start ionic <Project Name>\r\n2. Just add the plugin to the project using the below comment.\r\n$ ionic cordova plugin add cordova-plugin-mauron85-background-geolocation\r\n$ npm install --save @ionic-native/background-geolocation\r\n3. Now connect any android device. And run the following comment.\r\nionic cordova run android --device\r\n4.Now you will get the exception.\r\n\r\n## Debug logs\r\n<!-- Relevant parts from printAndroidLogs or printIosLogs.\r\nMore info in README.md section Debugging.\r\nIf you're reporting app crash also provide output of \"adb logcat\" -->\r\n\r\n/home/hmspl/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-alpha1.aar/d22f6362e4ac053c8f6b4d99d0c72969/res/values/values.xml:20:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.\r\n\r\n/home/hmspl/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-alpha1.aar/d22f6362e4ac053c8f6b4d99d0c72969/res/values/values.xml:20:5-70: AAPT: error: resource android:attr/ttcIndex not found.\r\n\r\n/home/hmspl/TestProject2/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:94: error: resource android:attr/fontVariationSettings not found.\r\n/home/hmspl/TestProject2/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:94: error: resource android:attr/ttcIndex not found.\r\nerror: failed linking references.\r\n\r\nFailed to execute aapt\r\ncom.android.ide.common.process.ProcessException: Failed to execute aapt\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)\r\n        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\n        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\n        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\nCaused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details\r\n        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)\r\n        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)\r\n        ... 41 more\r\nCaused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logsfor details\r\n        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)\r\n        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\n        at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)\r\nCaused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details\r\n        at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:454)\r\n        at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:411)\r\n        at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)\r\n        at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:processDebugResources'.\r\n> Failed to execute aapt\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 4s\r\n    at ChildProcess.whenDone (/home/hmspl/TestProject2/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)\r\n    at ChildProcess.emit (events.js:180:13)\r\n    at maybeClose (internal/child_process.js:936:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)\r\n(node:10036) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:10036) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n\r\n[OK] Your app has been deployed.\r\n     Did you know you can live-reload changes from your app with --livereload?\r\n\r\nhmspl@BALA-LAPTOP:~/TestProject2$ ^C\r\nhmspl@BALA-LAPTOP:~/TestProject2$ B^C\r\nhmspl@BALA-LAPTOP:~/TestProject2$ ^C\r\nhmspl@BALA-LAPTOP:~/TestProject2$ ionic cordova run android --device\r\nRunning app-scripts build: --platform android --target cordova\r\n[10:43:29]  build dev started ...\r\n[10:43:29]  clean started ...\r\n[10:43:29]  clean finished in 4 ms\r\n[10:43:29]  copy started ...\r\n[10:43:29]  deeplinks started ...\r\n[10:43:29]  deeplinks finished in 22 ms\r\n[10:43:29]  transpile started ...\r\n[10:43:33]  transpile finished in 3.13 s\r\n[10:43:33]  preprocess started ...\r\n[10:43:33]  preprocess finished in 1 ms\r\n[10:43:33]  webpack started ...\r\n[10:43:33]  copy finished in 3.28 s\r\n[10:43:38]  webpack finished in 5.85 s\r\n[10:43:38]  sass started ...\r\nWithout `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.\r\n[10:43:39]  sass finished in 1.13 s\r\n[10:43:39]  postprocess started ...\r\n[10:43:39]  postprocess finished in 6 ms\r\n[10:43:39]  lint started ...\r\n[10:43:40]  build dev finished in 10.23 s\r\n> cordova run android --device\r\n\r\nYou have been opted out of telemetry. To change this, run: cordova telemetry on.\r\nAndroid Studio project detected\r\n\r\nANDROID_HOME=/home/hmspl/Android/Sdk\r\nJAVA_HOME=/usr/lib/jvm/jdk1.8.0_161\r\nstudio\r\nSubproject Path: CordovaLib\r\nSubproject Path: app\r\npublishNonDefault is deprecated and has no effect anymore. All variants are now published.\r\n\r\nConfiguration 'compile' in project ':app' is deprecated. Use 'implementation' instead.\r\n\r\nThe Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.\r\n        at build_cuzl6il90i7xxre4h67pe49rx.run(/home/hmspl/TestProject2/platforms/android/app/build.gradle:144)\r\n:CordovaLib:preBuild UP-TO-DATE\r\n:CordovaLib:preDebugBuild UP-TO-DATE\r\n:CordovaLib:compileDebugAidl\r\n UP-TO-DATE\r\n:CordovaLib:compileDebugRenderscript UP-TO-DATE\r\n:CordovaLib:checkDebugManifest UP-TO-DATE\r\n:CordovaLib:generateDebugBuildConfig UP-TO-DATE\r\n:CordovaLib:prepareLintJar UP-TO-DATE\r\n:CordovaLib:generateDebugResValues\r\n UP-TO-DATE\r\n:CordovaLib:generateDebugResources UP-TO-DATE\r\n:CordovaLib:packageDebugResources\r\n UP-TO-DATE\r\n:CordovaLib:platformAttrExtractor UP-TO-DATE\r\n:CordovaLib:processDebugManifest UP-TO-DATE\r\n:CordovaLib:processDebugResources\r\n UP-TO-DATE\r\n:CordovaLib:generateDebugSources UP-TO-DATE\r\n:CordovaLib:javaPreCompileDebug UP-TO-DATE\r\n:CordovaLib:compileDebugJavaWithJavac\r\n UP-TO-DATE\r\n:CordovaLib:processDebugJavaRes NO-SOURCE\r\n:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE\r\n:app:preBuild UP-TO-DATE\r\n:app:preDebugBuild\r\n UP-TO-DATE\r\n:app:compileDebugAidl\r\n UP-TO-DATE\r\n:CordovaLib:packageDebugRenderscript NO-SOURCE\r\n:app:compileDebugRenderscript UP-TO-DATE\r\n:app:checkDebugManifest UP-TO-DATE\r\n:app:generateDebugBuildConfig UP-TO-DATE\r\n:app:prepareLintJar UP-TO-DATE\r\n:app:generateDebugResValues UP-TO-DATE\r\n:app:generateDebugResources UP-TO-DATE\r\n:app:mergeDebugResources\r\n UP-TO-DATE\r\n:app:createDebugCompatibleScreenManifests UP-TO-DATE\r\n:app:processDebugManifest UP-TO-DATE\r\n:app:splitsDiscoveryTaskDebug UP-TO-DATE\r\n:app:processDebugResources\r\n/home/hmspl/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-alpha1.aar/d22f6362e4ac053c8f6b4d99d0c72969/res/values/values.xml:20:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.\r\n\r\n/home/hmspl/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-alpha1.aar/d22f6362e4ac053c8f6b4d99d0c72969/res/values/values.xml:20:5-70: AAPT: error: resource android:attr/ttcIndex not found.\r\n\r\n/home/hmspl/TestProject2/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:94: error: resource android:attr/fontVariationSettings not found.\r\n/home/hmspl/TestProject2/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:94: error: resource android:attr/ttcIndex not found.\r\nerror: failed linking references.\r\n\r\nFailed to execute aapt\r\n\r\ncom.android.ide.common.process.ProcessException: Failed to execute aapt\r\n\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)\r\n\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)\r\n\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)\r\n\r\n        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)\r\n\r\n        at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)\r\n\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\n\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)\r\n\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)\r\n\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)\r\n\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\n\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)\r\n\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)\r\n\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\n        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\n        at java.lang.Thread.run(Thread.java:748)\r\nCaused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details\r\n        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)\r\n        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)\r\n        ... 47 more\r\nCaused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logsfor details\r\n        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)\r\n        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\n        at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n        ... 1 more\r\nCaused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details\r\n        at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:454)\r\n        at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:411)\r\n        at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)\r\n        at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:processDebugResources'.\r\n> Failed to execute aapt\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 1s\r\n FAILED\r\n25 actionable tasks: 1 executed, 24 up-to-date\r\n[10:43:43]  lint finished in 3.76 s\r\n(node:11008) UnhandledPromiseRejectionWarning: Error: /home/hmspl/TestProject2/platforms/android/gradlew: Command failed with exit code 1 Error output:\r\n/home/hmspl/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-alpha1.aar/d22f6362e4ac053c8f6b4d99d0c72969/res/values/values.xml:20:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.\r\n\r\n/home/hmspl/.gradle/caches/transforms-1/files-1.1/support-compat-28.0.0-alpha1.aar/d22f6362e4ac053c8f6b4d99d0c72969/res/values/values.xml:20:5-70: AAPT: error: resource android:attr/ttcIndex not found.\r\n\r\n/home/hmspl/TestProject2/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:94: error: resource android:attr/fontVariationSettings not found.\r\n/home/hmspl/TestProject2/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:94: error: resource android:attr/ttcIndex not found.\r\nerror: failed linking references.\r\n\r\nFailed to execute aapt\r\ncom.android.ide.common.process.ProcessException: Failed to execute aapt\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)\r\n        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)\r\n        at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)\r\n        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)\r\n        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\n        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\n        at java.lang.Thread.run(Thread.java:748)\r\nCaused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details\r\n        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)\r\n        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)\r\n        ... 47 more\r\nCaused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logsfor details\r\n        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)\r\n        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\n        at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n        ... 1 more\r\nCaused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details\r\n        at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:454)\r\n        at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:411)\r\n        at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)\r\n        at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:processDebugResources'.\r\n> Failed to execute aapt\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 1s\r\n    at ChildProcess.whenDone (/home/hmspl/TestProject2/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)\r\n    at ChildProcess.emit (events.js:180:13)\r\n    at maybeClose (internal/child_process.js:936:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)\r\n(node:11008) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:11008) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code."},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/376106251","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/384#issuecomment-376106251","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/384","id":376106251,"user":{"login":"gabrielemontano","id":3499601,"avatar_url":"https://avatars2.githubusercontent.com/u/3499601?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielemontano","html_url":"https://github.com/gabrielemontano","followers_url":"https://api.github.com/users/gabrielemontano/followers","following_url":"https://api.github.com/users/gabrielemontano/following{/other_user}","gists_url":"https://api.github.com/users/gabrielemontano/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielemontano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielemontano/subscriptions","organizations_url":"https://api.github.com/users/gabrielemontano/orgs","repos_url":"https://api.github.com/users/gabrielemontano/repos","events_url":"https://api.github.com/users/gabrielemontano/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielemontano/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T09:38:00Z","updated_at":"2018-03-26T09:38:00Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"gabrielemontano"}}