Problem with detached app. ':expoview' could not be found

U need to change the lines that says /* REMOVED_WHEN_DISTRIBUTING_FROM_HERE */

/* ADD THIS */
  implementation('host.exp.exponent:expoview:SDKVERSION@aar') {
    transitive = true
    exclude group: 'com.squareup.okhttp3', module: 'okhttp'
    exclude group: 'com.squareup.okhttp3', module: 'okhttp-urlconnection'
  }
/* ADD THIS */
  
  /* REMOVED_WHEN_DISTRIBUTING_FROM_HERE
  implementation(project(path: ':expoview')) {
    // Excluding okhttp3 included by expo-file-system
    exclude group: 'com.squareup.okhttp3', module: 'okhttp'
    exclude group: 'com.squareup.okhttp3', module: 'okhttp-urlconnection'
  }
  REMOVED_WHEN_DISTRIBUTING_TO_HERE */

I hope i’ve helped you @smartcontrol

1 Like