大佬教程收集整理的这篇文章主要介绍了android – 无法加载exp://出错了,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
import Expo from 'expo'; import React from 'react'; import { StyleSheet,Text,View } from 'react-native'; class App extends React.Component { render() { return ( <View style={styles.container}> <Text>updating!</Text> </View> ); } } const styles = StyleSheet.create({ container: { flex: 1,BACkgroundColor: '#fff',alignItems: 'center',justifyContent: 'center',},}); Expo.registerRootComponent(App);
当我在设备上运行它时,它在Android设备上显示以下错误.我尝试多次在XDE中重启,但它没有帮助我.
Dependency graph loaded. 11:19:21 AM StarTing React Native packager... 11:19:24 AM ScAnning 528 folders for symlinks in D:\Expo\first-proj\first-proj\node_modules (18ms) 11:19:24 AM Loading dependency graph. 11:19:24 AM Running packager on port 19001. 11:19:25 AM 11:19:33 AM Project opened! You can Now use the "Share" or "Device" buttons to view your project. 11:19:44 AM opening on Android device 11:19:54 AM Dependency graph loaded. 11:21:41 AM opening on Android device 11:23:31 AM opening on Android device
错误:
There was an unhandled error: Could not load exp:// Stack Trace:
任何人都可以帮我解决问题吗?
Localhost选项可能也可以,但根据Expo Debugging docs:
此外,这是我几个月前写的一个视觉信息性答案,也可能有所帮助:How do I run an app on a real iOS device using Expo?
以上是大佬教程为你收集整理的android – 无法加载exp://出错了全部内容,希望文章能够帮你解决android – 无法加载exp://出错了所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。