PS C:\Users\admin> yarn list react-native
yarn list v1.22.22
warning package.json: No license field
error No lockfile in this directory. Run yarn install to generate one.
info Visit https://yarnpkg.com/en/docs/cli/list for documentation about this command.
PS C:\Users\admin>
AS版本2024
node版本20.15.0
根据官网设置了环境变量,但是SDK里面没有 [tools] 目录
但是Debug android 报错:
Launching the application
An error occurred while launching the application. 执行命令 d:\ADMIN\Project\AwesomeProject\node_modules.bin\react-native.cmd run-android --no-packager 时出错 (error code 101) (error code 303)
RN配置:
PS C:\Users\admin> npm list react-native admin@ C:\Users\admin
-- react-native-webview@13.10.4
-- react-native@0.74.2-- @react-native/virtualized-lists@0.74.84
-- react-native@0.74.2 dedupedPS C:\Users\admin> yarn list react-native yarn list v1.22.22 warning package.json: No license field error No lockfile in this directory. Run
yarn install
to generate one. info Visit https://yarnpkg.com/en/docs/cli/list for documentation about this command. PS C:\Users\admin>AS版本2024 node版本20.15.0 根据官网设置了环境变量,但是SDK里面没有 [tools] 目录 但是Debug android 报错: Launching the application An error occurred while launching the application. 执行命令 d:\ADMIN\Project\AwesomeProject\node_modules.bin\react-native.cmd run-android --no-packager 时出错 (error code 101) (error code 303)
环境配置图片:![SDK](https://github.com/reactnativecn/react-native-website/assets/86549951/aba7542e-7621-412e-9a95-bc5417aaae61)