Exporting issues

I made my own custom mask and wanted to export it to try out. When i try it in Studio (Web, live preview) it works, but when i export it in Android project and build, it doesn’t show me any mask, just empty face. I am confused. Could you guide me pls?

In the same time when i try DeepAR sample masks it works good.

But when i export Templates masks form Studio it doesn’t work. Idk what’s wrong with this export

Are you adding the appropriate effect in the application code as well? One of the masks I tried works correctly.

Honestly i don’t know what do you mean by appropriate. Thank you!

ср, 27 нояб. 2024 г. в 12:28, Igor Aradski via DeepAR Community Forum <notifications@deepar.discoursemail.com>:

After adding a .deepar file to the project in the assets folder where other effects are you’ll need to add it to the effects list in the code: effects.add("troll-mask 3.deepar"); where other effects are added.

Yes, i did that

ср, 27 нояб. 2024 г. в 13:27, Igor Aradski via DeepAR Community Forum <notifications@deepar.discoursemail.com>:

I just checked the mask “troll-mask 3.deepar” which you sent to my colleague. It doesn’t work for me.

i work in “quickstart-android-java-master” project

ср, 27 нояб. 2024 г. в 13:47, Илья Мороз <orthodox.ilya.web@gmail.com>:

Could you check what version of the DeepAR SDK you are using and upgrade to the latest available (v5.6.12.)?

How can i check the version?

ср, 27 нояб. 2024 г. в 14:26, Igor Aradski via DeepAR Community Forum <notifications@deepar.discoursemail.com>:

You can see what version is set in the build.gradle file. It should be this: implementation 'ai.deepar.ar:DeepAR:5.6.12'.

Okay thank you. And how can I upgrade it?

ср, 27 нояб. 2024 г. в 14:41, Igor Aradski via DeepAR Community Forum <notifications@deepar.discoursemail.com>:

Okay I figured. It works now thank you

ср, 27 нояб. 2024 г. в 16:57, Илья Мороз <orthodox.ilya.web@gmail.com>:

Glad to hear that and happy to have helped!

Yes. I tried 1 way with the server through maven. It gave me an error.
So i used 2nd way

ср, 27 нояб. 2024 г. в 18:19, Igor Aradski via DeepAR Community Forum <notifications@deepar.discoursemail.com>: