[英]React Native app crashed after fetching data
我有奇怪的問題。 我在 iOS 上工作反應本機應用程序,但在 android 上它在獲取數據后崩潰而沒有錯誤。 當我彈出 expo 應用程序時,它開始發生,在此之前它起作用了。 如果我刪除網絡請求應用程序有效
可能是什么問題?
在app/build.gradle
需要換行
從implementation "com.squareup.okhttp3:okhttp:4.7.2"
到
api(platform("com.squareup.okhttp3:okhttp-bom:4.7.2"))
api("com.squareup.okhttp3:okhttp")
api("com.squareup.okhttp3:logging-interceptor")
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.