diff --git a/java/sdk.go b/java/sdk.go index 79a170e1f..7b79a49f2 100644 --- a/java/sdk.go +++ b/java/sdk.go @@ -153,6 +153,8 @@ func decodeSdkDep(ctx android.BaseModuleContext, sdkContext sdkContext) sdkDep { if m == "core.current.stubs" { ret.systemModules = "core-current-stubs-system-modules" + // core_current does not include framework classes. + ret.noFrameworksLibs = true } return ret }