44
Views
5
Comments
Error during app generation phase

hello everyone, 


I installed the crashlytics plugin with the following documentation :

 https://success.outsystems.com/documentation/11/extensibility_and_integration/mobile_plugins/firebase_plugins/?_gl=1*pvai9n*_ga*MTk0NzY1ODcyNi4xNjQ3MzQwNTQ2*_ga_ZD4DTMHWR2*MTcwOTg5NTExNS4xOTkuMS4xNzA5ODk1MzMxLjU0LjAuMA..



After adding the google-service.json file and declaring in the extensibility configurations as per the documentation, upon generating the app I get the following error :




could you please tell me what could be the causes and possible solutions ? thank you very much 

2022-05-19 14-01-44
Varada Rajan

Hi Andrea, 

The Error screen snap indicates that there is some missing resource declared in the extensibility configurations of your module. please open your modules extensibility configurations property as referred in below screen snap.

UserImage.jpg
andrea farinella

Hi Varada, thank you very much for your response.


Actually that's exactly why I don't understand this error. Actually I, I have correctly executed the steps as the guide shows me, which are as follows :

1) I created the file google-services.json, from firebase portal and added it in the resources section of my project 


2) I declared in the extensibility configurations the following step, as described by guide:


I reported only the android part because the project does not include the ios part.


but unfortunately i always get that error when generating the app.



thank you very much and best regards, 

Andrea

2022-05-19 14-01-44
Varada Rajan

please check these two points:
1. If the property set to the resource added is "Deploy to target Directory".
2. If the extensibility config mentioned meets below mentioned Resource criteria, as indicated below in the screen snap and the link mentioned.
Documentation-check

UserImage.jpg
andrea farinella

hello varada,


these days I did some more testing: 

in particular I added the firebase plugin in an empty and clean app, to see how it behaved:

I performed all the steps the guide tells me and in this case the app is correctly generated, without any kind of error.


Now in my app, where I need to add the firebase plugin for error checking, I noticed that I always have different errors, so, I deduce that the firebase plugin conflicts with the other plugins, custom and non-custom, that are present inside the app where I need to add the firebase plugin.


This is really a problem, because we can't estimate how many errors we can get during generation, considering that our app is very large so it has within it a large number of plugins added.


I wanted to ask you if there was a possibility to bypass the checks with the other plugins, or if you could advise me who to consult for this kind of problem.


As another thing instead, I was also advised to add the firebase plugin inside the android gradle file, so I have the following questions :


- do you think this could be a possible solution ?

- did it ever happen to you to modify the project gradle ?

- Is it possible to modify the gradle file ? if yes, how ?




Thank you very much,

Andrea

2022-05-19 14-01-44
Varada Rajan

Hi Andrea,

Starting to mention that there is no previous experience of mine dealing with project Gradle,

Even if there are other custom/non-custom plugin references residing in your app, that should not affect other plugin reference. 
now that you got it working on a new empty app, better to re-publish the Plugin(Delete and re-install), then refresh dependencies in the Consumer app and then re-generate, Hope this Works!!

Thanks & Regards, 
Varada Rajan
 

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