记一次Android Studio编译报错:Execution failed for task ‘:app:compileDebugAidl‘
问题背景:
android studio导入AIDL文件的时候编译提示:
Execution failed for task ':app:compileDebugAidl'.
> A failure occurred while executing com.android.build.gradle.tasks.AidlCompile$AidlCompileRunnable
> com.android.ide.common.process.ProcessException: Error while executing process D:\android\sdk\build-tools\33.0.0\aidl.exe with arguments {-pD:\android\sdk\platforms\android-33\framework.aidl -oF:\androidprj\hr-android-machine\app\build\generated\aidl_source_output_dir\debug\out -IF:\androidprj\hr-android-machine\app\src\main\aidl -IF:\androidprj\hr-android-machine\app\src\debug\aidl -ID:\android\gradle\caches\transforms-3\7e1d51aeb74d3e779a1d2714599e3f2c\transformed\core-1.7.0\aidl -ID:\android\gradle\caches\transforms-3\ccdbeb30b9740fd78e2