Android Question FirebaseAd integration

Graeme Tacon

Member
Licensed User
Longtime User
Hi

I'm struggling to get FirebaseAds into my app. I've followed the link here:
https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/

but when I add this line into the manifest,
CreateResourceFromFile("google-services", "google-services.json")

it won't compile:
B4A Version: 7.80
Parsing code. (0.00s)
Compiling code. Error
Object reference not set to an instance of an object.

Where should I save google-services.json - I've tried several places!!
 

DonManfred

Expert
Licensed User
Longtime User
Where should I save google-services.json - I've tried several places!!
It should be placed in the directoy of your project. The folder where the [name].b4a file is.
 
Upvote 0
Top