Open yume-chan opened 1 year ago
Yeah, aidl is not supported now. @jdneo could you help mark this issue as a feature request?
Correct me if I'm wrong, the support should be added at https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/gradle/android/init.gradle? If it's not too complex I want to give it a try.
@yume-chan you're right. That gradle file is an init script used when importing Android projects, which contains a Gradle plugin help buildship recognize Android project structure.
For aidl, a quick thought in my mind is that we should
Any progress now?
When an Android project has
aidl
source files, the generated code is not included in source paths.Environment
Steps To Reproduce
./gradlew assembleDebug
, it builds successfullyserver/src/main/java/com/genymobile/scrcpy/wrappers/ClipboardManager.java
Current Result
log.txt client.log.txt
Expected Result
No error
Additional Informations
The interface
android.content.IOnPrimaryClipChangedListener
is generated fromserver/src/main/aidl/android/content/IOnPrimaryClipChangedListener.aidl
toserver/build/generated/aidl_source_output_dir/debug/out/android/content/IOnPrimaryClipChangedListener.java