Is it expected that the APK of the Sample Simple UI, which runs fine on an attached Pi 3 running the AT SDK, would fail to install to an attached handset running Android 7.1.1 with "Error installing split apks: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_MISSING_SHARED_LIBRARY: Package couldn't be installed in /data/app/com.example.androidthings.myproject-1: Package com.example.androidthings.myproject requires unavailable shared library com.google.android.things; failing!"

Or is there something I'm supposed to be adding in Gradle to fix it?

Generally, how compatible are AT builds with regular SDK ones? If they are not, is there a strategy we should adopt where separate projects share layouts, resources and code but create appropriate targeted APK's each build?
Shared publiclyView activity