-
Notifications
You must be signed in to change notification settings - Fork 826
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
生成so包得时候怎么老是报这个错误 #8
Comments
这个问题解决了吗?我也遇到了 |
这个生成so文件不得自己写编译文件吗? |
恩恩,是啊 |
不太清楚 我编译的时候没有遇到 |
我在AndroidStudio里编译的 |
你这个是要生成差量包? |
我也遇到了上面的问题,这个问题有大神知道怎么解决么? |
此问题我也遇到了,解决方案是在Android.mk中加入如下配置: |
因为没指定platform版本,默认是3,对应的err.h是个空文件,当然找不到了 在Application.mk中指定一下正确的platform版本就行了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:264: error: undefined reference to 'errx'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:272: error: undefined reference to 'err'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:275: error: undefined reference to 'err'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:287: error: undefined reference to 'err'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:290: error: undefined reference to 'err'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:316: error: undefined reference to 'BZ2_bzWriteOpen'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:317: error: undefined reference to 'errx'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:401: error: undefined reference to 'BZ2_bzWrite'
/Users/intelligentdroid/Desktop/pengpeng/code/apkUpdate/apkpatchlibraryserver/jni/com_cundong_utils_DiffUtils.c:403: error: undefined reference to 'errx'
The text was updated successfully, but these errors were encountered: