npx jetify -r命令行中-r的含义是什么?



npx jetify -r命令行中的-r是什么

我需要知道npx参数-r它是做什么的?

我在包中设置了一个脚本。json作为

postinstall: npx jetify -r

注意:我使用最新的react-native (0.63)

但是它在所有本地构建中都通过了。但它在应用圈的云化建设中失败了。

我需要解决以下问题

node_modules/react-native-calendar-events/android/src/main/java/com/calendarevents/RNCalendarEvents.java:104: error: cannot find symbol

int writePermission = ContextCompat.checkSelfPermission(reactContext, Manifest.permission.WRITE_CALENDAR)
node_modules/react-native-calendar-events/android/src/main/java/com/calendarevents/RNCalendarEvents.java:13: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;

-r为reverse mode的均值

whatreverse mode?

像u这样的还不能迁移到AndroidX,但是库是使用AndroidX迁移和发布的

最新更新