What went wrong:
A problem occurred evaluating project ':app'.
Could not find method compile() for arguments [project ':sp-react-native-mqtt'] on project ':app' of type org.gradle.api.Project.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Build file '/Projects/meuprojeto/android/app/build.gradle' line: 3
What went wrong: A problem occurred evaluating project ':app'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.