You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
启动安卓项目-Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
#905
Open
isHezhou opened this issue
Nov 8, 2024
· 2 comments
Task :app:installDebug
Installing APK 'app-debug.apk' on 'Pixel_8_API_33(AVD) - 13' for :app:debug
Installed on 1 device.
BUILD SUCCESSFUL in 2m 51s
62 actionable tasks: 13 executed, 49 up-to-date
info Connecting to the development server...
8081
info Starting the app...
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.guguwuapp/.MainActivity }
异常信息
Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
异常示例
环境描述
System
OS: Windows 10 10.0.19045
CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900 @ 2.50GHz
Memory: 1.01 GB / 15.87 GB
Binaries
Node: 21.6.1
yarn: 1.22.22
npm: 10.2.4
Package
react: 18.3.1
react-native: 0.76.1
JDK
JDK: 17.0.7
The text was updated successfully, but these errors were encountered:
前置操作
在RN项目中,运行
npm run android
命令控制台信息
异常信息
Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
异常示例
环境描述
The text was updated successfully, but these errors were encountered: