I've been trying to generate an apk from a finished app build in Android Studio 3.4.1. However, it is showing the error
ERROR: Failed to resolve:
com.github.2359media:Easy AndroidAnimations:0.8
and I am not sure where or what to address that can solve this issue.
I've seen a question similar (Failed to resolve: com.github.PhilJay:MPAndroidChart:v2.1.4) but all of this was already set.
I have the SDK set up (went through that issue already of having it in a default user folder with a space in the name), and the JDK, NDK as well. I am also running Android Studio as admin (even installed it as admin).
I also have
maven { url "https://jitpack.io" }
}
set in repositories
Surely I have a configuration wrong, but I am not sure what this error is telling me and where I need to look.
This is the build.gradle for the project:
buildscript {
repositories {
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
}
and for the module:
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.alpha.calllog.myapp"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta1'
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation 'junit:junit:4.13-beta-3'
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:gridlayout-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.googlecode.libphonenumber:libphonenumber:8.10.13'
implementation 'com.google.android.gms:play-services-ads:17.2.1'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.github.angads25:toggle:1.0.0'
implementation 'com.github.zcweng:switch-button:0.0.3@aar'
implementation 'net.igenius:customcheckbox:1.3'
implementation 'com.github.2359media:EasyAndroidAnimations:0.8'
}
The messages in the lower right window of Android Studio say:
Could not find com.github.2359media:EasyAndroidAnimations:0.8.
Searched in the following locations: file:/C:/devious/tools/extras/m2repository/com/github/2359media/EasyAndroidAnimations/0.8/EasyAndroidAnimations-0.8.pom
And many more files in the same directory, but when I look there in Explorer, there is no such directory of course. How should these directories be created? Do I need to? It seems as if these are created through some process but I don't know which process(s).
To me this is indicating that I didn't configure something correctly or something needs to be updated in the code somewhere.