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

fail to build arm64 and x86_64 so #9

Closed
realtime29 opened this issue Jun 20, 2016 · 6 comments
Closed

fail to build arm64 and x86_64 so #9

realtime29 opened this issue Jun 20, 2016 · 6 comments

Comments

@realtime29
Copy link

No description provided.

@mekya
Copy link
Contributor

mekya commented Jun 21, 2016

Have you encountered any error?

@tmhouse
Copy link

tmhouse commented Jul 26, 2016

It is very simple there are no 64bit libs.
I didn't know how to make them, but I just did it.
Change compileSdkVersion number greater equal 21.
that's all.

And, please upload new version to maven(?) repository.

thank your nice source!

@mekya
Copy link
Contributor

mekya commented Jul 28, 2016

Your welcome,

if compileSdkVersion is set to 21, there are errors on previous versions so that we made it to 16.
Theoritcally 32 bit is compatible with 64 bit and I also have compiled this library for 64 bit architectures but I didn't package them all because of not to increase the size of the lib.

@Furystorm
Copy link

According to this article, providing all the files for each architectures is a good idea. If there is no .so files for 64 bit architectures in this lib, users can not use 64 bit in other libs.

If you’re a library provider, and you’re not supporting all the ABIs, you’re screwing up your customers, as they can’t support more ABIs than you do.

@calber
Copy link

calber commented Sep 26, 2016

not including 64 bit is a bad idea, if you mix rtmp with other jni lib with 64bit support, rtmp crashes as it expect to find so in the existing 64 bit directory, but it's not there...

@mekya
Copy link
Contributor

mekya commented Dec 3, 2016

@calber probably your project uses some other 64bit libs and android is only looking for the 64bit directory to find librtmp.

if we set to compile sdk to 21, 64 bits .so are created. However then we need to set the minimumSdkLevel to 21 as well otherwise it throws exceptions in older sdk levels than to 21. These are pros and cons please build the lib according to your project.

Please comment it if you have something to say.

Bests,

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

5 participants