> Task :react-native-iap:compilePlayDebugKotlin FAILED #1535
Unanswered
amf-paulinho
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Any updates here ? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Man, i don't remember. But i am almost sure that problem was about manual
adjustments that often times are needed for components and dependencies. I
am sure this component plus dependencies need some manual code additions to
react native project files.
Only way for you to solve this is reading all instalation guide. And follow
by the book what's there
…On Tue, Dec 28, 2021, 5:58 AM Pierre ***@***.***> wrote:
Thank you for your reply; although that is super weird I don't see how a
reinstall could fix the Kotlin versioning issue..; :/
Do you happen to remember which *important detail* you missed during the
installation?
—
Reply to this email directly, view it on GitHub
<#1535 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS6QJC4S26TYXXIGFQXVF6LUTG7ATANCNFSM5FUML3XA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Node: v14.17.5
OS: Linux
"react": "17.0.2",
"react-native": "0.65.1",
"react-native-iap": "^8.0.0-rc.2",
I tried everything I read online about this error, usually, I can solve the problem by reading docs, etc... But I am stuck with this one.
amfpaulo@valhala:~/_src/jjx/jjxapp$ npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1253 file(s) to forward-jetify. Using 24 workers...
info JS server already running.
info Installing the app...
WARNING:: Please remove usages of
jcenter()
Maven repository from your build scripts and migrate your build to other Maven repositories.This repository is deprecated and it will be shut down in the future.
See http://developer.android.com/r/tools/jcenter-end-of-service for more information.
Currently detected usages in: root project 'jjxapp', project ':app', project ':react-native-background-downloader', ...
WARNING:: The specified Android SDK Build Tools version (29.0.2) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.1.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
297 actionable tasks: 2 executed, 295 up-to-date
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
e: /home/amfpaulo/_src/jjx/jjxapp/node_modules/react-native-iap/android/src/play/java/com/dooboolab/RNIap/RNIapPackage.kt: (48, 5): 'createJSModules' overrides nothing
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-iap:compilePlayDebugKotlin'.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
e: /home/amfpaulo/_src/jjx/jjxapp/node_modules/react-native-iap/android/src/play/java/com/dooboolab/RNIap/RNIapPackage.kt: (48, 5): 'createJSModules' overrides nothing
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-iap:compilePlayDebugKotlin'.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
info Run CLI with --verbose flag for more details.
Beta Was this translation helpful? Give feedback.
All reactions