Hi there,
Little Help would be appreciated ![:innocent: :innocent:](https://emoji.discourse-cdn.com/twitter/innocent.png?v=12)
I’m new on ionic, ran through the same problem but none of the solutions mentioned above actually worked.
=> Ionic Info
Cordova CLI: 6.3.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
OS: Windows 8.1
Node Version: v4.5.0
LOG on console. ( While executing => ionic build android )
C:\Windows\System32\scotch-todo>ionic build android
Running command: “C:\Program Files\nodejs\node.exe” C:\Windows\System32\scotch-t
odo\hooks\after_prepare\010_add_platform_class.js C:\Windows\System32\scotch-tod
o
add to body class: platform-android
ANDROID_HOME=C:\Users\rshalik\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
Observed package id ‘add-ons;addon-google_apis-google-23’ in inconsistent locati
on ‘C:\Users\rshalik\AppData\Local\Android\sdk\add-ons\addon-google_apis-google-
23-1’ (Expected ‘C:\Users\rshalik\AppData\Local\Android\sdk\add-ons\addon-google
_apis-google-23’)
Already observed package id ‘add-ons;addon-google_apis-google-23’ in ‘C:\Users\r
shalik\AppData\Local\Android\sdk\add-ons\addon-google_apis-google-23’. Skipping
duplicate at ‘C:\Users\rshalik\AppData\Local\Android\sdk\add-ons\addon-google_ap
is-google-23-1’
Incremental java compilation is an incubating feature.
:preBuild
UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugRenderscript
UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:compileDebugAidl
UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources
FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:CordovaLib:processDebugResources’.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process ‘command ‘C:\Users\rshalik\AppData\Local\Android\sdk\build
-tools\23.0.1\aapt.exe’’ finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 8.561 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:CordovaLib:processDebugResources’.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process ‘command ‘C:\Users\rshalik\AppData\Local\Android\sdk\build
-tools\23.0.1\aapt.exe’’ finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
=> Looking for your help guys ![:sweat: :sweat:](https://emoji.discourse-cdn.com/twitter/sweat.png?v=12)
ANDROID STUDIO: v 2.1
Android SDK Tools 25.1.7
Android SDK Platform-tools 24.0.2
Android SDK Build-tools 23.0.1
SDK Platform API 23 Rev.3
SDK Platform API 22 Rev.2