These are chat archives for dronekit/dronekit-android

17th
Nov 2015
vibhubithar
@vibhubithar
Nov 17 2015 21:32

Hi, I am using drone kit to create an app and to test the app I use SITL and connect to it via TCP. With version 3DR services release 1.2.20 I am getting unhandled exception shown below. ====================================================== 3405-3525/com.o3dr.hellodrone W/BinderNative﹕ Uncaught exception from death notification java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:200) at android.os.Handler.<init>(Handler.java:114) at android.widget.Toast$TN.<init>(Toast.java:344) at android.widget.Toast.<init>(Toast.java:100) at android.widget.Toast.makeText(Toast.java:258) at com.o3dr.hellodrone.MainActivity.alertUser(MainActivity.java:472) at com.o3dr.hellodrone.MainActivity.onTowerDisconnected(MainActivity.java:192) at com.o3dr.android.client.ControlTower.notifyTowerDisconnected(ControlTower.java:98) at com.o3dr.android.client.ControlTower$1.binderDied(ControlTower.java:35) at android.os.BinderProxy.sendDeathNotice(Binder.java:551) ====================================================== For now i reverted back to 1.2.19 and it is working fine. Please let me know if you need more details.