Android things + (Raspberry Pi 3 模拟器和 BreadBoard 模拟器)

Android things + (Raspberry Pi 3 emulator & BreadBoard emulator)

是否可以只用模拟项目来开发 Android 东西。那么 Raspberry pi3 的模拟器和虚拟面包板还有任何其他必要的组件吗?

目前还没有 Android Things(当然还有 Raspberry Pi 3 with breadboard)模拟器,而且可能不会创建模拟器。但是,如果您只想测试 UI(或其他非硬件特定的东西),您可以使用 this answer of Blundell 中描述的普通模拟器:

in your AndroidManifest.xml add that the Android Things SDK is not required:

  <uses-library android:name="com.google.android.things" android:required="false"/>

  ... activities etc

android:required="false" is the key

You just have to make sure, that the code that is running on the emulator is not using any of the Android Things java imports at that time.