元气桌面壁纸技术架构拆解:如何实现0.8s快速启动与150MB内容占用?
2026/6/25 22:07:13
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :smallscreen project caused this error: D:\AndroidCode\DeviceController\smallscreen\libs\sdk_video.aar新建一个 Android Library,命名为 sdkvideo
删除 sdkvideo 目录下的所有文件
将sdk_video.aar复制到 sdkvideo 目录下
在 sdkvideo 目录下新建一个build.gradle文件,添加如下内容
configurations.maybeCreate("default")artifacts.add("default",file('sdk_video.aar'))dependencies{implementationproject(":sdkvideo")}