53
Views
12
Comments
Solved
OS-MABS-PLG-50003  Error| OutSystems
Question
Application Type
Mobile

How can I solve this problem? 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

Hi,

You shared in a double posting you made the OML. When inspecting it I noticed you use another ImagePicker plugin than I tested with.

You used: https://www.outsystems.com/forge/component-overview/1736/image-picker-plugin 

I used: https://www.outsystems.com/forge/component-overview/13209/cordovaimagepicker, so maybe you could try this one that builds without errors.

Also there is a sample app that has this implemented that you can look at this one:https://www.outsystems.com/forge/component-overview/13903/image-picker

Regards,

Daniel

UserImage.jpg
Woo sihyun

thank you I solved it thanks. 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Woo,

Did you, as suggested by the error message already read the documentation?

https://success.outsystems.com/support/errors/mabs_errors/os_mabs_plg_50003/

Regards,

Daniel 

UserImage.jpg
Woo sihyun

yes already read. 

Could you please check the log?

AndroidBuildLog.txt
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Can you try and publish using MABS version 8.1 instead of 9.0? 

UserImage.jpg
Woo sihyun


I tried by posting 5.2 and 8.1 but couldn't get it to publish. 


2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

I downloaded the plugin, created a mobile app to use it and was able to succesfully publish it and generate the Android APK package using MABS 9.0 (the latest version)

Can you share your OAP?


UserImage.jpg
Woo sihyun

Can you share the oml?

UserImage.jpg
Woo sihyun


it is impossible. This module is used by the company. 

UserImage.jpg
Woo sihyun

The final thing I want to do is get the photos from the gallery. I am getting this error in the process of using imagepicker in forge. 


I did the same as the demo, but this error occurs. 

However, in this part, I didn't select an image from the gallery, and the debug result goes next.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

What is your problem?

Creating the APK? The error you shared in your original message, or with your code when running the app?

UserImage.jpg
Woo sihyun

This is an attempt to change the MABS version to solve the Encoding Error. The final conclusion is to catch Logic's encoding error.



2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

Hi,

You shared in a double posting you made the OML. When inspecting it I noticed you use another ImagePicker plugin than I tested with.

You used: https://www.outsystems.com/forge/component-overview/1736/image-picker-plugin 

I used: https://www.outsystems.com/forge/component-overview/13209/cordovaimagepicker, so maybe you could try this one that builds without errors.

Also there is a sample app that has this implemented that you can look at this one:https://www.outsystems.com/forge/component-overview/13903/image-picker

Regards,

Daniel

UserImage.jpg
Woo sihyun

thank you I solved it thanks. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.