EAS Build / dev client debugging - crashes on attach

Please provide the following:

  1. SDK Version: 42.0.1
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Have built using managed workflow and run / debugged using Expo Go with no problems. To move forward I have built a dev client using eas / expo-dev-client with no other changes. The client builds and starts to run but when I try to attach a debugger immediately crashes. (building an apk it seems to run ok). Am I missing something - I was expecting to be able to debug as before in Expo Go. (apologies this is my first venture into eas / expo-dev-client if I have missed a step):

Running command:
eas build --profile development --platform android
to build then
expo start --dev-client --profile development
to debug

java.lang.AssertionError: No source URL loaded, have you initialised the instance?
at com.facebook.infer.annotation.Assertions.assertNotNull(Assertions.java:35)
at com.facebook.react.modules.debug.SourceCodeModule.getTypedExportedConstants(SourceCodeModule.java:39)
at com.facebook.fbreact.specs.NativeSourceCodeSpec.getConstants(NativeSourceCodeSpec.java:35)
at com.facebook.react.bridge.JavaModuleWrapper.getConstants(JavaModuleWrapper.java:129)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:224)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
at java.lang.Thread.run(Thread.java:919)

“build”: {
“release”: {},
“preview”: {
“android”: {
“buildType”: “apk”
“development”: {
“developmentClient”: true,
“distribution”: “internal”,
“android”: {
“image”: “default”,
“env”: {
“PLATFORM”: “android”


“main”: “node_modules/expo/AppEntry.js”,
“scripts”: {
“start”: “expo start”,
“android”: “expo start --android”,
“ios”: “expo start --ios”,
“web”: “expo start --web”,
“eject”: “expo eject”,
“lint”: “eslint . --ext .tsx”
“dependencies”: {
“expo/vector-icons”: “^12.0.0”,
“react-native-async-storage/async-storage”: “~1.15.0”,
“react-native-picker/picker”: “1.16.1”,
“react-navigation/native”: “^6.0.2”,
“react-navigation/stack”: “^6.0.7”,
“expo”: “~42.0.1”,
“expo-ads-admob”: “~10.1.2”,
“expo-auth-session”: “~3.3.1”,
“expo-blur”: “~9.0.3”,
“expo-dev-client”: “^0.4.7”,
“expo-location”: “~12.1.2”,
“expo-random”: “~11.2.0”,
“expo-web-browser”: “~9.2.0”,
“prop-types”: “^15.7.2”,
“react”: “16.13.1”,
“react-dom”: “16.13.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz”,
“react-native-elements”: “^3.4.2”,
“react-native-gesture-handler”: “~1.10.2”,
“react-native-maps”: “^0.28.0”,
“react-native-safe-area-context”: “3.2.0”,
“react-native-screens”: “~3.4.0”,
“react-native-svg”: “12.1.1”,
“react-native-web”: “^0.13.12”,
“react-native-webview”: “11.6.2”
“devDependencies”: {
“babel/core”: “^7.9.0”,
“types/react”: “~16.9.35”,
“types/react-native”: “~0.63.2”,
“typescript-eslint/eslint-plugin”: “^4.29.1”,
“typescript-eslint/parser”: “^4.29.1”,
“eslint”: “^7.32.0”,
“typescript”: “~4.0.0”
“private”: true

Any help / inferences would be appreciated as I’m struggling to know what to try next.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.