You are here: Forum Home → ANT Developers Forums → ANT in Mobile Phones → Thread
E/AndroidRuntime(18552): android.os.BadParcelableException:
ClassNotFoundException when unmarshalling: com.dsi.ant.message.LibConfig
at android.os.Parcel.readException(Parcel.java:1329)
at android.os.Parcel.readException(Parcel.java:1281)
at com.dsi.ant.channel.ipc.aidl.IAntChannelAidl$Stub$Proxy.handleMessage(IAntChannelAidl.java:593)
at com.dsi.ant.channel.ipc.aidl.AntChannelCommunicatorAidl.setLibConfig(AntChannelCommunicatorAidl.java:486)
at com.dsi.ant.channel.AntChannel.setAdapterWideLibConfig(AntChannel.java:642)
final ChannelId channelID = new ChannelId(0, 0, 0);
channel = antService.getChannelProvider().acquireChannel(context, PredefinedNetwork.ANT_PLUS,
new Capabilities(false, true, true, false));
hannel.assign(ChannelType.BIDIRECTIONAL_SLAVE, new ExtendedAssignment(true, true));
channel.setChannelId(channelID);
//channel.setAdapterWideLibConfig(new LibConfig(true, false, false)); //Crash
channel.setSearchTimeout(LowPrioritySearchTimeout.MAX, HighPrioritySearchTimeout.DISABLED);
channel.setChannelEventHandler(callback);
channel.open();