문제

I'm currently using a Linux terminal and each time I try to save a aidl file it saves it as a text file.

I also tried converting the files but it didn't work for the aidl extension :(

mv IRemoteService IRemoteService.html (Converted successfully to HTML file)

mv IRemoteService IRemoteService.aidl (Still saves as txt file)

When I try to build the project with the above file (IRemoteService.aidl), I get the below error:

interface IRemoteService should be declared in a file called com/service/IRemoteService.aidl.

I'm relatively new to Linux and hence unaware if there is a efficient/easier way to accomplish this. Please advise.

도움이 되었습니까?

해결책

Turns out I just had to put the file in the above directory structure.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top