通过裸机应用程序的OTA更新会推送OTA更新后,我的React Native应用在Android上崩溃

时间:2020-07-01 01:48:47

标签: react-native expo

我正在使用我的裸露的expo应用程序在Android上使用expo进行OTA更新,特别是每次我按下更新后,它将在启动时崩溃,但是在第二次尝试打开该应用程序时,包括新更新在内,它都可以正常工作。 这是我app.js文件中更新功能的代码。

 <androidx.cardview.widget.CardView
                android:id="@+id/card_box_register"
                android:layout_width="match_parent"
                android:layout_height="360dp"
                android:layout_marginStart="16dp"
                android:layout_marginTop="226dp"
                android:layout_marginEnd="16dp"
                android:layout_marginBottom="16dp"
                card_view:cardBackgroundColor="@color/white"
                card_view:cardCornerRadius="36dp"
                card_view:cardElevation="8dp"/>

0 个答案:

没有答案