Comments (8)
Gradle sync failure, to ensure that the network is normally retried.
from easycalendar.
Why is it closed?
Did you fix it?
from easycalendar.
Because it's not EasyCalendar's problem.
Your version of Gradle's dependency doesn't match the local, so Android Studio automatically downloads the specified version, but fails. You should download it when the network is in good condition.
And, Google can help you.
from easycalendar.
The network is fine. I've already downloaded a lot of other repos, and I'm writing this to you using the same network.
from easycalendar.
Your Build.gradle(Project: EasyCalendar) and gradle-wrapper.properties is changed, I think you modified the version of Gradle. But the new Gradle download failed.
You can try to change the version to the same as your other repos.
Or use local gradle distribution in Setting of AS.
from easycalendar.
No idea why this occurs, but it doesn't now, after I cloned it again. Maybe because I've updated the IDE to the final 3.0 version.
Anyway, please update your SDK and sample. Here are the current updated gradle files:
library
apply plugin: 'com.android.library'
android {
compileSdkVersion 27
buildToolsVersion "27.0.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile 'com.android.support:recyclerview-v7:27.0.0'
compile 'com.android.support:gridlayout-v7:27.0.0'
}
apply plugin: 'com.novoda.bintray-release'
publish {
userOrg = 'shichaohui'
groupId = 'com.sch.calendar'
artifactId = 'easy-calendar'
publishVersion = '1.0.1'
desc = 'Quickly customize the calendar UI. You can use EasyCalendar to quickly get the calendar style UI.'
website = 'https://github.com/shichaohui/EasyCalendar.git'
}
example
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "27.0.0"
defaultConfig {
applicationId "com.sch.easycalendar"
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:27.0.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
dependencies {
compile 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}
compile project(':library')
// compile 'com.sch.calendar:easy-calendar:1.0.0'
}
project
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.novoda:bintray-release:0.5.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
from easycalendar.
Modified.
from easycalendar.
Thanks.
from easycalendar.
Related Issues (12)
- 问下。怎么用代码选指定的日期?
- 关于行间距 HOT 1
- issue importing HOT 2
- 我看不到整個日曆日期明智 HOT 1
- Please put English text in the sample HOT 1
- Background only for selected date HOT 1
- set a particular date directly. HOT 1
- Change date text color and change DayViewDecorator HOT 1
- Calendar height varies with month swipes HOT 6
- Change Day Week Label HOT 2
- Have a fixed height for each date cell 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 easycalendar.