Error after running someone else’s Demo:
Failed to resolve: com.github.yangjie10930:EpMedia:v0.8.2
Solutions:
1 in project build.gradle Join in
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
Full version
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
2 add in module
compile ('com.github.yangjie10930:EpMedia:v0.8.2'){
transitive = true
}
Full version
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.joe.epmediademo"
minSdkVersion 18
targetSdkVersion 25
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'])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile ('com.github.yangjie10930:EpMedia:v0.8.2'){
transitive = true
}
testCompile 'junit:junit:4.12'
}
Read More:
- failed to resolve:com.github.********
- Android studio failed to resolve: com.github.CymChad :BaseRecyclerViewAdap terHelper:2.9.46
- Failed to resolve:com.github.xxx error
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
- fatal: unable to access ‘https://github.com/xxx‘: Failed to connect to github.com
- Failed to resolve: com.android.support:appcompat-v7:25.3.0
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- [Git & GitHub] Solution: error: failed to push some refs to’https://github.com/xxxx.git’
- pycharm Failed to connect to github.com port 443: Timed out
- Problem solving: failed to connect to github.com port 443: Operation timed out(2020.06.04)
- Failed connect to github.com:443 ; no error and the remote end hung up unexpectedly
- Failed to resolve: com.android.support:appcompat-v7:27.
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Failed to resolve: com.se renegiant:common 1.5.20
- error: src refspec master does not match any error:failed to push some refs to ‘[email protected]:xxxx
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- [error log] 27.1.0 series of errors Error:Failed to resolve: com.android.support :support-an notations:27.1.0
- About Android studio error: (26,13) failed to resolve: com.android.support : appcompat-v7:27. + error
- unable to access ‘https://github.com/facebook/react-devtools/‘: