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

Android compilation error - deprecated api #110

Open
stochris opened this issue Nov 8, 2018 · 1 comment
Open

Android compilation error - deprecated api #110

stochris opened this issue Nov 8, 2018 · 1 comment

Comments

@stochris
Copy link

stochris commented Nov 8, 2018

I get the following error when trying to compile in a project created with expo-cli using sdk version 31.

/Users/cristi/code/automemo/update-mobile-good/node_modules/react-native-braintree-xplat/android/src/main/java/com/pw/droplet/braintree/Braintree.java:33: error: Braintree is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener
public class Braintree extends ReactContextBaseJavaModule implements ActivityEventListener {
       ^
/Users/cristi/code/automemo/update-mobile-good/node_modules/react-native-braintree-xplat/android/src/main/java/com/pw/droplet/braintree/Braintree.java:239: error: method does not override or implement a method from a supertype
  @Override
  ^
Note: /Users/cristi/code/automemo/update-mobile-good/node_modules/react-native-braintree-xplat/android/src/main/java/com/pw/droplet/braintree/Braintree.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors

The compile used to work in an older project ( ~ 1 month ago ).

The case where I'm having the problem is a brand new project.

Any ideeas ?

@bbaydev
Copy link

bbaydev commented Aug 15, 2019

@stochris Did you ever manage to get a resolution to this?

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

2 participants