wuba / taro-playground

The Taro Playground App is a cross-platform application developed using Taro, to help developers develop and debug Taro applications.
https://wuba.github.io/taro-playground/
Apache License 2.0
248 stars 51 forks source link

全新taro init什么都不做创建新项目安卓启动报错 #44

Closed eugle closed 2 years ago

eugle commented 2 years ago

相关平台

React Native

使用框架

React

环境信息

macos monterey 12.2.1
nodejs: v12.16.3
taro:  v3.4.1
react-native: ^0.66.0

复现步骤

taro init 选择rn模版 yarn upgradePeerdeps yarn start

期望结果

成功打开app

实际结果

扫码后,启动了app,但是红屏报错

错误截图如下

image

请问,这个和本地安卓环境应该无关吧,ios是正常的

javac --version javac 17.0.2

尝试解决

使用测试手机 华为meta 30pro 更换手机小米 note 结果是一样的

zhiqingchen commented 2 years ago

用的哪个版本的playground? 不建议使用beta版本

eugle commented 2 years ago

使用的是playground版本是: v1.4.1-beta.6 我尝试换成:v1.3.9

更换后已正常