-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Gradle 5.x for Appsync Code Generation. #91
Comments
Hi @CriPstian , Can you provide some details about what inputs you gave to Can you share the structure of this folder linked example |
Hello @minbi |
I am facing the same issue. |
I ran through the steps of the tutorial and used the same schema as the one you have pasted above and was not able to reproduce the problem. The code was generated and I was able to build and run the app successfully. Just so we have the same environment, here are my details.
@JagritiHirwani |
@cbommas One way that I tried to pass the build was by upgrading the Finally got the application to build but unfortunately was by downgrading the
I still haven't got the time to test the whole flow, meaning the Thanks for the help |
@CriPstian @JagritiHirwani |
I verified that the code generation is broken with Gradle 5.x. I tried with the last version of the 4.X series ( 4.10.3) and it worked fine there. There are breaking changes in I will convert this issue into a feature request to add support for Gradle Version 5 for the code generation task. I will post an update here once this task has been prioritized and a timeline has been established. |
@cbommas I confirm that upgrading |
I just started a new project today using AWS Amplify and ran into this issue too. I can confirm that downgrading gradle from 5.1.1 to 4.10.3 solved the problem for me, however, it would be nice if the root issue can be fixed so that I may use gradle 5.x for my project. |
No, i am unable to use gradle 4.6 as well. |
|
@JagritiHirwani That error might be thrown by another dependency. |
I am following the steps given https://aws.amazon.com/blogs/mobile/building-an-android-app-with-aws-amplify-part-1/ and when i build the project after creating the backend i get the following error. It is using gradle 5.1. FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. BUILD FAILED in 57s I tried changing gradle to 4.10 but i get this error I am getting this error : ERROR: Minimum supported Gradle version is 5.1-milestone-1. Current version is 4.10.3. |
@JagritiHirwani |
Yes, this the log : Open to see logs
FAILURE: Build failed with an exception.
BUILD FAILED in 4s |
@JagritiHirwani
Can you share your project structure screen? Here is what I have in my local setup. (You can get to this by moving to the Android view on the left nav, click on app, and then click on Build->Edit Build Type from the top menu and click on project in the box that opens up.) |
I see.. I was trying to get to the screen where you have specified the Gradle version. I am using a Mac and I see that you are on Windows, so the UI may be different. Can you share the screen where you have set the gradle version. |
The plugin dependency should be in the project-level build script. The snippet above is from the build.gradle for app module. |
That was it ! Solved for me. |
@desokroshan Thanks for reply. Please see my project gradle script below. Still having an issue. Though the error seems different now. I didn't want to spam here with my long logs but I can send if necessary. Since it's working for everyone else but me makes me think the problem might not be in the release but somewhere else. Error:
|
@animalmagnetic Can you please share the detailed logs, if you think its related Gradle 5.x? If your error is different from OP's, likely its unrelated in which case would you mind opening a different issue? |
Sure @desokroshan , here are my gradle kotlin build scripts: Project Build Script// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath(kotlin("gradle-plugin", version = "1.3.31"))
classpath("android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0")
classpath("com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.7.10")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
App Build Scriptimport org.jetbrains.kotlin.config.KotlinCompilerVersion
plugins {
id("com.android.application")
kotlin("android")
kotlin("android.extensions")
kotlin("kapt")
id("com.amazonaws.appsync")
id("androidx.navigation.safeargs")
}
android {
compileSdkVersion(28)
defaultConfig {
minSdkVersion(23)
targetSdkVersion(28)
applicationId = "com.cripstian.testapp"
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
}
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation(kotlin("stdlib-jdk8", KotlinCompilerVersion.VERSION))
implementation("androidx.appcompat:appcompat:1.1.0-alpha04")
implementation("androidx.core:core-ktx:1.1.0-alpha05")
implementation("androidx.constraintlayout:constraintlayout:2.0.0-alpha5")
implementation("android.arch.navigation:navigation-fragment-ktx:1.0.0")
implementation("android.arch.navigation:navigation-ui-ktx:1.0.0")
implementation("com.google.android.material:material:1.0.0")
//Base SDK
implementation("com.amazonaws:aws-android-sdk-core:2.13.2")
//AppSync SDK
implementation("com.amazonaws:aws-android-sdk-appsync:2.8.2")
//For AWSMobileClient only:
implementation("com.amazonaws:aws-android-sdk-mobile-client:2.13.2")
//For the drop-in UI also:
implementation("com.amazonaws:aws-android-sdk-auth-userpools:2.13.2")
implementation("com.amazonaws:aws-android-sdk-auth-ui:2.13.2")
// Facebook SignIn
implementation("com.amazonaws:aws-android-sdk-auth-facebook:2.13.2")
// Google SignIn
implementation("com.amazonaws:aws-android-sdk-auth-google:2.13.2")
implementation("org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0")
implementation("org.eclipse.paho:org.eclipse.paho.android.service:1.1.1")
// Coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0")
implementation("androidx.legacy:legacy-support-v4:1.0.0")
testImplementation("junit:junit:4.13-beta-1")
androidTestImplementation("androidx.test:runner:1.1.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.1.1")
}
Thanks |
@CriPstian In your project build script please upgrade your appsyn gradle plugin in path to the following to be able to use the latest changes :
|
@desokroshan This worked, sorry about the version. + BUILD SUCCESSFUL |
@desokroshan Thanks for your reply. I changed my appsync versions to 2.8.+ and I get the following error. If I turn off appsync entries then my build works so I believe it's appsync related. I'm sending all the config below once again. Gradle plugin version: 3.4.0
App Gradleapply plugin: 'com.android.application'
apply plugin: 'com.amazonaws.appsync'
android {
compileSdkVersion 28
defaultConfig {
applicationId "io.skep.skep"
minSdkVersion 23
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 {
//default
implementation fileTree(dir: 'libs', include: ['*.jar'])
//android stuff
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:28.0.0'
//test stuff
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'
//aws appsync
implementation 'com.amazonaws:aws-android-sdk-appsync:2.8.+'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.1'
implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
// Mobile Client for initializing the SDK
implementation('com.amazonaws:aws-android-sdk-mobile-client:2.13.4') { transitive = true }
// Cognito UserPools for SignIn
implementation('com.amazonaws:aws-android-sdk-auth-userpools:2.13.4') { transitive = true }
// Sign in UI Library
implementation('com.amazonaws:aws-android-sdk-auth-ui:2.13.4') { transitive = true }
} Project Gradlebuildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.8.+'
// 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
} Detailed Logsorg.gradle.api.tasks.TaskValidationException: Some problems were found with the configuration of task ':app:generateDebugApolloIR'.
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.report(ValidatingTaskExecuter.java:66)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:119)
at org.gradle.api.internal.tasks.execution.ResolvePreviousStateExecuter.execute(ResolvePreviousStateExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:93)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:45)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:94)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:56)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:67)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:315)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:305)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:101)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Cause 1: org.gradle.api.InvalidUserDataException: Value 'main GraphQL source' specified for property '$1' cannot be converted to a file.
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.report(ValidatingTaskExecuter.java:63)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:119)
at org.gradle.api.internal.tasks.execution.ResolvePreviousStateExecuter.execute(ResolvePreviousStateExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:93)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:45)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:94)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:56)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:67)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:315)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:305)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:101)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Cause 2: org.gradle.api.InvalidUserDataException: Value 'debug GraphQL source' specified for property '$2' cannot be converted to a file.
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.report(ValidatingTaskExecuter.java:63)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:119)
at org.gradle.api.internal.tasks.execution.ResolvePreviousStateExecuter.execute(ResolvePreviousStateExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:93)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:45)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:94)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:56)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:67)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:315)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:305)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:101)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745) |
@animalmagnetic please try what i did and add the specific version classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.8.+' Hope that works |
@CriPstian I tried that. Then I get this. No idea why the difference.
|
The updated fixed it for me. |
@CriPstian @w0mba7 Thanks for the confirmation. @animalmagnetic I am assuming yours is a separate issue. Can you please upgrade appsync Gradle version as indicated by @CriPstian and open a different issue with stacktrace and other details. |
@desokroshan Thanks for the reply. Can you guys comment on my gradle scripts just to understand I'm not doing anything wrong there? I'll open a new case then. |
@desokroshan thanks for the suggestion, it worked for me too but only after specifying the exact appsync plugin's version i.e. 2.8.2 and 2.8.+ didn't work for me. |
@animalmagnetic Your build scripts looks good to me. Please feel free to open a new case. @Guneetgstar Either notation should work. What error message do you get? |
@desokroshan the same as if I didn't upgrade to the 2.8.2 version:- |
Ah I see. The problem is with the latest artifacts not being "completely synced" in the jcenter repository. The latest version 2.8.2 with the fixes are available in maven repository. I will follow-up with jcenter to get this issue fixed but in the meanwhile you can do either one of the following :
|
My problem is also resolved. Seems like it was due to API key being old. Thanks for your help. Serhan |
Thank you very much for fixing this issue. Using the Project Structure dialog of Android Studio 3.4 (see image below), I updated all dependencies easily to the latest version. A big portion of them are from JCenter. It works just fine. Below are my Gradle build files. |
P.S. In project level build.gradle: In app level build.gradle: |
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems. |
Hi All |
I solved it setting the specific version in project level build.gradle: Thanks to @jwu92610 |
Thank You SoyJorgeDiaz5 @jwu92610
|
Describe the bug
After following the getting started guide for integrating my android application with AWS from HERE, the build of my app is now failing with issues from Apollo GraphQL dependency that is brought in by appsync.
Here is my failed build logs:
Logs
To Reproduce
The way this happened is:
Expected behaviour
Build is successful and application is able to access the GraphQL API with the help of the client provided by this repository.
Environment(please complete the following information):
2.7.+
*Please let me know if I can help with more details
The text was updated successfully, but these errors were encountered: