Android Question [SOLVED] Compile takes too long - after Firebase integration...

Magma

Well-Known Member
Licensed User
Hi there...

Compile takes too long and never ends... after firebase integration...

So ... there is a configuration error that can;t find it... but what...

I need all firebase !! auth/push notification/admob/etc...

my manifest:
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
'End of default text.
AddPermission("android.permission.FOREGROUND_SERVICE")
AddPermission(android.permission.ACCESS_FINE_LOCATION)

CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)

AddApplicationText(<activity android:name="anywheresoftware.b4a.objects.preferenceactivity"/>)


AddApplicationText(
<meta-data
  android:name="com.google.android.geo.API_KEY"
  android:value="xxxxxxxxxxxxxxxx"/>
)
B4X:
#Region  Project Attributes
    #ApplicationLabel: XXXXXXXXXXXXXXXX
    #VersionCode: 1
    #VersionName: 1
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
    #AdditionalJar: com.google.android.gms:play-services-maps
    #AdditionalJar: com.google.android.gms:play-services-location   
#End Region
#BridgeLogger: True
can't find where i have exactly the error...

Already updated SDK/ firebase/ fabrik....

downloaded the google json and have into my folder's project...
...
???
Thanks in advance
 
Top