Android statio RN
1.新建个项目
npm install
npm WARN @typescript-eslint/[email protected] requires a peer of [email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @typescript-eslint/[email protected] requires a peer of [email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^3.0.0 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^3.17.0 || ^4 || ^5 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
removed 4 packages in 5.537s
19 packages are looking for funding
run `npm fund` for details
2.运行项目启动要正常
npm run
Lifecycle scripts included in RN:
start
react-native start
test
jest
available via `npm run-script`:
android
react-native run-android
ios
react-native run-ios
lint
eslint .
提示启动方式:
启动手机 安装run-android
flutter pub get
Running "flutter pub get" in stocks... 17.4s
flutter run
cpu profile cpu配置文件
cpu profile(table) cpu配置文件(表)
allocation profile(分配配置文件)
heap snapshot 堆快照
heap map