You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add package to project : npm i @google/react-native-make-payment
Compile project : npm run android
Build FAILS
Expected behavior
Build should success after installing package
Desktop
OS: Ubuntu 22.04
Additional context
Error log :
Task :google_react-native-make-payment:compileDebugKotlin FAILED
e: file:///home/****/workspace/test-google-payment/node_modules/@google/react-native-make-payment/android/src/main/java/com/makepayment/MakePaymentModule.kt:99:32 Type mismatch: inferred type is Exception? but Throwable was expected
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':google_react-native-make-payment:compileDebugKotlin'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
The text was updated successfully, but these errors were encountered:
Describe the bug
Compilation error when building project using the package
To Reproduce
Steps to reproduce the behavior:
npx create-expo-app@latest
npx expo prebuild --platform android
npm run android
npm i @google/react-native-make-payment
npm run android
Expected behavior
Build should success after installing package
Desktop
Additional context
Error log :
FAILURE: Build failed with an exception.
Execution failed for task ':google_react-native-make-payment:compileDebugKotlin'.
The text was updated successfully, but these errors were encountered: