# Android: Failed to load SpiderMonkey library "libmozjs185.so"

**URL:** https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913
**Category:** Data Abstract
**Created:** [May 2, 2020, 1:49pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913 "2020-05-02T13:49:24Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 2, 2020, 1:49pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/1 "2020-05-02T13:49:25Z")

</div>

ToDo demo app opens fine in Windows and macOS. But in Android after session is established to server and records loaded this error:

 ![image](https://talk.remobjects.com/uploads/default/original/2X/e/e0b54d71ba811f41435068ce7d694b06457f2ebf.png)

Business Rules Scripting is added in project wizard, i guess this libmozjs185.so has something to do with that?

---

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 2, 2020, 2:45pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/2 "2020-05-02T14:45:54Z")

</div>

Tryed to compile to iOS and get this error:

![image](https://talk.remobjects.com/uploads/default/original/2X/5/5d9c644b39b236e1d752b62a082010e74e0cd1cf.png)

---

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 2, 2020, 8:40pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/3 "2020-05-02T20:40:11Z")

</div>

More challenges:

1. When creating FMX app with DA wizard, in iOS Project/Options/Version Info all info.plist keys are missing.

 ![image](https://talk.remobjects.com/uploads/default/original/2X/2/263d1d11975618a813449642fd1b4f48df8a4378.png)

1. If i first make FMX project and add with DA wizard DM and LogOnForms to existing project, ClientDataModule and LogOnForm is missing from Project/Options/Forms.

 ![image](https://talk.remobjects.com/uploads/default/original/2X/4/4555b5c21f68fcb7d10de0ee6fe0422e77cf463b.png)

Haven’t used Delhi for 15 years, so i don’t remember how to manually add forms there. But they are in project “Version info”:

 ![image](https://talk.remobjects.com/uploads/default/original/2X/5/5180fae4952cb2c4fa87821a020d631cd9fdfa9e.png)

---

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 2, 2020, 9:20pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/4 "2020-05-02T21:20:20Z")

</div>

Solved form showing problem, changed manually project “Version info” (can’t remember what it’s called):

 ![image](https://talk.remobjects.com/uploads/default/original/2X/4/42b90c398cac4eaf479604b3cfde4a30f5ddba93.png)

And can open app without errors about missing libmozjs185.so if i don’t check in DA wizard support for Business Rules Scripting. So is it so that libmozjs185.so is some kind of java language library and it’s missing from Android/iOS?

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 4, 2020, 6:37pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/5 "2020-05-04T18:37:01Z")

</div>

My apologies for the delayed reply, but the best person to help with this is off today due to a local holiday; I’ll make sure someone will the back to you, tomorrow!

yours,  
marc

---

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 4, 2020, 6:56pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/6 "2020-05-04T18:56:03Z")

</div>

No hurry, i’am not going to do any mobile app for a while. Just started making desktop app where Android is going to add info from phone call log, and mobile is not going to be first priority for a while.

Must say that this DA is awesome, i been able to establish working middle tier cloud backend with just in few days without any previous experience 🙂

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [May 5, 2020, 9:06am UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/7 "2020-05-05T09:06:47Z")

</div>

Hi,

> [@mikkoerva](#):
>
> ToDo demo app opens fine in Windows and macOS. But in Android after session is established to server and records loaded this error:
> 
> ![image](https://talk.remobjects.com/uploads/default/original/2X/e/e0b54d71ba811f41435068ce7d694b06457f2ebf.png)

this file can be found at `C:\Program Files (x86)\RemObjects Software\Data Abstract (Common)\Redist\Android\libmozjs185.so`

> [@mikkoerva](#):
>
> Tryed to compile to iOS and get this error:
> 
> ![image](https://talk.remobjects.com/uploads/default/original/2X/5/5d9c644b39b236e1d752b62a082010e74e0cd1cf.png)

Linux and iOS platforms weren’t supported.  
We support only Windows, MacOS and Android platforms.  
Required files can be found in `C:\Program Files (x86)\RemObjects Software\Data Abstract (Common)\Redist` folder

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [May 5, 2020, 1:16pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/8 "2020-05-05T13:16:24Z")

</div>

Thanks, logged as [bugs://84260](https://www.remobjects.com/portal/bugs/?id=84260)

---

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 5, 2020, 2:26pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/9 "2020-05-05T14:26:47Z")

</div>

Don’t know how to get this file to android phone. Found this topic about same question but link to instructions is broken.

> [@Android Application](https://talk.remobjects.com/t/android-application/10978/7):
>
> Hello! For the life of me I don’t understand how to add this properly. If I add it from the deployment screen it comes up as “File”, which is clearly wrong as other .so files are marked differently. So, either I am doing it wrong (possible) or I don’t know the exact relative path to use. Anyone knows? I bet this could be useful to a number of people, which is why I revived the topic.

Tried to search from net articles but didn’t find any. Can you provide some source where i can get instructions to get file to phone?

---

<div class="post-metadata">

### Author: ![mikkoerva](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/e9bcb4/32.png) [@mikkoerva](https://talk.remobjects.com/u/mikkoerva)
#### Post date: [May 5, 2020, 2:30pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/10 "2020-05-05T14:30:18Z")

</div>

> [@EvgenyK](#):
>
> Linux and iOS platforms weren’t supported.  
> We support only Windows, MacOS and Android platforms.

Ok, it’s no problem. Have noticed that with iPhones many things are not possible to accomplish because of Apples security policy, with Android life is easier.

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [May 5, 2020, 2:33pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/11 "2020-05-05T14:33:31Z")

</div>

> [@mikkoerva](#):
>
> Tried to search from net articles but didn’t find any. Can you provide some source where i can get instructions to get file to phone?

Check the [Deployment Manager](http://docwiki.embarcadero.com/RADStudio/Rio/en/Deployment_Manager) and [Deployment Manager - Adding files](http://docwiki.embarcadero.com/RADStudio/Rio/en/Deployment_Manager_-_Adding_files) articles.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [June 4, 2020, 5:12pm UTC](https://talk.remobjects.com/t/android-failed-to-load-spidermonkey-library-libmozjs185-so/21913/12 "2020-06-04T17:12:22Z")

</div>

[bugs://84260](https://www.remobjects.com/portal/bugs/?id=84260) got closed with status fixed.
