Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top