How do I package .so files into my .aar archive?

前端 未结 2 1630
眼角桃花
眼角桃花 2020-12-30 07:17

I was wondering if it\'s possible to package my native .so files into my .aar file? If so, where would the .so files go and are there any references that I can read in regar

2条回答
  •  时光说笑
    2020-12-30 07:52

    jni//libexample.so

    doesn't work.

    It should be src/main/jniLibs//libexample.so

    http://www.codepool.biz/build-so-aar-android-studio.html

提交回复
热议问题