I upgraded my Android app to start using SDK 29 and build tools 29.0.0. When compiling in Android Studio I get an error:
Process 'command 'C:\Users\ma_fo\AppData\Local\Android\Sdk\build-tools\29.0.0\aidl.exe'' finished with non-zero exit value -1073741819
The actual command executed for aidl is C:\Users\ma_fo\AppData\Local\Android\Sdk\build-tools\29.0.0\aidl.exe with arguments { -pC:\Users\ma_fo\AppData\Local\Android\Sdk\platforms\android-29\framework.aidl -oE:\Work\McDevelopment\android-sales-app-webview\app\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out -IE:\Work\McDevelopment\android-sales-app-webview\app\src\main\aidl -IE:\Work\McDevelopment\android-sales-app-webview\app\src\debug\aidl -IC:\Users\ma_fo.gradle\caches\transforms-2\files-2.1\c21a47fa6bee4a2c237691438c7b1f92\aidl -IC:\Users\ma_fo.gradle\caches\transforms-2\files-2.1\87cbfb92509988fa6d22255a681cc703\aidl -IC:\Users\ma_fo.gradle\caches\transforms-2\files-2.1\4cdb3bb0ddd100ba4f9a12ec5a9fae60\aidl -dC:\Users\ma_fo\AppData\Local\Temp\aidl367254395093906008.d E:\Work\McDevelopment\android-sales-app-webview\app\src\main\aidl\com\android\vending\billing\IInAppBillingService.aidl}
When I run this command manually in an MS-DOS prompt with aidl of build-tools 28.0.3, the compilation passes without any errors.
When I run this command with the aidl of build tools 29.0.0 I get an error: aidl E 06-08 18:07:03 4920 13216 io_delegate.cpp:141] Error while creating E:\Work\McDevelopment\android-sales-app-webview\app\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out\E:: Invalid argument
I would expect the manual idl compilation to work for both versions. Is there are problem with the aidl in build tools 29.0.0 ? Or is there something else which I should update ?