Open ZenglaiMa opened 2 months ago
我按照教程在 local.properties 中配置了 AOSP 源码路径,然后 Rebuild,发生以下错误,应该怎么解决呢?谢谢!
` Circular dependency between the following tasks: :CarFramework:compileJava +--- :CarServices:compileJava | +--- :CarFramework:compileJava () | +--- :CarSettings:compileJava | | +--- :CarFramework:compileJava () | | +--- :CarServices:compileJava () | | +--- :CarSystemUI:compileJava | | | +--- :CarFramework:compileJava () | | | +--- :CarServices:compileJava () | | | +--- :CarSettings:compileJava () | | | +--- :Connectivity:compileJava | | | | +--- :CarFramework:compileJava () | | | | +--- :CarServices:compileJava () | | | | +--- :CarSettings:compileJava () | | | | +--- :CarSystemUI:compileJava () | | | | +--- :Framework:compileJava | | | | | +--- :CarFramework:compileJava () | | | | | +--- :CarServices:compileJava () | | | | | +--- :CarSettings:compileJava () | | | | | +--- :CarSystemUI:compileJava () | | | | | +--- :Connectivity:compileJava () | | | | | +--- :FrameworkRes:compileJava | | | | | | +--- :CarFramework:compileJava () | | | | | | +--- :CarServices:compileJava () | | | | | | +--- :CarSettings:compileJava () | | | | | | +--- :CarSystemUI:compileJava () | | | | | | +--- :Connectivity:compileJava () | | | | | | +--- :Framework:compileJava () | | | | | | +--- :PlatformBase:compileJava | | | | | | | +--- :CarFramework:compileJava () | | | | | | | +--- :CarServices:compileJava () | | | | | | | +--- :CarSettings:compileJava () | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | +--- :Connectivity:compileJava () | | | | | | | +--- :Framework:compileJava () | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | +--- :Services:compileJava | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | +--- :Framework:compileJava () | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | +--- :Settings:compileJava | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | +--- :SettingsLib:compileJava | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | +--- :SettingsProvider:compileJava | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | +--- :SystemUI:compileJava | | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | | | | +--- :SystemUIPluginLib:compileJava | | | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | | | | | --- :Wifi:compileJava | | | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | | | | | --- :SystemUIPluginLib:compileJava () | | | | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | --- :Wifi:compileJava () | | | | | | | +--- :Settings:compileJava () | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | +--- :SystemUI:compileJava () | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | --- :Wifi:compileJava () | | | | | | +--- :Services:compileJava () | | | | | | +--- :Settings:compileJava () | | | | | | +--- :SettingsLib:compileJava () | | | | | | +--- :SettingsProvider:compileJava () | | | | | | +--- :SystemUI:compileJava () | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | --- :Wifi:compileJava () | | | | | +--- :PlatformBase:compileJava () | | | | | +--- :Services:compileJava () | | | | | +--- :Settings:compileJava () | | | | | +--- :SettingsLib:compileJava () | | | | | +--- :SettingsProvider:compileJava () | | | | | +--- :SystemUI:compileJava () | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | --- :Wifi:compileJava () | | | | +--- :FrameworkRes:compileJava () | | | | +--- :PlatformBase:compileJava () | | | | +--- :Services:compileJava () | | | | +--- :Settings:compileJava () | | | | +--- :SettingsLib:compileJava () | | | | +--- :SettingsProvider:compileJava () | | | | +--- :SystemUI:compileJava () | | | | +--- :SystemUIPluginLib:compileJava () | | | | --- :Wifi:compileJava () | | | +--- :Framework:compileJava () | | | +--- :FrameworkRes:compileJava () | | | +--- :PlatformBase:compileJava () | | | +--- :Services:compileJava () | | | +--- :Settings:compileJava () | | | +--- :SettingsLib:compileJava () | | | +--- :SettingsProvider:compileJava () | | | +--- :SystemUI:compileJava () | | | +--- :SystemUIPluginLib:compileJava () | | | --- :Wifi:compileJava () | | +--- :Connectivity:compileJava () | | +--- :Framework:compileJava () | | +--- :FrameworkRes:compileJava () | | +--- :PlatformBase:compileJava () | | +--- :Services:compileJava () | | +--- :Settings:compileJava () | | +--- :SettingsLib:compileJava () | | +--- :SettingsProvider:compileJava () | | +--- :SystemUI:compileJava () | | +--- :SystemUIPluginLib:compileJava () | | --- :Wifi:compileJava () | +--- :CarSystemUI:compileJava () | +--- :Connectivity:compileJava () | +--- :Framework:compileJava () | +--- :FrameworkRes:compileJava () | +--- :PlatformBase:compileJava () | +--- :Services:compileJava () | +--- :Settings:compileJava () | +--- :SettingsLib:compileJava () | +--- :SettingsProvider:compileJava () | +--- :SystemUI:compileJava () | +--- :SystemUIPluginLib:compileJava () | --- :Wifi:compileJava () +--- :CarSettings:compileJava () +--- :CarSystemUI:compileJava () +--- :Connectivity:compileJava () +--- :Framework:compileJava () +--- :FrameworkRes:compileJava () +--- :PlatformBase:compileJava () +--- :Services:compileJava () +--- :Settings:compileJava () +--- :SettingsLib:compileJava () +--- :SettingsProvider:compileJava () +--- :SystemUI:compileJava () +--- :SystemUIPluginLib:compileJava () --- :Wifi:compileJava ()
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. `
首先,该工程不支持编译任何模块。
其次,如果你想跳转aidl。可以参考 https://i-rtfsc.github.io/source-code/as-aosp/jump-aidl/ ,但方案1是一个有很大缺陷的方案,不建议使用方案1。
我按照教程在 local.properties 中配置了 AOSP 源码路径,然后 Rebuild,发生以下错误,应该怎么解决呢?谢谢!
` Circular dependency between the following tasks: :CarFramework:compileJava +--- :CarServices:compileJava | +--- :CarFramework:compileJava () | +--- :CarSettings:compileJava | | +--- :CarFramework:compileJava () | | +--- :CarServices:compileJava () | | +--- :CarSystemUI:compileJava | | | +--- :CarFramework:compileJava () | | | +--- :CarServices:compileJava () | | | +--- :CarSettings:compileJava () | | | +--- :Connectivity:compileJava | | | | +--- :CarFramework:compileJava () | | | | +--- :CarServices:compileJava () | | | | +--- :CarSettings:compileJava () | | | | +--- :CarSystemUI:compileJava () | | | | +--- :Framework:compileJava | | | | | +--- :CarFramework:compileJava () | | | | | +--- :CarServices:compileJava () | | | | | +--- :CarSettings:compileJava () | | | | | +--- :CarSystemUI:compileJava () | | | | | +--- :Connectivity:compileJava () | | | | | +--- :FrameworkRes:compileJava | | | | | | +--- :CarFramework:compileJava () | | | | | | +--- :CarServices:compileJava () | | | | | | +--- :CarSettings:compileJava () | | | | | | +--- :CarSystemUI:compileJava () | | | | | | +--- :Connectivity:compileJava () | | | | | | +--- :Framework:compileJava () | | | | | | +--- :PlatformBase:compileJava | | | | | | | +--- :CarFramework:compileJava () | | | | | | | +--- :CarServices:compileJava () | | | | | | | +--- :CarSettings:compileJava () | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | +--- :Connectivity:compileJava () | | | | | | | +--- :Framework:compileJava () | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | +--- :Services:compileJava | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | +--- :Framework:compileJava () | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | +--- :Settings:compileJava | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | +--- :SettingsLib:compileJava | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | +--- :SettingsProvider:compileJava | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | +--- :SystemUI:compileJava | | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | | | | +--- :SystemUIPluginLib:compileJava | | | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | | | | | --- :Wifi:compileJava | | | | | | | | | | | | | +--- :CarFramework:compileJava () | | | | | | | | | | | | | +--- :CarServices:compileJava () | | | | | | | | | | | | | +--- :CarSettings:compileJava () | | | | | | | | | | | | | +--- :CarSystemUI:compileJava () | | | | | | | | | | | | | +--- :Connectivity:compileJava () | | | | | | | | | | | | | +--- :Framework:compileJava () | | | | | | | | | | | | | +--- :FrameworkRes:compileJava () | | | | | | | | | | | | | +--- :PlatformBase:compileJava () | | | | | | | | | | | | | +--- :Services:compileJava () | | | | | | | | | | | | | +--- :Settings:compileJava () | | | | | | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | | | | | --- :SystemUIPluginLib:compileJava () | | | | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | | --- :Wifi:compileJava () | | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | | +--- :SystemUI:compileJava () | | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | | --- :Wifi:compileJava () | | | | | | | +--- :Settings:compileJava () | | | | | | | +--- :SettingsLib:compileJava () | | | | | | | +--- :SettingsProvider:compileJava () | | | | | | | +--- :SystemUI:compileJava () | | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | | --- :Wifi:compileJava () | | | | | | +--- :Services:compileJava () | | | | | | +--- :Settings:compileJava () | | | | | | +--- :SettingsLib:compileJava () | | | | | | +--- :SettingsProvider:compileJava () | | | | | | +--- :SystemUI:compileJava () | | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | | --- :Wifi:compileJava () | | | | | +--- :PlatformBase:compileJava () | | | | | +--- :Services:compileJava () | | | | | +--- :Settings:compileJava () | | | | | +--- :SettingsLib:compileJava () | | | | | +--- :SettingsProvider:compileJava () | | | | | +--- :SystemUI:compileJava () | | | | | +--- :SystemUIPluginLib:compileJava () | | | | | --- :Wifi:compileJava () | | | | +--- :FrameworkRes:compileJava () | | | | +--- :PlatformBase:compileJava () | | | | +--- :Services:compileJava () | | | | +--- :Settings:compileJava () | | | | +--- :SettingsLib:compileJava () | | | | +--- :SettingsProvider:compileJava () | | | | +--- :SystemUI:compileJava () | | | | +--- :SystemUIPluginLib:compileJava () | | | | --- :Wifi:compileJava () | | | +--- :Framework:compileJava () | | | +--- :FrameworkRes:compileJava () | | | +--- :PlatformBase:compileJava () | | | +--- :Services:compileJava () | | | +--- :Settings:compileJava () | | | +--- :SettingsLib:compileJava () | | | +--- :SettingsProvider:compileJava () | | | +--- :SystemUI:compileJava () | | | +--- :SystemUIPluginLib:compileJava () | | | --- :Wifi:compileJava () | | +--- :Connectivity:compileJava () | | +--- :Framework:compileJava () | | +--- :FrameworkRes:compileJava () | | +--- :PlatformBase:compileJava () | | +--- :Services:compileJava () | | +--- :Settings:compileJava () | | +--- :SettingsLib:compileJava () | | +--- :SettingsProvider:compileJava () | | +--- :SystemUI:compileJava () | | +--- :SystemUIPluginLib:compileJava () | | --- :Wifi:compileJava () | +--- :CarSystemUI:compileJava () | +--- :Connectivity:compileJava () | +--- :Framework:compileJava () | +--- :FrameworkRes:compileJava () | +--- :PlatformBase:compileJava () | +--- :Services:compileJava () | +--- :Settings:compileJava () | +--- :SettingsLib:compileJava () | +--- :SettingsProvider:compileJava () | +--- :SystemUI:compileJava () | +--- :SystemUIPluginLib:compileJava () | --- :Wifi:compileJava () +--- :CarSettings:compileJava () +--- :CarSystemUI:compileJava () +--- :Connectivity:compileJava () +--- :Framework:compileJava () +--- :FrameworkRes:compileJava () +--- :PlatformBase:compileJava () +--- :Services:compileJava () +--- :Settings:compileJava () +--- :SettingsLib:compileJava () +--- :SettingsProvider:compileJava () +--- :SystemUI:compileJava () +--- :SystemUIPluginLib:compileJava () --- :Wifi:compileJava ()