diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-11-19 18:38:16 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-11-19 18:38:16 +0000 |
commit | e63ab5ea0244b4bdb431db7872030318188ebc2c (patch) | |
tree | 0b6c48037641f86b4d32e7694b9c60b00d688f44 /java/java.go | |
parent | 7a64f7e5b61f4e0c784c46eb94086523bb987222 (diff) | |
parent | 0029898a847d28abee46049ca6dd4d1188886e69 (diff) |
Merge "java link time error improve"
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 4 |
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: |