Open siavash-sajjad opened 6 years ago
Hello, great library. Having the same problem.
Found a solution. Make sure you're in your project
Open the Preferences, by clicking File > Settings (on Mac, Android Studio > Preferences). In the left pane, click Build, Execution, Deployment >> Gradle. Uncheck/disable the Offline work checkbox. Click Apply or OK.
Found a solution. Make sure you're in your project
Open the Preferences, by clicking File > Settings (on Mac, Android Studio > Preferences). In the left pane, click Build, Execution, Deployment >> Gradle. Uncheck/disable the Offline work checkbox. Click Apply or OK.
i disabled Offline wok don't solve my problem with this solution.
thanks
This has been hosted on jitpack. https://jitpack.io/#pchmn/MaterialChipsInput
Follow the directions there, its pretty straightforward. Essentially you have to add
repositories { ... maven { url 'https://jitpack.io' } }
and then implement/compile the dependency on gradle
hi i use android studio 3.1.3 and when i add library to my project, i get below error:
`Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.pchmn:MaterialChipsInput:1.0.8. Open File Show Details
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.pchmn:MaterialChipsInput:1.0.8. Open File Show Details
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.pchmn:MaterialChipsInput:1.0.8. Open File Show Details
Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.github.pchmn:MaterialChipsInput:1.0.8. Open File Show Details
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.pchmn:MaterialChipsInput:1.0.8. Open File Show Details `
build.gradle(project): ` // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
}
allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } mavenCentral() } }
task clean(type: Delete) { delete rootProject.buildDir } `
build.gradle(app): ` apply plugin: 'com.android.application'
android { compileSdkVersion 27 defaultConfig { applicationId "com.frotel.pooshak" minSdkVersion 15 targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { debug {
}
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support:design:27.1.1' implementation 'com.android.support:cardview-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.2' implementation 'com.android.support:support-v4:27.1.1' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
} `
what is problem?