Hello I’ve been setting up my quest 2 for development for a few days now, and whenever I try to launch to the headset I’m met with this error. I’ve tried deleting the intermediate folder in the project like a few have suggested and that has done nothing. Been struggling to find any kind of lead on a solution and any help would be appreciated!
-Error in question -
LogPlayLevel: FAILURE: Build failed with an exception.
LogPlayLevel: * What went wrong:
LogPlayLevel: Execution failed for task ‘:app:compileDebugAidl’.
LogPlayLevel: > 1 exception was raised by workers:
LogPlayLevel: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\atlas\AppData\Local\Android\Sdk\build-tools\32.1.0-rc1\aidl.exe with arguments {-pC:\Users\atlas\AppData\Local\Android\Sdk\platforms\android-32\framework.aidl -oZ:\app\build\gener
ated\aidl_source_output_dir\debug\out -IZ:\app\src\main\java -IZ:\app\src\debug\aidl -IC:\Users\atlas.gradle\caches\transforms-2\files-2.1\ffc4098914b91b7860907277c6a73623\media-1.0.0\aidl -IC:\Users\atlas.gradle\caches\transforms-2\files-2.1\f88df7c86cbc989e82020e686162bad6\core-1.0.0\aidl -IC:\Users\atlas.gradle\caches\transforms-2\files-2.1\f1bc45fa819
a5ff15e81f37590dd5bea\versionedparcelable-1.0.0\aidl -IZ:\downloader_library\build\intermediates\aidl_parcelable\debug\out -IZ:\permission_library\build\intermediates\aidl_parcelable\debug\out -dC:\Users\atlas\AppData\Local\Temp\aidl7450384427947686556.d Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl}
LogPlayLevel: * Try:
LogPlayLevel: 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.
LogPlayLevel: * Get more help at https://help.gradle.org
LogPlayLevel: BUILD FAILED in 5s
LogPlayLevel: 1 actionable task: 1 executed
LogPlayLevel: Error: ERROR: cmd.exe failed with args /c “D:\atlas\Documents\Unreal Projects\WallyTheSealVR\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
LogPlayLevel: (see C:\Users\atlas\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 8.260202
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
I have the same issue
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * What went wrong:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ‘:app:compileDebugAidl’.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > 1 exception was raised by workers:
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\PC\AppData\Local\Android\Sdk\build-tools\32.1.0-rc1\aidl.exe with arguments {-pC:\Users\PC\AppData\Local\Android\Sdk\platforms\android-32\f
ramework.aidl -oZ:\app\build\generated\aidl_source_output_dir\debug\out -IZ:\app\src\main\java -IZ:\app\src\debug\aidl -IC:\Users\PC.gradle\caches\transforms-2\files-2.1\ffc4098914b91b7860907277c6a73623\media-1.0.0\aidl -IC:\Users\PC.gradle\caches\transforms-2\files-2.1\f88df7c86cbc989e82020e686162bad6\core-1.0.0\aidl -IC:\Users\PC.gradle\caches\transform
s-2\files-2.1\f1bc45fa819a5ff15e81f37590dd5bea\versionedparcelable-1.0.0\aidl -IZ:\downloader_library\build\intermediates\aidl_parcelable\debug\out -IZ:\permission_library\build\intermediates\aidl_parcelable\debug\out -dC:\Users\PC\AppData\Local\Temp\aidl1158295782391087256.d Z:\app\src\main\java\com\android\vending\licensing\ILicenseResultListener.aidl}
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)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 10s
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 1 actionable task: 1 executed
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “D:\Moogle Studio Work\VRFP\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\PC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_4.27\Log.txt for full exception trace)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Error
This happens when I am packaging my application for Oculus Quest 2 (Android)
Have you made any progress regarding this issue ?
Try opening Android Studio, then going to SDK Manager → SDK Tools → Check “Show Package Details” → removing ALL BUILD TOOLS VERSIONS OTHER THAN 30.0.0.3 (while leaving 30.0.0.3 checked or checking it if it is unchecked), as explained in more detail at the link:
You can’t use the latest build tools
I personally use sdk 23 + the 23 build tools ONLY and ndk 21d
I have been told you can use some higher sdk’s
but those two are what the Q2 was built with.
2023 someone? i’m having the same problem, and trying to build a android-23 app with the building tool only 23 installed, still having this gradle problem i don’t know where it comes from