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
I'm trying to implement this library and can't build android app. Looks like compile project(':react-native-exit-app') is deprecated and implementation need to be used instead.
Could you please help with this?
Error:
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not find method compile() for arguments [project ':react-native-exit-app'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
The text was updated successfully, but these errors were encountered:
Indeed, over time 'compile' got deprecated... you can simply replace it be 'implementation'.
The manual steps to link the library are no longer needed with the latest React Native releases (I think?), they are only in the readme because in early React Native versions this was a manual step.
Does changing to 'implementation' fix your problem?
Hi!
I'm trying to implement this library and can't build android app. Looks like
compile project(':react-native-exit-app')
is deprecated andimplementation
need to be used instead.Could you please help with this?
Error:
The text was updated successfully, but these errors were encountered: