cordovaのプラグインを作成し、ターミナルから実行すると以下のエラーが表示されます。
Error: /ユーザー名/sample/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'android'.
A problem occurred configuring project ':CordovaLib'.
Could not resolve all dependencies for configuration ':CordovaLib:classpath'.
> Could not find com.android.tools.build:gradle:2.2.0. Searched in the following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar Required by: android:CordovaLib:unspecified
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
お手数ですが、原因が分かる方助けてください。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。