Turns out I just had to put the file in the above directory structure.
How to create a file with the .aidl extension in Linux?
-
25-06-2022 - |
题
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.htm
l (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.
解决方案
不隶属于 StackOverflow