mmin18 / LayoutCast

Cast android code and resource changes to the running application through ADB.
1.71k stars 173 forks source link

could not find version #30

Open szuae opened 9 years ago

szuae commented 9 years ago

Hi

I am getting below error while compiling my code. Please assist.

Build.gradle compile project(':libJava') compile fileTree(include: ['*.jar'], dir: 'libs') compile project(':facebook') compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3' compile 'com.caverock:androidsvg:1.2.2-beta-1' compile files('libs/twitter4j-core-4.0.1.jar') compile 'io.card:android-sdk:5.0.0' compile 'com.google.android.gms:play-services-plus:7.+' compile 'com.google.android.gms:play-services-analytics:7.+' compile 'com.google.android.gms:play-services-gcm:7.+' compile 'com.google.android.gms:play-services-maps:7.+' compile 'com.github.mmin18.layoutcast:library:1.+@aar'

compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {
    transitive = true
}

Error:

Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_productionDebugCompile'. Could not find any version that matches com.github.mmin18.layoutcast:library:1.+. Searched in the following locations: https://repo1.maven.org/maven2/com/github/mmin18/layoutcast/library/maven-metadata.xml https://repo1.maven.org/maven2/com/github/mmin18/layoutcast/library/ https://oss.sonatype.org/content/repositories/snapshots/com/github/mmin18/layoutcast/library/maven-metadata.xml https://oss.sonatype.org/content/repositories/snapshots/com/github/mmin18/layoutcast/library/ http://files.couchbase.com/maven2/com/github/mmin18/layoutcast/library/maven-metadata.xml http://files.couchbase.com/maven2/com/github/mmin18/layoutcast/library/ https://maven.fabric.io/public/com/github/mmin18/layoutcast/library/maven-metadata.xml https://maven.fabric.io/public/com/github/mmin18/layoutcast/library/ file:/C:/Users/s430729/.m2/repository/com/github/mmin18/layoutcast/library/maven-metadata.xml file:/C:/Users/s430729/.m2/repository/com/github/mmin18/layoutcast/library/ file:/D:/saifuddin/21Aug2011/sw/Android/android-sdk/extras/android/m2repository/com/github/mmin18/layoutcast/library/maven-metadata.xml file:/D:/saifuddin/21Aug2011/sw/Android/android-sdk/extras/android/m2repository/com/github/mmin18/layoutcast/library/ file:/D:/saifuddin/21Aug2011/sw/Android/android-sdk/extras/google/m2repository/com/github/mmin18/layoutcast/library/maven-metadata.xml file:/D:/saifuddin/21Aug2011/sw/Android/android-sdk/extras/google/m2repository/com/github/mmin18/layoutcast/library/ Required by: ekdev:app:unspecified

mmin18 commented 9 years ago

The latest version is 1.1.4. can you try compile 'com.github.mmin18.layoutcast:library:1.1.4@aar'

andreiverdes commented 9 years ago

I'm also getting Gradle sync failed: Gradle sync failed: Could not find com.github.mmin18.layoutcast:library:1.1.4. and Could not find any matches for com.github.mmin18.layoutcast:library:+ as no versions of com.github.mmin18.layoutcast:library are available. (Offline mode is disabled)

Is the library present on maven? As I can't find it...

pinguo-yinyu commented 8 years ago

It happens to me too!

onolox commented 8 years ago

Put lcast.jar in yourapp/libs folder instead. Or put it as a dependency.