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

Doesn't uploading apk with GiraffePlayer. Problem with dex, JAR, .so files #211

Open
Anatolf opened this issue Jul 1, 2023 · 3 comments

Comments

@Anatolf
Copy link

Anatolf commented Jul 1, 2023

Now Google does not uploading applications with this player. The letter says:

After a recent review, we found that your app does not comply with one or more of the Developer Program policies. See below for more information about the status of your application and how to troubleshoot the issue.

Problem with your application
We have detected that your application is using the Giraffeplayer SDK, which contains code to download executable code (eg dex, JAR, .so files) from a source other than Google Play.

If necessary, contact the SDK vendor(s) for more information.

@vinhduc98
Copy link

Oh me too. Have you solved the problem yet?

@Anatolf
Copy link
Author

Anatolf commented Jul 21, 2023

Oh me too. Have you solved the problem yet?

No, for now I use ExoPlayer for GooglePlay users.

@Anatolf
Copy link
Author

Anatolf commented Mar 21, 2024

I was able to successfully upload the application to GooglePlay from GiraffePlayer2.

Here's what I did:
1- Installed the GiraffePlayer2 library locally as a module of my application.
2- LazyLoadManager has a method soFetcher.getURL(abi, soVersion). It downloads .so files into the application after the user has installed your application. GooglePlay complains about this.
Therefore, download all .so files yourself using the link created by this method soFetcher.getURL(abi, soVersion).
Download for different architectures "arm64-v8a", "x86", etc.
3- Put these .so files in app -> libs of your application. (In the folders of the required architecture)
4- Remove LazyLoadManager.
5- Remove the LazyLoadManager.Load(context, videoInfo.getFingerprint(), Message.obtain(msg)) method call in GiraffePlayer.java

Now, when the player initializes, it will take the .so files from your libs folder. And it will work.

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

2 participants