-
Notifications
You must be signed in to change notification settings - Fork 36
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
2.1.0 - Android getting "Task :adyen_react-native:compileReleaseKotlin FAILED" #485
Comments
Hey @simonarcher What version of React Native, Expo(if any), Android Studio, Java, Gradle Wrapper you are using? In 2.1.0 we have specified |
@descorp thanks for the quick reply! So to answer your questions
|
hm.. tomorrow I will try to replicate your setup to see if I can reproduce this issue. kotlinOptions {
jvmTarget = "1.8"
} |
cool will give that a try in the meantime and let you know the results... :) |
Hey guys I also had a same issue with latest version and had to remove that part that is added to be able to build android app. Removed this as a temp solution and after that i can build the app again:
|
Yeah can also confirm removing this has allowed me to compile the app successfully with no issues. |
Thanks @devic021 @simonarcher 💚 We will investigate how to make this work for everyone! |
I have the same issue but then with
Expo SDK 50 |
Thanks @zegenerative We observe this problem for RN 74+ and working on making support for both old and new versions. |
Released 2.1.1. |
Thanks, i will test it right away! |
I am using following package configuration, but still getting this error.
FAILURE: Build failed with an exception.
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain |
Hey @viru-rathore This is the opposite error :) If we keep
If we remove it:
Could you check if 2.1.0 will work for you?
Unfortunately, to use Gradle toolchain support, one must use the Android Gradle plugin (AGP) version 8.1.0-alpha09 or higher. As you might know default gradle version for RN is 7.3.1 Could you list your:
|
FYI I can confirm that our latest "Adyen Android SDK" only works on React-Native 0.73+ due to android target limitation. To make this work for RN 0.72 and below, one needs to:
|
This worked for me with given combination. |
I can also confirm after updating to so seems to be all good my side! 🙏 thank you! (will mark this as closed :) ) |
Version 2.2.0 has been released. |
Describe the bug
At the moment I have the
@adyen/react-native
package of2.0.1
running fine.However, when I try and update to the latest
2.1.0
of the package I get the following error when trying to compile my Android applicationAnd Im not entirely sure how to resolve this.
my
build.gradle
file looks like thisAnd this only seems to be happening on
2.1.0
update and2.0.1
seems fine, and I cant seem to identify in breaking change or updates I may need to do from the release notes.any help or guidance on this would be most appreciated! :)
thanks!
The text was updated successfully, but these errors were encountered: