# Unable to load script

**URL:** <https://forum.mattermost.com/t/unable-to-load-script/8772>\
**Category:** Troubleshooting\
**Created:** [January 7, 2020, 9:55am UTC](https://forum.mattermost.com/t/unable-to-load-script/8772 "2020-01-07T09:55:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anta40](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/anta40/32/3453_2.png) [@anta40](https://forum.mattermost.com/u/anta40)\
**Post date:** [January 7, 2020, 9:55am UTC](https://forum.mattermost.com/t/unable-to-load-script/8772/1 "2020-01-07T09:55:30Z")

</div>

Let’s say my company’s Mattermost server URL is: [https://internalchat.myawesomecompany.net](https://internalchat.myawesomecompany.net)  
So I created **assets/override/config.json** :

```auto
{
  "DefaultServerUrl": "https://internalchat.myawesomecompany.net",
  "AutoSelectServerUrl": true
}

```

And after providing my Android keystore file, I build the APK by invoking **make build-android**  
Yes, the APK was succesfully built. But when running it, I encountered this error:

 ![unab](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/5/55a6bcdef3e6ba59f09b0f967ef87609435f9f77.jpeg)

Then just a blank white screen with Mattermost logo. What’s wrong here?

---

<div class="post-metadata">

**Author:** ![MaxiStyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/maxistyle/32/9312_2.png) [@MaxiStyle](https://forum.mattermost.com/u/MaxiStyle)\
**Post date:** [December 1, 2025, 6:01am UTC](https://forum.mattermost.com/t/unable-to-load-script/8772/2 "2025-12-01T06:01:29Z")

</div>

Hi,  
Before building, you need to create a bundle:  
`npx react-native bundle --platform android --dev false --entry-file index.ts --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res`
