Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[demo] Bundle包没有打进apk中,当gradle中abiFilters只配置"armeabi-v7a"时 #68

Closed
lixlee opened this issue Mar 24, 2017 · 2 comments

Comments

@lixlee
Copy link

lixlee commented Mar 24, 2017

系统:Mac
插件配置: classpath "com.taobao.android:atlasplugin:2.3.0.+"

问题:文档说Bundle以so包的形式放在lib/armeabi目录,这个位置是固定吗?
我的app只提供armeabi-v7a一种架构,gradle 的部分配置如下:

        ndk {
            abiFilters "armeabi-v7a"
        }

发现生成的apk内并没有集成Bundle的文件,希望能尽快解决这种情况。

@username4gh
Copy link

username4gh commented Mar 27, 2017

其实你把所有的armeabi-v7a下的so文件放置到armeabi目录下就行了,然后把那个ndk的配置去掉就行了,这样做并不会影响你的apk的正常工作,又能保证atlas不冲突,至于为什么可以去搜一下Android是如何查找和加载so的

上述提到的做法更常见点,而且也能规避你这种情况,个人觉得也没必要去提个PR去解决了

@hwjump
Copy link
Collaborator

hwjump commented Mar 27, 2017

楼上的做法,就是手机淘宝内部的做法。楼主可以尝试一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants