Difference between armeabi and armeabi-v7a

后端 未结 1 1093
终归单人心
终归单人心 2020-12-29 05:05

As far as I can tell from the docs, the difference between the two supported flavors of ARM architecture in Android NDK is only in the set of supported CPU instructions. Is

相关标签:
1条回答
  • 2020-12-29 06:02

    You definitely can run armeabi shared library on v7, and you can call its exported functions from another module. So, to be on the safe side, I would create a separate .so file from you Pascal code, sticking to armeabi (maybe with some C/C++ wrappers), and use this shared library with both your armeabi and armeabi-v7a libraries. The easiest way to load everything in correct order is to use

    System.loadLibrary("pascal"); // armeabi
    System.loadLibrary("c++"); // the platform will choose armeabi or armeabi-v7a
    
    0 讨论(0)
提交回复
热议问题