flipkart-incubator / android-inline-youtube-view

Utility library around using YouTube inside your android app.
Apache License 2.0
321 stars 62 forks source link

could not find repo #9

Closed cinder92 closed 5 years ago

cinder92 commented 6 years ago
* What went wrong:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
        > Could not find com.github.flipkart-incubator:inline-youtube-view:1.0.1.
        Searched in the following locations:
        file:/Users/dantecervantes/Library/Android/sdk/extras/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
file:/Users/dantecervantes/Library/Android/sdk/extras/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
file:/Users/dantecervantes/Library/Android/sdk/extras/google/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
file:/Users/dantecervantes/Library/Android/sdk/extras/google/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
file:/Users/dantecervantes/Library/Android/sdk/extras/android/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
file:/Users/dantecervantes/Library/Android/sdk/extras/android/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
file:/Users/dantecervantes/.m2/repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
file:/Users/dantecervantes/.m2/repository/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
https://jcenter.bintray.com/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
https://jcenter.bintray.com/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
file:/Users/dantecervantes/Documents/react-native/Tests/node_modules/react-native/android/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
file:/Users/dantecervantes/Documents/react-native/Tests/node_modules/react-native/android/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
https://dl.google.com/dl/android/maven2/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.pom
https://dl.google.com/dl/android/maven2/com/github/flipkart-incubator/inline-youtube-view/1.0.1/inline-youtube-view-1.0.1.jar
Required by:
project :app > project :react-native-youtube-player

* 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
anirudhramanan commented 6 years ago

Did you add maven { url "https://jitpack.io" } in the root build folder ?

asitjain commented 6 years ago

Same issue here.

Could not find com.github.flipkart-incubator:android-inline-youtube-view:1.0.1. Searched in the following locations: file:/C:/Android/sdk/extras/m2repository/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.pom file:/C:/Android/sdk/extras/m2repository/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.jar file:/C:/Android/sdk/extras/google/m2repository/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.pom file:/C:/Android/sdk/extras/google/m2repository/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.jar file:/C:/Android/sdk/extras/android/m2repository/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.pom file:/C:/Android/sdk/extras/android/m2repository/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.jar https://dl.google.com/dl/android/maven2/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.pom https://dl.google.com/dl/android/maven2/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.jar https://jcenter.bintray.com/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.pom https://jcenter.bintray.com/com/github/flipkart-incubator/android-inline-youtube-view/1.0.1/android-inline-youtube-view-1.0.1.jar Required by: project :app

Top level build file : buildscript {

repositories {
    maven { url "https://jitpack.io" }
    google()
    jcenter()

}
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.3'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

allprojects { repositories { google() jcenter() } }

task clean(type: Delete) { delete rootProject.buildDir }

Project build file :

apply plugin: 'com.android.application'

android { compileSdkVersion 28 defaultConfig { applicationId "asit.ytl" minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0-alpha3' implementation 'com.android.support.constraint:constraint-layout:1.1.1' implementation 'com.android.support:design:28.0.0-alpha3' 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' implementation 'com.github.flipkart-incubator:android-inline-youtube-view:1.0.1'

}

anirudhramanan commented 6 years ago

@asitjain Try adding the jetpack dependency in the allProject block

Add it in your root build.gradle at the end of repositories :

// in root build.gradle
allprojects {
   repositories {
     ...
     maven { url "https://jitpack.io" }
   }
}

// in app build.gradle
dependencies {
   compile 'com.github.flipkart-incubator:inline-youtube-view:1.0.1'
}
anirudhramanan commented 6 years ago

Also, try pointing to the new version of the library.

anirudhramanan commented 5 years ago

Closing due to no activity