Closed cinder92 closed 5 years ago
Did you add maven { url "https://jitpack.io" }
in the root build folder ?
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'
}
@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'
}
Also, try pointing to the new version of the library.
Closing due to no activity