Obsolete
Status Update
Comments
vi...@google.com <vi...@google.com> #2
Can you please help share the idea.log file (select Help > Show Log in Finder) if this issue reproduces again? Thank you very much!
re...@gmail.com <re...@gmail.com> #3
It seems that the bug is fixed after updating to buildToolsVersion 29.0.1
vi...@google.com <vi...@google.com>
jo...@google.com <jo...@google.com> #4
Thank you for this feedback. Your feedback helps make sure Android development tools are great! Given your issues has been resolved I am closing this issue.
ph...@gmail.com <ph...@gmail.com> #5
Why am I using buildToolsVersion 30.0.3 . I still get the error that AIDL cannot be referenced in kotlin .
Description
Build #AI-191.8026.42.35.5977832, built on October 31, 2019
JRE: 1.8.0_202-release-1483-b49-5587405 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15
Android Gradle Plugin Version: 3.5.2; Gradle: 5.4.1;
Compile Sdk Version: 28
Build Tools Version: 29.0.0
Android SDK Tools Version: 26.1.1
When creating new AIDL interface and building the project it will generate required file, that can be used in the project. but the problem is that it puts to the wrong path in generated java files that cause to fails to build APK and shows an error for example said "Unresolved reference: ServiceInterface"
generated java file must be in here: "build/generated/aidl_source_output_dir/debug/compileDebugAidl/out/com/example/test/MyServiceInterface.java
But the buildToolsVersion "29.0.0" generate wrong path which is: "/Volumes/Projects/AndroidProject/TestApp/app/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out/Volumes/Projects/AndroidProject/TestApp/app/src/main/aidl/com/example/test/MyServiceInterface.java"
after changing buildToolsVersion to "28.0.3" the problem solved