These are chat archives for zachfitz/Ionic-Material

5th
Jul 2017
ojgenn
@ojgenn
Jul 05 2017 06:15

hi! can anybody help me? try to "ionic cordova run android --device" and have an error: Error: /home/ojgen/ionic/mynew/platforms/android/gradlew: Command failed with exit code 1 Error output:
/home/ojgen/Android/Sdk/build-tools/26.0.0/aapt: 1: /home/ojgen/Android/Sdk/build-tools/26.0.0/aapt: Syntax error: ")" unexpected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':CordovaLib:processDebugResources'.

    com.android.ide.common.process.ProcessException: 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.

[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova run android --debug --device
(exit code 1).