Using android play services 9.0.x(aar).. how to solve this problem? with UE 4.13

4.13 support aar-imports.txt in engine/build/anroid/java …

here is default content.

repositories $(ANDROID_HOME)/extras
repositories $(ENGINEDIR)/Source/ThirdParty/Android/extras
com.google.android.gms,play-services-ads,9.2.0
com.google.android.gms,play-services-auth,9.2.0
com.google.android.gms,play-services-games,9.2.0
com.google.android.gms,play-services-nearby,9.2.0
com.google.android.gms,play-services-plus,9.2.0

build with play services 9.2.0 → no problem. well done running.

  1. build with play services 9.0.x

  2. → some depdency library added. including firebase-common …

  3. → firebase-common require : android:authorities="${applicationId}.firebaseinitprovider"

  4. → build error occur!.

    LogPlayLevel: UnrealBuildTool: [aapt] …/Unreal Projects/PreivewTest413/Intermediate/Android/APK/JavaLibs/firebase-common-9.0.1/bin/AndroidManifest.xml:7: Tag attribute authorities has invalid character ‘$’.
    LogPlayLevel: UnrealBuildTool:
    LogPlayLevel: UnrealBuildTool: BUILD FAILED

if build some project with android studio, there is build.gradle including that

   android {
   ...
        compileSdkVersion 23
        buildToolsVersion "23.0.1"
    
        defaultConfig {
            applicationId "~~~~"
            minSdkVersion 14
            targetSdkVersion 23
            versionCode 3
            versionName "2.7.3"
        }
    ...
    }
    ...

is there some way define ${applicationId}?

The end of your problems! :smiley: I made Firebase plugin for UE4.

Ultimate Mobile Kit: Ultimate Mobile Kit for iOS & Android - Firebase - Marketplace - Unreal Engine Forums

Realtime Database: Realtime Database for all platforms - Firebase - Marketplace - Unreal Engine Forums

If you have any questions, feel free to ask! :slight_smile:

Patrick,
gameDNA

I have this problem while using this library