Gradle 构建失败,出现异常 android studio
Gradle Build failed with an exception android studio
您好,我在生成 apk 时遇到问题并出现此错误
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:releaseCompileClasspath'.
> Could not find ir.tapsell.plus:tapsell-plus-sdk-android:1.1.1.
Required by:
project :app
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
我现在应该怎么做才能解决问题?请指导我
sample app说明TapsellPlus SDK是从第三方repo下载的,需要在root中指定build.gradle
。
allprojects {
repositories {
google()
jcenter()
maven { // THIS
url 'https://dl.bintray.com/tapsellorg/maven'
}
}
}
您好,我在生成 apk 时遇到问题并出现此错误
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:releaseCompileClasspath'.
> Could not find ir.tapsell.plus:tapsell-plus-sdk-android:1.1.1.
Required by:
project :app
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
我现在应该怎么做才能解决问题?请指导我
sample app说明TapsellPlus SDK是从第三方repo下载的,需要在root中指定build.gradle
。
allprojects {
repositories {
google()
jcenter()
maven { // THIS
url 'https://dl.bintray.com/tapsellorg/maven'
}
}
}