I'm trying to build my app as a system app so I added the sources to aosp. 
I'm having troubles with AIDL files, related to the project structure. Here 
is the relevant part of the project's structure

src
--main
----Android.mk
----aidl
------com/master/android
--------IDialCallback.aidl
--------IDialService.aidl

In my IDialService, I need IDialCallback so I did

import com.master.android.IDialCallback;

When I do that and build, I get:

packages/apps/Master/src/main/aidl/com/master/android/dial/IDialService.aidl:3: 
couldn't find import for class com.master.android.dial.IDialCallback

Now if I change, the import to:

import aidl.com.master.android.IDialCallback

the build works, but then in Android Studio it complains that it cannot 
find the import. How should I change my structure so that it works in both 
cases?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to