I met the similar problem before, but the cause is not same with your, the AIDL file used the CR as line break on my Windows platform, the AIDL parser could not handle it and kept crashing. The parser worked well after I changed the CR to CR LF combination.
Hope it helps.