title: Android R sdk_version issues in Android.bp file
body: <p>I have created a new module in vendor partition. When I try to link my module with framework I keep getting this error. I am not able to understand the relation between different variants of sdk_version.
  &quot;system_server_current&quot; , &quot;current&quot;, &quot;core_platform&quot;, &quot;module_current&quot; ...</p>
  <p>Is there a document which can explain these and resolve below issue ?</p>
  <p>wifi-service-pre-jarjar depends on newmodule.</p>
  <p>error: frameworks/opt/net/wifi/service/Android.bp:47:1: module &quot;wifi-service-pre-jarjar&quot; variant &quot;android_common&quot;: compiles against system server API, but dependency &quot;newmodule&quot; is compiling against private API.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.</p>