DEV Community

Discussion on: React Native Local iOS and Android Notifications

Collapse
 
ahmetozalp profile image
Ahmet • Edited

Problem :(

  • Where:
    Build file '/Users/ahmetozalp/Desktop/reactnative/OtoAnaliz/node_modules/react-native-push-notification/android/build.gradle' line: 51

  • What went wrong:
    A problem occurred evaluating project ':react-native-push-notification'.

    Could not find method testImplementation() for arguments [junit:junit:4.12] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • 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.

Collapse
 
jeff_codes profile image
Jeff Edmondson

Try running cd android && ./gradlew clean. Also was this problem when trying to clone and run the repo or incorporate the package into a project of your own?