Building RMSDK 9 or 10 with Android NDKr10

The make files for RMSDK 9 or RMSDK 10 are only supported up to Android NDK-r9. If you try to build without editing the build files to support NDK-r10 you may see the following error:

clang: error: unknown argument: '-finline-limit=10000'

You can download NDK-r9d from this Google site.

If you want to use Android NDK-r10 edit the /build/make/ and DLBuildAndroidExternals.mak files.

For the file, search for ndk-r9 and change it to ndk-r10. You should find this in two locations, about lines 62 and 187 if working with RMSDK-10_0_2014-08-25.

ifneq (,$(findstring android-ndk-r10,$(ANDROID_NDK)))

DLBuildAndroidExternals.mak has the same issue around line 73.

Note also that both point to GCC 4.6. You can change this to 4.8 if needed.

These values must match what you have set in your path (arm-linux-androideabi-4.6):

export PATH=/Users/leb/Android/android-ndk-r10d/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin:$PATH

Reader Mobile SDK

  1. Reader Mobile Software Development Kit (SDK)
  2. Building RMSDK 9 or 10 with Android NDKr10
  3. Building OpenSSL and CURL for iOS 64-bit platform
  4. Certification
  5. Download file locations
  6. Languages supported by RMSDK
  7. Upgrading to the most recent version of libpng for RMSDK
  8. Activations
  9. Adobe ID and Vendor ID accounts
  10. Activating a device using book2png as a host
  11. Deactivating a device
  12. Guidelines for supporting multiple activations in RMSDK
  13. RMSDK and Digital Rights Management (DRM)
  14. Open Mobile Alliance (OMA)
  15. Processing an ePub file that is passhash protected
  16. Removing and re-installing an application
  17. Transferring eBook content
  18. Working with content restricted to a mobile device
  19. RMSDK Errors and Error Messages
  20. Activating devices using an Adobe ID, and potential problems
  21. Application times out when downloading large files
  22. Bus error when attempting to open eBook
  23. DL Reader fails. Error appears, "Class android.content.Context could not be found"
  24. E_ACT_NOT_READY error
  27. E ADEPT_REQUEST_EXPIRED workflow SIGN_IN error
  28. Images are blank when opening a PDF document in Adobe Digital Editions
  29. No document generated for book2png fulfillment (Windows xp 32)
  30. RMSDK Build Error: LINK : fatal error LNK1181: cannot open input file 'libeay32.lib'
  31. Slow performance, iPAD sample application
  32. Undefined reference to __dso_handle
  33. RMSDK: Rendering
  34. Applying a User Style Sheet (userStyle.CSS) to edit fonts and properties in an ePub file
  35. Displaying multiple pages in columns
  36. Displaying screen numbers
  37. Dynamically changing styles using the RMSDK userStyle.css style sheet
  38. Flash support in RMSDK
  39. Highlights with RMSDK
  40. Image Objects, Highlighting and the Hit test
  41. Rendering a password protected PDF document
  42. Threads and rendering in RMSDK

Feedback and Knowledge Base