Can't load native shared library with dependencies in a native activity app

后端 未结 4 1934
心在旅途
心在旅途 2020-12-15 00:19

In my Android app I have 4 libraries:

libTemplate.so
   depends on libPorkholt.so
libPorkholt.so
   depends on libpng15.so
   depends on liblua.so
   depends         


        
4条回答
  •  旧时难觅i
    2020-12-15 01:13

    Your Activity probably has a static constructor that calls System.Load("libTemplate.so"). It should load the other libraries according to the dependency order.

提交回复
热议问题