[CameraPreview Plugin] Error generate apk

Forge Component
(3)
Published on 14 Aug by Hugo 
3 votes
Published on 14 Aug by Hugo 

Hello,

I tried to use this plugin in a new espace on outsystems 11 and i got an android build error when i was generate the apk.

Part of the error:

"Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/tmp/build/source/platforms/android/AndroidManifest.xml:28:13-35 Error:
Attribute meta-data#android.support.VERSION@value value=(26.1.0) from [com.android.support:support-v4:26.1.0] AndroidManifest.xml:28:13-35
is also present at [com.android.support:exifinterface:25.4.0] AndroidManifest.xml:25:13-35 value=(25.4.0).
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:26:9-28:38 to override."

I add the full log on attachment.


Can someone help me?


Thank you

Hi Tiago,

This was caused by an incompatibility due to a new release of MABS:

 https://success.outsystems.com/Support/Release_Notes/Mobile_Apps_Build_Service#MABS_Version_4.1 

I will need to change the plugin. Meanwhile, can you check in your environment if you have the option to choose one specific MABS version, as described here

If you are able to choose MABS Version 4.0, you will be successful.

I will let you know when there is a new of plugin.


Best regards,

Daniel Martins

Solution

New version of the plugin is now available.


Could you please test on android? Android package is now built successfully. However I was only able to test the new version on IOS. Could you please check and let me know your feedback?


Best regards,

Daniel Martins

Solution

Hello,

Now i can generate the apk.

The option that you show for choose the MABS is not available on free clouds.

Thank you for the fast reply.

Best regards,

Tiago Alves