万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1

    AndroidのIonicビルド

    ionic cordova build android

    すると、

    FAILURE: Build failed with an exception.
    
    * Where:
    Script '/Users/shinriyo/development/ionic_apps/passer/platforms/android/CordovaLib/cordova.gradle' line: 68
    
    * What went wrong:
    A problem occurred evaluating project ':CordovaLib'.
    > No installed build tools found. Install the Android build tools version 19.1.0 or higher.
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 1s
    (node:78109) UnhandledPromiseRejectionWarning: Error: /Users/shinriyo/development/ionic_apps/passer/platforms/android/gradlew: Command failed with exit code 1 Error output:
    FAILURE: Build failed with an exception.
    
    * Where:
    Script '/Users/shinriyo/development/ionic_apps/passer/platforms/android/CordovaLib/cordova.gradle' line: 68
    
    * What went wrong:
    A problem occurred evaluating project ':CordovaLib'.
    > No installed build tools found. Install the Android build tools version 19.1.0 or higher.

    https://stackoverflow.com/questions/43029394/gradle-sync-failed-no-installed-build-tools-found-install-the-android-build-t/43362671

    sdkmanager tools --verboseやってみる。