2
私はAndroidアプリで動作するようにJenkinsを設定しています。 ソースコードを取得してビルドしようとしています。Jenkins build failure - Android用アプリ
ビルドは、次のメッセージで失敗します。
10:43:35.419 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:43:35.419 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
10:43:35.420 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:43:35.420 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
10:43:35.420 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':mobile'.
10:43:35.420 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to notify project evaluation listener.
10:43:35.420 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
10:43:35.421 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:43:35.421 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
10:43:35.421 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':mobile'.
A problem occurred configuring project ':mobile'.
> Failed to notify project evaluation listener.
> Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
解決のための任意のアイデアを?オンラインで役に立つものが見つかりません
ちょうどその数分前に発見!それは正しいです、ありがとう! –
これは実際の修正ではなく、単に回避策です。 – StephenKing
これは解決策ではなく、問題を隠すだけです –