-
Notifications
You must be signed in to change notification settings - Fork 832
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
Support for 64-bit ?? #337
Comments
@ashirmehmood1996 did you any solutions? I am getting error when published app on google play |
I'm also getting error while using this library the library does not support 64 bit. please anyone can guid ? |
Thanks to yadavkohi
|
Hello @ashirmehmood1996 thank you for providing the solution. I'm new to android development and I was using this library in my project. Could you please help me how to add these 64-bit binaries? Like do we have to copy arm64-v8a and x86_64 folders to our app asset folder? And how can we make changes to the code you'd mentioned above? I've installed the library using implementation 'com.writingminds:FFmpegAndroid:0.3.2'. Any help would really be appreciated.... |
@ArjunBhilare the libraries I was dealing with were offline. I was given a task at my work space to make the code compatible with 64 bit OS as per google warning. The code handed over to me was using downloaded libraries as binaries. Unfortunately I don't know in your case how exactly we can do that. I am a bit junior too for that task. May be yadavkohi can help you out in that case. |
Ohh okay. Thank you @ashirmehmood1996. If possible could you share your project structure just so that I could get a hint on how to place the library folder? |
Thank you @ashirmehmood1996. This really helped a lot to understand how to place the folders. One last question, could you please tell how have you implemented this in your build.gradle(Module: app) file? |
Actually it was not implemented by me I just added support of 64-bit using he method I described above `apply plugin: 'com.android.application' android {
}
} apply plugin: 'kotlin-android' |
Ohh okay. Thank you @ashirmehmood1996 for replying . Actually, I'm looking for how the ffmpeg library was implemented. I followed your steps and added support of 64-bit. But I don't know how to implement its dependency in build.gradle because of which I'm getting |
@ashirmehmood1996 did you find anything that implements the library you've included in your project? |
@ashirmehmood1996 @yadavkohi I've added the support for 64 bit by adding 64-bit binaries over here https://github.com/ArjunBhilare/ffmpeg-android-java But still when I upload the app on Play Store it shows support for only 32-bit included. Could you please have a look at it and help me find the bug causing this issue? |
You can refer the following repo for ffmpeg library code : https://github.com/yadavkohi/FFmpegAndroid |
Yes, I've followed the same @yadavkohi I've replaced the FFmpegAndroid folder with the one you mentioned above. You can check it here https://github.com/ArjunBhilare/ffmpeg-android-java Could you please check it. Because when I implemented it in my project and uploaded app to Play Store it still shows error. I really can't understand where the error is and how to resolve this issue. Would be very very grateful of you @yadavkohi if you could help me |
Or if possible @yadavkohi could you upload a whole new repository of the complete library with 32-bit and 64-bit support. Since I don't have much in-depth knowledge in this there could be something missing in https://github.com/ArjunBhilare/ffmpeg-android-java due to which it's not supporting 64-bit. |
follow the repo : https://github.com/yadavkohi/FFmpegAndroid and remove some unused folder from ffmpeg submodule like jni, libs etc. |
Okay I'll follow the above repo and try and let you know if it works. Thank you @yadavkohi for the help, will let you know soon |
@ashirmehmood1996 does your method solved the issue for 64 bit like you put some stuffs in your assest folder ? |
@ArjunBhilare after following @ashirmehmood1996 way still you are getting the error ? |
Yes I'm still getting the error |
@yadavkohi I've followed the repo you mentioned. I'm still getting the error. I've attached the screenshots above. Could you please help me? Where am I going wrong? I followed the steps you mentioned |
@softwrengr did you resolve this issue? |
@ArjunBhilare can you show the expanded picture of jni libs folder |
further expand them |
More? |
yeah the sub folders |
Shall I delete the libs folder and jni folder then? |
If you are only using the ffmpeg binaries then you can delete those folders. |
donot delete them straigh away. cut them o another folder and see if things are working |
@ashirmehmood1996 @yadavkohi Now the error is gone. But I'm getting this warning |
what is the error now? |
Device support removed warning. I did not understand why this warning is shown |
have you changed the minimum SDK ? |
It seems like some configuration changed from you previous playstore build, so it will re-install the app on existing users instead of updating the existing app. |
stackoverflow may be you doing something like him |
Ohhh but it also says app being available for new installs on fewer types of devices. |
add required: false if it is not necessary for this app to work |
Yes I'll do that |
@ashirmehmood1996 @yadavkohi I think the warning is because of native platform value. In the latest one (1st image) it says it supports 5 native platforms and in the second one (the previous update) it shows all native platforms. So that's why it might be showing that warning. What are the maximum number of native platforms? |
Thank you so much @yadavkohi it's working like charm. you save my day. |
thank you guys, @yadavkohi for your work, @ashirmehmood1996 for your complete helpful comments and orientations, @ArjunBhilare for your screenshots. your help was very precious.... |
are these changes running for android 10? |
Hi, do you know where the java files are that need to be modified? |
Hi everyone, I'm also trying to make a project using this library to be 63 bit compatible. I added the ffmpeg.so in the assets and after I build the apk and analyze it I have the assets folder that contains x86, x86_64 , armeabi-v7a and arm64-v8a. So that's ok. BUT the lib folder has this file called libARM_ARCH.so that is only contained in armeabi-v7a and x86. It is not present in the 64 bit folders. Has anyone had this issue? @ashirmehmood1996 @yadavkohi |
I got a solution and My app is published successfully without warning. I have also tested in Firebase Testlab with 5 different devices. The
I made three changes in that:
Try. May you will get success. |
Hi, thank you for your help. But I ended up replacing this library with another one that is more up to date |
Which library have you used? |
I Solve this 64 bit Uploading Issue from below answer |
is any one there from the original developers of this library to provide the support for 64 bit architecture??? at least guide us to a genuine solution...
The text was updated successfully, but these errors were encountered: