Skip to content

[Android] Cannot access 'ViewManagerWithGeneratedInterface' #1919

Closed
@huextrat

Description

@huextrat

Describe the bug

On Android v0.45.0 I have the following error on build

RN 0.77.2 with old arch

Additional context

> Task :stripe_stripe-react-native:dataBindingGenBaseClassesRelease
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt:12:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.AuBECSDebitFormViewManager'. Check your module classpath for missing or conflicting dependencies.

e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt:20:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.AuBECSDebitFormViewManager'. Check your module classpath for missing or conflicting dependencies.
> Task :stripe_stripe-react-native:compileReleaseKotlin
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt:13:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFieldViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt:22:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFieldViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt:35:5 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFieldViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt:45:7 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFieldViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt:47:5 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFieldViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt:13:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFormViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt:22:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFormViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt:100:5 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFormViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt:110:7 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFormViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt:112:5 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.CardFormViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt:27:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.EmbeddedPaymentElementViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt:40:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.EmbeddedPaymentElementViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt:57:25 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.EmbeddedPaymentElementViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt:74:24 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.EmbeddedPaymentElementViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt:10:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.GooglePayButtonManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt:18:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.GooglePayButtonManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt:10:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.StripeContainerManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt:18:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.StripeContainerManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetViewManager.kt:13:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.addresssheet.AddressSheetViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetViewManager.kt:21:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.addresssheet.AddressSheetViewManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.kt:15:1 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.pushprovisioning.AddToWalletButtonManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.kt:25:32 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.pushprovisioning.AddToWalletButtonManager'. Check your module classpath for missing or conflicting dependencies.
e: file:///home/runner/_work/react-native-app/react-native-app/node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.kt:38:41 Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'com.reactnativestripesdk.pushprovisioning.AddToWalletButtonManager'. Check your module classpath for missing or conflicting dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions