Android Build Error

Hi,

I’m getting an error that haven’t seen anyone else come across so not really sure what else to do. Below is the output log and i have also attached the full log. The main things that give me any hint on why its failing is:

R8: Missing class: org.chromium.net.UrlRequest$Callback

Execution failed for task ':app:ueAFSProjectBundleRelease'.
 > Process 'command 'cmd'' finished with non-zero exit value 1

Which im not sure what it means.

 R8: Missing class: org.chromium.net.UrlRequest$Callback
 > Task :app:packageRelease
 > Task :app:assembleRelease
 > Task :app:ueCompleteRelease
 > Task :app:ueAFSProjectAssembleRelease FAILED
 FAILURE: Build failed with an exception.
 * What went wrong:
 Execution failed for task ':app:ueAFSProjectAssembleRelease'.
 > A problem occurred starting process 'command 'cmd''
 * Try:
 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.
 25 actionable tasks: 25 executed
 * Get more help at https://help.gradle.org
 BUILD FAILED in 1m 29s
 > Task :app:ueAFSProjectBundleRelease FAILED
 FAILURE: Build failed with an exception.
 68 actionable tasks: 68 executed
 * What went wrong:
 Execution failed for task ':app:ueAFSProjectBundleRelease'.
 > Process 'command 'cmd'' finished with non-zero exit value 1
 * Try:
 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.
 * Get more help at https://help.gradle.org
 BUILD FAILED in 5m 36s
 ERROR: cmd.exe failed with args /c "D:\Documents\Unreal Projects\RapidRoundSource\Intermediate\Android\gradle\rungradle.bat" :app:bundleRelease
        (see D:\Documents\EpicGamesNew\UnrealEngine-5.1.1-release\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
 AutomationTool executed for 1h 12m 50s
 AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults: Error: cmd.exe failed with args /c "D:\Documents\Unreal Projects\RapidRoundSource\Intermediate\Android\gradle\rungradle.bat" :app:bundleRelease
 Updating environment variables set by a Turnkey sub-process
 BUILD FAILED
PackagingResults: Error: Unknown Error

Here are my project settings :

Not sure if it makes a difference but if i remeber correctly this started happening after i disabled the

Online Subsystem Google

plugin which i need disabled for another plugin im using.

i would really appropriate any help i can get, ive been stuck on this for a week now and its driving me crazy.
Log.txt (284.6 KB)

You must disable Android File Server plugin and it should fix the issue. This plugin breaks a lot of external plugins. AFS = Android File Server.

5 Likes