diff --git a/java/java.go b/java/java.go index 700b91748..c912368dc 100644 --- a/java/java.go +++ b/java/java.go @@ -1573,6 +1573,10 @@ func (j *Import) GenerateAndroidBuildActions(ctx android.ModuleContext) { }) j.exportedSdkLibs = android.FirstUniqueStrings(j.exportedSdkLibs) + if Bool(j.properties.Installable) { + ctx.InstallFile(android.PathForModuleInstall(ctx, "framework"), + ctx.ModuleName()+".jar", outputFile) + } } var _ Dependency = (*Import)(nil)