I am building android project. And it is happened when build .aidl file. The exception is can’t find import class. It is included in android.jar actually.
here is error log:
:xxx_lib:compileReleaseAidl Position 22 : couldn’t find import for class android.telephony.NeighboringCellInfo
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:dingtone_lib:compileReleaseAidl’.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘D:\android-sdk-windows\build-tools\22.0.1\aidl.exe’’ finished with non-zero exit value 1
Have anyone encountered similar problem?