I'm using ionic 2 and cordova-plugin-mauron85-background-geolocation plugin.
It's my error.
:compileDebugShaders
:generateDebugAssets
:mergeDebugAssets
:generateDebugResValues UP-TO-DATE
:generateDebugResources
:mergeDebugResources
:processDebugManifest
1>MSBUILD : cordova-build error : C:\Users\Necati\Desktop\myapp\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:43: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
:processDebugResources FAILED
BUILD FAILED
Total time: 14.487 secs
1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
1>MSBUILD : cordova-build error : What went wrong:
1>MSBUILD : cordova-build error : Execution failed for task ':processDebugResources'.
1>MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Necati\AppData\Local\Android\sdk\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1
1>MSBUILD : cordova-build error : Try:
1>MSBUILD : cordova-build error : Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Command finished with error code 1: cmd /s /c "C:\Users\Necati\Desktop\myapp\platforms\android\gradlew.bat cdvBuildDebug -b C:\Users\Necati\Desktop\myapp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API.
MSBUILD : cordova-build warning : Note: Recompile with -Xlint:deprecation for details.
1>MSBUILD : cordova-build error : Error: cmd: Command failed with exit code 1 Error output:
MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API.
MSBUILD : cordova-build warning : Note: Recompile with -Xlint:deprecation for details.
1>MSBUILD : cordova-build error : C:\Users\Necati\Desktop\myapp\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:43: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
1>MSBUILD : cordova-build error : What went wrong:
1>MSBUILD : cordova-build error : Execution failed for task ':processDebugResources'.
1>MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Necati\AppData\Local\Android\sdk\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1
1>MSBUILD : cordova-build error : Try:
1>MSBUILD : cordova-build error : Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
1>MSBUILD : cordova-build error : Picked up _JAVA_OPTIONS: -Xmx512M
1>Done building project "MyApp.jsproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
and here is C:\Users\Necati\Desktop\myapp\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml if you need.
This is not the SampleApp for the Mauron85 version (which is an old fork of my original open-source project from 4 years ago. This is the SampleApp for cordeova-background-geolocation-lt
I'm using ionic 2 and cordova-plugin-mauron85-background-geolocation plugin. It's my error.
:compileDebugShaders :generateDebugAssets :mergeDebugAssets :generateDebugResValues UP-TO-DATE :generateDebugResources :mergeDebugResources :processDebugManifest 1>MSBUILD : cordova-build error : C:\Users\Necati\Desktop\myapp\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:43: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
:processDebugResources FAILED
BUILD FAILED
Total time: 14.487 secs 1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception. 1>MSBUILD : cordova-build error : What went wrong: 1>MSBUILD : cordova-build error : Execution failed for task ':processDebugResources'. 1>MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Necati\AppData\Local\Android\sdk\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1 1>MSBUILD : cordova-build error : Try: 1>MSBUILD : cordova-build error : Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Command finished with error code 1: cmd /s /c "C:\Users\Necati\Desktop\myapp\platforms\android\gradlew.bat cdvBuildDebug -b C:\Users\Necati\Desktop\myapp\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true" MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API. MSBUILD : cordova-build warning : Note: Recompile with -Xlint:deprecation for details. 1>MSBUILD : cordova-build error : Error: cmd: Command failed with exit code 1 Error output: MSBUILD : cordova-build warning : Note: Some input files use or override a deprecated API. MSBUILD : cordova-build warning : Note: Recompile with -Xlint:deprecation for details.
1>MSBUILD : cordova-build error : C:\Users\Necati\Desktop\myapp\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:43: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android' 1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception. 1>MSBUILD : cordova-build error : What went wrong: 1>MSBUILD : cordova-build error : Execution failed for task ':processDebugResources'. 1>MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Necati\AppData\Local\Android\sdk\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1 1>MSBUILD : cordova-build error : Try: 1>MSBUILD : cordova-build error : Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 1>MSBUILD : cordova-build error : Picked up _JAVA_OPTIONS: -Xmx512M 1>Done building project "MyApp.jsproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
and here is C:\Users\Necati\Desktop\myapp\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml if you need.
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.ionic.starter" android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" >