Hello!
I have tried to use the daddon-digi_sdk_addon-digi-22 in the example of XBeeManagerSampleApplication
But, I’m not be able to see the serial ports due to an java.lango.NoDefClassFoundErro.Exception is thrown when the code tries to instantiate the SerialPortManager class.
The compiler doesn’t throw any exception, the exception happens at execution time.
If I decompile with android the class com.digi.android.serial.SerialPortManager
The constructor come with that:
public SerialPortManager(Context var1)
{
throw new RuntimeException(“stub”);
}
I don’t now if ti happens becuase:
My Android SDK works wit JDK 8, and not with JDK 7 like Digi tutorial indicates.
I changed from de add-ons folder to the local libs folder of the project the com.digi.android.jar (even I don’t errase from add-ons folder)