All the files appearing in aidl imports should be same in package and should be parcelable in both ends, this is small point to note while dealing with aidl else you end up with error.
Thats why for first it didnt work, but when you moved it to same package it worked.