gpt4 book ai didi

android - 如何在 Linux 中创建扩展名为 .aidl 的文件?

转载 作者:太空宇宙 更新时间:2023-11-04 04:12:37 24 4
gpt4 key购买 nike

我当前使用的是 Linux 终端,每次我尝试保存 aidl 文件时,它都会将其保存为文本文件。

我也尝试过转换文件,但它不适用于 aidl 扩展:(

mv IRemoteService IRemoteService.html(已成功转换为 HTML 文件)

mv IRemoteService IRemoteService.aidl(仍保存为txt文件)

当我尝试使用上述文件 (IRemoteService.aidl) 构建项目时,出现以下错误:

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

我对 Linux 比较陌生,因此不知道是否有一种有效/更简单的方法来完成此任务。请指教。

最佳答案

结果我只需要把文件放在上面的目录结构中。

关于android - 如何在 Linux 中创建扩展名为 .aidl 的文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18341903/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com