Skip to content Skip to sidebar Skip to footer

ITelephony.aidl Not Compiling In Eclipse

I am using the code of this answer, where as I have to add ITelephony.aidl to my project source, I did that. But this aidl file not compiling. Is there any other step which are req

Solution 1:

First create a package in the src folder in your project named com.android.internal.telephony and within that package create a file and copy paste the interface ITelephony and save the file as ITelephony.aidl. When you compile you will get the .java file for the ITelephony in the gen folder.This is what I did and my issue got solved.

Hope this helps


Solution 2:

If your aidl file is showing any error in eclipse then you should consider it and post the error here but if it is not showing any error you must clean your project and build it again. After this process you must go in "gen" folder and check either this file is compiled there and any class is exist with the same name of aidl file. If it is found, its mean aidl file is compiling properly.

Thanks and Regards, Ali


Solution 3:

Certin versions of Eclipse move the reference library folders for prjects.Either update eclipse, reinstall eclipse and the adt plug in or move the library within your eclipse folder.


Post a Comment for "ITelephony.aidl Not Compiling In Eclipse"