AndroidIDE
AndroidIDE copied to clipboard
Failed to compile aidl
Issue Checklist
- [X] I confirm that this issue is not a duplicate and hasn't been reported before.
- [X] I agree to follow the project's code of conduct.
- [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.
Additional terms
- [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
- [X] I agree to provide all requested details promptly for a comprehensive bug report.
Issue explanation
Cannot run "compileDebugAidl" task
I'm sure this issue isn't caused by my project
Expected behavior
Run "compileDebugAidl" task successfully
Version name
Version : v2.7.1-beta (27102) CI Build : true Branch : dev Commit : 275d98c23 Variant : arm64-v8a (release) Build type : OFFICIAL F-Droid Build : false F-Droid Version : null F-Droid Version code : -1 SDK Version : 34 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : OnePlus Device : GM1901
Download source
GitHub
Relevant log output
Run tasks : [:app:compileDebugAidl]
> Configure project :app
WARNING: The option setting 'android.aapt2FromMavenOverride=/data/data/com.itsaky.androidide/files/home/.androidide/aapt2' is experimental.
LogSender is disabled. Dependency will not be added to project ':app'.
> Task :app:preBuild
> Task :app:preDebugBuild
> Task :app:compileDebugAidl FAILED
/data/data/com.itsaky.androidide/files/home/android-sdk/build-tools/34.0.0/aidl[6]: syntax error: unexpected '('
FAILURE: Build failed with an exception.
* What went wrong:
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 /data/data/com.itsaky.androidide/files/home/android-sdk/build-tools/34.0.0/aidl with arguments {-p/data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/framework.aidl -o/storage/emulated/0/AndroidIDEProjects/OwnDroid/app/build/generated/aidl_source_output_dir/debug/out -I/storage/emulated/0/AndroidIDEProjects/OwnDroid/app/src/main/aidl -I/storage/emulated/0/AndroidIDEProjects/OwnDroid/app/src/debug/aidl -I/data/data/com.itsaky.androidide/files/home/.gradle/caches/transforms-4/cb69fcc2291313846f44fe088aadc88e/transformed/core-1.12.0/aidl -I/data/data/com.itsaky.androidide/files/home/.gradle/caches/transforms-4/d9fb95792f25f1f9c27ae18a140a66af/transformed/versionedparcelable-1.1.1/aidl -d/data/data/com.itsaky.androidide/files/usr/tmp/aidl8066335963539935306.d /storage/emulated/0/AndroidIDEProjects/OwnDroid/app/src/main/aidl/com/bintianqi/owndroid/IUserService.aidl}
* 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 2s
2 actionable tasks: 2 executed
the same issue, aidl can not run