summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-11-19 18:38:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-19 18:38:16 +0000
commite63ab5ea0244b4bdb431db7872030318188ebc2c (patch)
tree0b6c48037641f86b4d32e7694b9c60b00d688f44 /java/java.go
parent7a64f7e5b61f4e0c784c46eb94086523bb987222 (diff)
parent0029898a847d28abee46049ca6dd4d1188886e69 (diff)
Merge "java link time error improve"
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index a23c649c1..0739eab04 100644
--- a/java/java.go
+++ b/java/java.go
@@ -952,7 +952,9 @@ func checkLinkType(ctx android.ModuleContext, from *Module, to linkTypeContext,
return
}
otherLinkType, _ := to.getLinkType(ctx.OtherModuleName(to))
- commonMessage := "Adjust sdk_version: property of the source or target module so that target module is built with the same or smaller API set than the source."
+ commonMessage := " In order to fix this, consider adjusting sdk_version: OR platform_apis: " +
+ "property of the source or target module so that target module is built with the same " +
+ "or smaller API set when compared to the source."
switch myLinkType {
case javaCore: