I am trying to use/install the Diagnostics Plugin but when I add it to my app via ionic plugin add cordova.plugins.diagnostic
and try to deploy my app on my android phone via ionic run android
Android(6.0.1) I get the error placed below.
Anyone else had this problem? Help would be appreciated.
My ionic info
Your system information:
Cordova CLI: 6.3.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.38
ios-deploy version: 1.9.0
ios-sim version: 5.0.10
OS: Mac OS X Sierra
Node Version: v5.12.0
Xcode version: Xcode 8.1 Build version 8B62
The build error
UP-TO-DATE
:processDebugResources
/Users/dtaalbers/Work/../../../src/app/platforms/android/build/intermediates/exploded-aar/com.github.fengdai/alertdialogpro-core/0.2.6/res/values/values.xml:61:5-102:13: AAPT: No resource found that matches the given name (at 'android:textColorHint' with value '@color/hint_foreground_material_light').
FAILED
FAILURE:
Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
>
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/Cellar/android-sdk/24.4.1_1/build-tools/23.0.3/aapt'' 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: 1.993 secs
Error: /Users/dtaalbers/Work/.../.../.../src/app/platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/dtaalbers/Work/.../.../.../src/app/platforms/android/build/intermediates/exploded-aar/com.github.fengdai/alertdialogpro-core/0.2.6/res/values/values.xml:61:5-102:13: AAPT: No resource found that matches the given name (at 'android:textColorHint' with value '@color/hint_foreground_material_light').
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/Cellar/android-sdk/24.4.1_1/build-tools/23.0.3/aapt'' 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.