Skip to content
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

Building Apk failed after installing paystack dependency #53

Closed
studywithlawz opened this issue Apr 13, 2020 · 10 comments
Closed

Building Apk failed after installing paystack dependency #53

studywithlawz opened this issue Apr 13, 2020 · 10 comments

Comments

@studywithlawz
Copy link

Hello i am getting this error after I added flutter_paystack dependency to my project
`FAILURE: Build completed with 2 failures.

1: Task failed with an exception.


  • Where:

Build file 'C:\Android_Setup\flutter.pub-cache\hosted\pub.dartlang.org\flutter_paystack-1.0.3+1\android\build.gradle' line: 25

  • What went wrong:

A problem occurred evaluating project ':flutter_paystack'.

Could not find implementation class 'org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper' for plugin 'kotlin-android' specified in jar:file:/C:/Users/Administrator/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.3.61/d7dff46dc66708f3f01e5721178dd75403ea7853/kotlin-gradle-plugin-1.3.61.jar!/META-INF/gradle-plugins/kotlin-android.properties.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

==============================================================================

2: Task failed with an exception.


  • What went wrong:

A problem occurred configuring project ':flutter_paystack'.

compileSdkVersion is not specified.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

==============================================================================

BUILD FAILED in 1m 45s`

@oyeolamilekan
Copy link

https://github.com/oyeolamilekan/flutter_paystack_doc

I wrote a simple example app that explains different ways of how you can easily integrate flutter_paystack into your apps.
Each implementation is divided into a different screen, so you can start using it right away.

@studywithlawz
Copy link
Author

Hello

https://github.com/oyeolamilekan/flutter_paystack_doc

I wrote a simple example app that explains different ways of how you can easily integrate flutter_paystack into your apps.
Each implementation is divided into a different screen, so you can start using it right away.

Please this is not related to my problem

@studywithlawz
Copy link
Author

I used java for my project instead of kotlin, could this be the problem?

@oyeolamilekan
Copy link

okay, got to the folder android/app/build.gradle on your flutter app, and kindly check if the compileSdkVersion is specified.

@oyeolamilekan
Copy link

if this doesn't work, then I recommend we have a skype meeting where we can both look at the problem.

@oyeolamilekan
Copy link

@oyeolamilekan
Copy link

i couldn't add you, try adding me johnsonoye34@gmail.com

@oyeolamilekan
Copy link

live:johnsonoye34

@wilburx9
Copy link
Owner

@studywithlawz Please, have you been able to resolve this issue?

@wilburx9
Copy link
Owner

@studywithlawz Please, I am closing this issue since there's been no response for some time. Please, feel free to reopen if the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants