Closed raghavsatyadev closed 7 years ago
AFAIK the culprit here seems to be the 3rd error i.e. Failed to resolve: annotationProcessor
, cuz thats the issue I faced while integrating a library (but didn't as the requirements changed).
Currently, we are updating the project to support AS v2.3, after we are done with that I'll give this issue a go and update accordingly.
For now you can checkout the changes in this PR https://github.com/edx/edx-app-android/pull/938 and try import the library you want.
Sorry the issue was on my side, I had contacted to the PayUMoney Support team and they told me to add in build.gradle at project level
allprojects {
repositories {
jcenter()
}
}
Hi @miankhalid I updated AS to 3.0 and I'm getting following errors
Please help to resolve these.
Hi @ankushgupta1393 , don't update your AS to 3.0, we are only supporting 2.3.x so far, will add the notes about it in readme. If you face any issue in 2.3.x please read the FAQs for that https://github.com/edx/edx-app-android#frequently-asked-questions
Note: Also don't update the gradle version.
I've updated both AS and gradle plugin. Do I need to install the AS again now or Is it possible to resolve the issues ?
:worried: Sorry for trouble, to fix for now you can download the Android Studio 2.3.3 from here: https://developer.android.com/studio/archive.html and can revert the gradle to '2.3.0'
hey @farhan Thanks for the support. The error got resolved when I added following code in build.gradle at project level :
allprojects { repositories { jcenter() } }
@ankushgupta1393 , great, thanks for sharing that. It will help us in our updating task which we are planning ahead. For information which gradle version are you using currently ?
hey @farhan you can use Gradle version 4.1 or higher. I've updated version in distribution url to 4.3.1 - its latest gradle version. But now I'm getting following error -
Gradle sync failed: Execution failed for task ':buildSrc:plugins/edx-app-gradle-plugin:compileGroovy'.
Any idea how to solve this issue?
same problem,Failed to resolve: annotationProcessor thanks to @ankushgupta1393
I am not able to import a module of PayUMoney SDK in EDX project, however I got successful with other simple projects.
PayUMoney Sample App: https://github.com/payu-intrepos/Android-SDK-Sample-App