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

Not Able to build the App with React native version 0.70.1 #42

Open
HradeshKumar opened this issue Oct 19, 2022 · 2 comments
Open

Not Able to build the App with React native version 0.70.1 #42

HradeshKumar opened this issue Oct 19, 2022 · 2 comments

Comments

@HradeshKumar
Copy link

Setup: -
dev env OS : windows
OS : Android
Framework : - React-Native
React Native version : 0.70.1
version : - 2.0.3

getting error on below line inside build.gradle : 'compile' is obsolete and has been replaced with 'implementation'

compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.android.support:appcompat-v7:26.1.0'

I have checked the code in master branch which have the 'implementation' in place of compile but when I go to TAG 2.0.3 I found the same code. latest version available to use is 2.0.3.

Could you replace 'compile' with 'implementation' for release version of 2.0.3?.

@notjulian
Copy link

you can try with this: workaround

or with patch-package

@Mynameisjohndev
Copy link

I did this however within the application when trying to use it this way here it keeps giving me this in the terminal

WARN new NativeEventEmitter() was called with a non-null argument without the required addListener method.
WARN new NativeEventEmitter() was called with a non-null argument without the required removeListeners method

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

3 participants