Googlevr Branch Google Analytics plugin build error

Anyone using this plugin with the GoogleVR Source branch?:

I’m getting the following build error:




UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: ====18/02/2017 6:20:00 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)

UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:101: error: package com.google.android.gms.analytics does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.GoogleAnalytics;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:102: error: package com.google.android.gms.analytics does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.Tracker;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:103: error: package com.google.android.gms.analytics does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.HitBuilders;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:104: error: package com.google.android.gms.analytics.Logger does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.Logger.LogLevel;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                    ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:286: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      private Tracker mTracker;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]              ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   class Tracker
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:301: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   class GoogleAnalytics
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:301: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                              ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   variable GoogleAnalytics
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:318: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ScreenViewBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:336: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ScreenViewBuilder().build());
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:351: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.EventBuilder eventBuilder = new HitBuilders.EventBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:351: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.EventBuilder eventBuilder = new HitBuilders.EventBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                                         ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:375: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  GoogleAnalytics.getInstance(getBaseContext()).dispatchLocalHits();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   variable GoogleAnalytics
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:436: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ExceptionBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:454: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.TransactionBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:463: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ItemBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:486: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.SocialBuilder socialBuilder = new HitBuilders.SocialBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:486: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.SocialBuilder socialBuilder = new HitBuilders.SocialBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                                           ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:510: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.TimingBuilder timingBuilder = new HitBuilders.TimingBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:510: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.TimingBuilder timingBuilder = new HitBuilders.TimingBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                                           ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] Note: Some input files use or override a deprecated API.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] Note: Recompile with -Xlint:deprecation for details.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] 19 errors
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] 3 warnings
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: BUILD FAILED
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: U:\NVPACK\android-sdk-windows	ools\ant\build.xml:716: The following error occurred while executing this line:
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: U:\NVPACK\android-sdk-windows	ools\ant\build.xml:730: Compile failed; see the compiler error output for details.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: Total time: 21 seconds
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: Making .apk with Ant again to show errors

UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: -pre-compile:
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: -compile:
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] Compiling 77 source files to U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\bin\classes
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:101: error: package com.google.android.gms.analytics does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.GoogleAnalytics;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:102: error: package com.google.android.gms.analytics does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.Tracker;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:103: error: package com.google.android.gms.analytics does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.HitBuilders;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:104: error: package com.google.android.gms.analytics.Logger does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      import com.google.android.gms.analytics.Logger.LogLevel;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                    ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:286: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]      private Tracker mTracker;
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]              ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   class Tracker
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:301: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   class GoogleAnalytics
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:301: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                              ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   variable GoogleAnalytics
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:318: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ScreenViewBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:336: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ScreenViewBuilder().build());
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:351: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.EventBuilder eventBuilder = new HitBuilders.EventBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:351: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.EventBuilder eventBuilder = new HitBuilders.EventBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                                         ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:375: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  GoogleAnalytics.getInstance(getBaseContext()).dispatchLocalHits();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   symbol:   variable GoogleAnalytics
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]   location: class GameActivity
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:436: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ExceptionBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:454: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.TransactionBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:463: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  mTracker.send(new HitBuilders.ItemBuilder()
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:486: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.SocialBuilder socialBuilder = new HitBuilders.SocialBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:486: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.SocialBuilder socialBuilder = new HitBuilders.SocialBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                                           ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:510: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.TimingBuilder timingBuilder = new HitBuilders.TimingBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                             ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:510: error: package HitBuilders does not exist
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  HitBuilders.TimingBuilder timingBuilder = new HitBuilders.TimingBuilder();
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                                           ^
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] Note: Some input files use or override a deprecated API.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] Note: Recompile with -Xlint:deprecation for details.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] 19 errors
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] 3 warnings
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: BUILD FAILED
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: U:\NVPACK\android-sdk-windows	ools\ant\build.xml:716: The following error occurred while executing this line:
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: U:\NVPACK\android-sdk-windows	ools\ant\build.xml:730: Compile failed; see the compiler error output for details.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: 
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: Total time: 21 seconds
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: UnrealBuildTool Exception: System.IO.FileNotFoundException: Could not find file 'U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate/Android/APK/bin/MyProject-debug.apk'.
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: File name: 'U:\UnrealEngine\MyProjects\MyProject 4.14\Intermediate/Android/APK/bin/MyProject-debug.apk'
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:    at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Bool
ean bDisallowExternalFilesDir) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\UnrealBuildTool\Android\UEDeployAndroid.cs:line 2319
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:    at UnrealBuildTool.UEDeployAndroid.PrepTargetForDeployment(UEBuildTarget InTarget) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\UnrealBuildTool\Android\UEDeployAndroid.cs:line 2391
UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:    at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String] Arguments) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\UnrealBuildTool\System\UnrealBuildTool.cs:line 1356
UATHelper: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 67.0953572s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject Android Development -Project="U:\UnrealEngine\MyProjects\MyProject 4.14\MyProject.uproject"
  "U:\UnrealEngine\MyProjects\MyProject 4.14\MyProject.uproject"  -remoteini="U:\UnrealEngine\MyProjects\MyProject 4.14" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.02.18-18.19.36.txt' 
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\
ProcessUtils.cs:line 907
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\Automat
ionTool\AutomationUtils\ProcessUtils.cs:line 860
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 51
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUt
ils\UBTUtils.cs:line 89
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in U
:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 365
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictiona
ry`2 InTargetToManifest) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1495
UATHelper: Packaging (Android (ETC2)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 170
UATHelper: Packaging (Android (ETC2)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 210
UATHelper: Packaging (Android (ETC2)):    at BuildCookRun.ExecuteBuild() in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.BuildCommand.Execute() in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 27
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 547
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Automation.Process(String] Arguments) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 517
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Program.MainProc(Object Param) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\Program.cs:line 135
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
UATHelper: Packaging (Android (ETC2)):    at AutomationTool.Program.Main() in U:\UnrealEngine\GitHub\UnrealEngine-4.14-googlevr\Engine\Source\Programs\AutomationTool\Program.cs:line 59
UATHelper: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Android (ETC2)): BUILD FAILED


Which is really strange since it builds fine in the Epic source branch.

The developer of the plugin suggested I install the “Google Repositories” extra from the Android SDK (which already seems strange since it was not required for the Epic source) to ensure this folder exists:
“\NVPACK\android-sdk-windows\extras\google\m2repository\com\google\android\gms\play-services-analytics\9.2.0”
however even after doing that I got the same error.

Anyone else managed to get it working?

Try installing Google Play services in the sdk manager?
It’s weird that it’s only for that branch…

Yep also installed that - strange that I had not needed to install that before and indeed strange it’s only occurring with that branch (both the 4.13 & 4.14 versions)

Definitely your engine doesn’t detect Google Play Services SDK… Check configuration, paths, clear Intermediate folder and rebuild engine…

checked all that and just tried rebuilding the whole engine again and using the plugin in a blank c++ project - same problem :frowning:

I just don’t understand why it would be working with the Epic source branch fine (which shows configuration and paths must be setup correctly right?) but this branch not :frowning: I know this might be asking a lot but would mean a lot to know it’s really not a problem with that branch itself if you could confirm a new blank project builds fine for you?

This guy also mentions he has a problem with that branch and your Facebook plugin: https://github.com/googlevr-unreal/UnrealEngine/issues/8#issuecomment-280508641
did he get it resolved do you know? If so was there something special required?

Many thanks in advance for any further info you might have time for :wink:

Try running SDK Manager.exe in android-sdk-tools and updating Extras Android Support Repository and Google Repository. Maybe there is a missing dependency in the GoogleVR fork.

Here’s what I have installed for Extras:


Everything up to date already.

If it’s working on a different build, then it should work fine here. I know in Android Studio, you have to specify a gradle dependency like google play services to import it. Unreal uses the old style with ant, (and it’s been forever since I did ant so I don’t remember how it worked), but it may be a similar problem.

He resolved his problem but it was different than yours problem.