sample-uartloopback
sample-uartloopback copied to clipboard
App get crashed when i use PeripheralManager.
Hi ,
The app is getting chrashed when i use PeripheralManager.getInstance();
below is error given.
Caused by: java.lang.RuntimeException: Stub!
at com.google.android.things.pio.PeripheralManager.getInstance(PeripheralManager.java:21)
at com.asiczen.usb1.UartActivity.onCreate(UartActivity.java:43)
at android.app.Activity.performCreate(Activity.java:6858)
You should make sure that <uses-library android:name="com.google.android.things"/> is in your project manifest and that your device is infact running Android Things.
I added above uses to manifest it gives build error , install failed missing shared library
is there any solution for this? I am also getting same issue. Please help