180
Views
11
Comments
[Firebase Mobile] [MABS 8.0] cannot build Android app with Firebase plugin
firebase-mobile
Mobile icon
Forge asset by David Sousa
Application Type
Mobile
Service Studio Version
11.12.7 (Build 51940)
Platform Version
11.11.2 (Build 29611)

Hello everyone,

I've try to Build Firebase plugin with MABS 8.0.

It  build success on iOS version, but Android failed with error.
Build failed with the following error: Couldn't install the Cordova plugin cordova-plugin-firebase': TypeError: Cannot read property '1.

Firebase Mobile plugin github link: 
https://github.com/TruewindIT/cordova-plugin-firebase-only-analytics-notifications#1.0

MABS 8.0: Android failed


MABS 7.2: Both iOS and Android success to build the app

2024-04-02 13-23-43
Gonçalo Ferraria
Champion

Hi,

We currently working to make this component compatible with the mabs 8.

In the alternative, you can generate your app with mabs 7.2, which is a supported version.

Thank you.

2022-07-08 12-19-58
Eduardo Benites

Hi Gonçalo!

We waiting the upload of component update for version MABS 8.0.

We have also this problem!


Thanks

Eduardo Benites


UserImage.jpg
Joel Pickin

Hey Gonçalo!


Is there an update on when this will be available?

We are having the same issue and would like to start moving our users over to version 8.0 as soon as possible to avoid any issues when 7.2 gets deprecated on March 24th.

Appreciate you looking into it to solve it.


Thanks

Joel Pickin

UserImage.jpg
Aneena Susan Thomas

Hi Goncalo,


How to change the mabs version?

2019-07-25 15-05-16
Henrique Silva

Hi Aneena,

To change your MABS version you need to go to Service Center -> Applications -> (Select your application) -> Distribute -> Configure(on the Native Platforms table, for the platform you want to build) -> Specific version (For MABS)


UserImage.jpg
Aneena Susan Thomas

Hey, Thanks for your reply but I don't see those options in my service center.

Version: 11.50.18/Build 53309

2019-03-26 09-46-50
Louis

I think you are in Service Studio.

Service Center is the web page like  https://"yourDomain.outsystemscloud.com"/ServiceCenter/ 

You can also click gear wheel button to open the service center web too.

UserImage.jpg
Aneena Susan Thomas
2022-05-19 09-39-13
David Sousa

Hi everyone,

The newest version of the plugin (1.0.11) is now compatible with both MABS 8.0 and 7.2 and you shouldn't encounter this error anymore when generating an Android build.

Cheers,

David

2022-02-22 16-50-05
Felipe Lorran Queiroz Fernandes

Hi David,

here a problem arose after updating the plugin to version 1.0.11...

[2022-01-26T15:52:17.800Z] [ERROR] [Build] Note: Some input files use or override a deprecated API.

[2022-01-26T15:52:17.800Z] [ERROR] [Build] Note: Recompile with -Xlint:deprecation for details.

[2022-01-26T15:52:17.800Z] [ERROR] [Build] FAILURE: Build failed with an exception.

[2022-01-26T15:52:17.800Z] [ERROR] [Build] * What went wrong:

[2022-01-26T15:52:17.800Z] [ERROR] [Build] Execution failed for task ':app:processDebugResources'.

[2022-01-26T15:52:17.800Z] [ERROR] [Build] > In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   1, 16.0.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   Dependency failing: com.github.Outsystems:OneSignal-Android-SDK:f705aeed5c -> com.google.android.gms:play-services-locat

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   ion@[10.2.1, 16.0.99], but play-services-location version was 16.0.0.

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   ifact with the issue.

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   -- Project 'app' depends onto com.google.android.gms:play-services-location@16.0.0

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   -- Project 'app' depends onto com.google.android.gms:play-services-location@{strictly 16.0.0}

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   -- Project 'app' depends onto com.github.Outsystems:OneSignal-Android-SDK@f705aeed5c

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   -- Project 'app' depends onto com.github.Outsystems:OneSignal-Android-SDK@{strictly f705aeed5c}

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   -- Project 'app' depends onto com.google.android.gms:play-services-location@15.0.0

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b

[2022-01-26T15:52:17.800Z] [ERROR] [Build]   uild.gradle file.

[2022-01-26T15:52:17.800Z] [ERROR] [Build] * Try:

[2022-01-26T15:52:17.800Z] [ERROR] [Build] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

[2022-01-26T15:52:17.800Z] [ERROR] [Build] * Get more help at https://help.gradle.org

[2022-01-26T15:52:17.800Z] [ERROR] [Build] BUILD FAILED in 1m 55s

[2022-01-26T15:52:17.800Z] [ERROR] [Build] Command failed with exit code 1: source/platforms/android/gradlew cdvBuildDebug -b source/platforms/android/build.gradle --parallel

[2022-01-26T15:52:17.800Z] [ERROR] [Build] Build failed with the following error: There was an error compiling the Cordova plugin . Check your plugin configurations and try again.


Anyone with the same problem?

2022-05-19 09-39-13
David Sousa

Hey Felipe,

The problem is conflicts between other plugins as you can see from this part of the log:

In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.1, 16.0.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

I suggest that you review which version of the Google Play services your plugins add as dependencies to your build.

Cheers

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