Adding Compiler and Library Resources

Add compiler and library resources to the Android project.

  1. Add a compiler resource to the root directory of the project:
    1. In Windows Explorer, browse to SMP_HOME\MobileSDK23\ObjectAPI\Android and copy the armeabi folder and these JAR files: AfariaSLL.jar, ClientLib.jar, sup-client.jar, and UltraLiteJNI12.jar.
    2. In Workspace Navigator, expand SMP101Android, select the libs folder, and paste the armeabi folder and JAR files into it.
  2. Add library resources to the project:
    1. In Workspace Navigator, right-click the SMP101Android project, click Properties, and select Java Build Path.
    2. Click the Libraries tab and select Add JARs.
    3. In the JAR Selection window, expand the SMP101Android\libs folder and select AfariaSSL.jar, ClientLib.jar, sup-client.jar, and UltraLiteJNI12.jar.
    4. Click the Order and Export tab and select those four JARs.
    5. Click OK.