Android Packaging Failed 4.25

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Task :app:compileDebugJavaWithJavac FAILED
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Gradle may disable incremental compilation as the following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:208: error: cannot find symbol
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import android.support.v4.app.NotificationManagerCompat;
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class NotificationManagerCompat
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: package android.support.v4.app
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:209: error: package android.support.v4.content does not exist
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import android.support.v4.content.FileProvider;
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\network\NetworkChangedManager.java:25: error: cannot find symbol
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): private Set<WeakReference> networkChangedListeners = new HashSet<>();
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class NetworkChangedListener
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: class NetworkChangedManager
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\network\NetworkChangedManager.java:84: error: cannot find symbol
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): public boolean addListener(WeakReference listener) {
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class NetworkChangedListener
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: class NetworkChangedManager
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\network\NetworkChangedManager.java:89: error: cannot find symbol
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): public boolean removeListener(WeakReference listener) {
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class NetworkChangedListener
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: class NetworkChangedManager
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\network\NetworkConnectivityClient.java:6: error: package android.support.annotation does not exist
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import android.support.annotation.NonNull;
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\ue4\network\NetworkConnectivityClient.java:15: error: cannot find symbol
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): void initNetworkCallback(@NonNull Context context);
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class NonNull
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: interface NetworkConnectivityClient
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 7 errors
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * What went wrong:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ‘:app:compileDebugJavaWithJavac’.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Compilation failed; see the compiler error output for details.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * Try:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BU�LD FAILED in 15s
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 31 actionable tasks: 31 executed
PackagingResults: Error: cannot find symbol
PackagingResults: Error: package android.support.v4.content does not exist
PackagingResults: Error: cannot find symbol
PackagingResults: Error: cannot find symbol
PackagingResults: Error: cannot find symbol
PackagingResults: Error: package android.support.annotation does not exist
PackagingResults: Error: cannot find symbol
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\Oyun\Documents\Unreal Projects\BrickShooter\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Took 53,4774765s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): UnrealBuildTool failed. See log for more details. (C:\Users\Oyun\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\UBT-BrickShooter-Android-Development_2.txt)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED
PackagingResults: Error: cmd.exe failed with args /c “C:\Users\Oyun\Documents\Unreal Projects\BrickShooter\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
PackagingResults: Error: Unknown Error

Please help me! packaging failed

I have the same problem. According to a forum post it’s caused by a plugin but the post doesn’t say which one. I also noticed that I had to manually pack every engine plugin (from the marketplace) that we use (CloudSaveGame, MultiTask and EasyAds) because of some strange packing error when installed from the Epics Launcher into the engine.

It’s probably a dependency problem with Oculus VR. If I enable this plugin and delete the Intermediate folder (this is always a good idea), it packs without any problems. Even tho our app is not VR in any way.

I have a similar problem caused by EasyAds Plugin, when I disable it I can package, still looking for an answer, I contacted the developer, will post solution here if I get one.

I had the same error, I had to disable the google cloud messaging plugin in order to package properly, it worked for me!

Hi, is this a default plugin somewhere?
I’m following the Android setup guide (the click to MoveTo() one) and haven’t (knowingly) installed any plugins. Might they be somewhere else?
E.g. other than Settings->Platform->Android->Google Play
Thanks!

Is there some new solution for this issue?

It wasn’t the Google Cloud plugin, you must have done something else. I’m still getting the same error.