我安装了 react-native-push-notification 并收到此错误。我手动链接了
> Task :app:compileDebugJavaWithJavac FAILED
C:\Users\Zarzu Victor\PayReminder1\android\app\src\main\java\com\payreminder1\MainApplication.java:16: error: package com.dieam.reactnativepushnotification does not exist
import com.dieam.reactnativepushnotification.ReactNativePushNotificationPackage;
^
C:\Users\Zarzu Victor\PayReminder1\android\app\src\main\java\com\payreminder1\MainApplication.java:39: error: cannot find symbol
new ReactNativePushNotificationPackage()
^
symbol: class ReactNativePushNotificationPackage
2 errors
FAILURE: Build failed with an exception.