Comments (9)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.studio_version='3.0.1'
ext.kotlin_version = '1.2.10'
ext.anko_version='0.10.1'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$studio_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
from toasty.
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.GrenderG:Toasty:1.2.8.
Could not resolve com.github.GrenderG:Toasty:1.2.8.
Required by:
project :app
Could not resolve com.github.GrenderG:Toasty:1.2.8.
> Could not get resource 'https://jitpack.io/com/github/GrenderG/Toasty/1.2.8/Toasty-1.2.8.pom'.
> Could not GET 'https://jitpack.io/com/github/GrenderG/Toasty/1.2.8/Toasty-1.2.8.pom'. Received status code 403 from server: Forbidden
from toasty.
Can you share your project's build.gradle
file and your module's (app) build.gradle
file?
from toasty.
Yes, the doubt is the server problem. It used to be good. Yesterday, the reloading system met this problem, and then it was good in the afternoon.
可以了,怀疑是服务器问题。以前是好的,昨天重装系统遇到这个问题,然后下午又好了。
from toasty.
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.google.android"
minSdkVersion 17
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
kapt {
arguments {
arg('eventBusIndex', 'com.google.android.EventBusIndex')
}
}
}
dataBinding {
enabled true
}
androidExtensions {
experimental = true
}
buildTypes {
release {
shrinkResources true
minifyEnabled true
signingConfig signingConfigs.sign
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "WMS_v${variant.versionName} (Build ${variant.versionCode}).apk"
}
}
}
debug {
signingConfig signingConfigs.sign
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.jetbrains.anko:anko-commons:$anko_version"
kapt "com.android.databinding:compiler:$studio_version"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'io.reactivex.rxjava2:rxkotlin:2.2.0'
implementation 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar'
implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.0'
implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.0'
implementation 'com.trello.rxlifecycle2:rxlifecycle-kotlin:2.2.0'
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'org.greenrobot:eventbus:3.1.1'
kapt 'org.greenrobot:eventbus-annotation-processor:3.1.1'
implementation 'com.google.zxing:core:3.3.0'
implementation 'cn.bingoogolapple:bga-qrcodecore:1.1.9@aar'
implementation 'cn.bingoogolapple:bga-zxing:1.1.9@aar'
implementation 'com.github.GrenderG:Toasty:1.2.8'
}
from toasty.
Give others a reference.
from toasty.
I have just tried and it works fine for me, also your code looks good. Is the error still there?
from toasty.
It's good that afternoon. Skepticism is a server problem.
from toasty.
Today I am facing the same issue.
from toasty.
Related Issues (20)
- An error occurs when getting the icon in the component.
- ToastUtil 简单封装
- 内存泄漏问题
- I'm getting error Failed to resolve: com.github.GrednerG:Toasty:1.4 HOT 4
- ToastyUtils.java line 1 es.dmoral.toasty.ToastyUtils.getDrawable HOT 2
- andy
- Feature request: support text shadow - TextView.setShadowLayer(float radius, float dx, float dy, int colour) HOT 1
- NullPointerException 想请问下这个空指针异常是由于什么原因造成的
- ColorHub - Color Palette no longer exists on g play
- memory leak HOT 1
- normal状态下的Toast白底黑字,normalWithDarkThemeSupport这个方法能否优化一下
- Show multiple toast at same time vertical
- Migration to mavencentral HOT 2
- Duration longer than Toast.LENGTH_LONG? HOT 2
- It didn't work HOT 1
- App Promotion
- leak
- leaks 内存泄漏 HOT 1
- How to solve Memory leak
- is this lib deprecated in android API 34? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toasty.