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

Not working below API 30 #305

Open
haseebmalik-1 opened this issue Nov 16, 2024 · 8 comments
Open

Not working below API 30 #305

haseebmalik-1 opened this issue Nov 16, 2024 · 8 comments

Comments

@haseebmalik-1
Copy link

Hi,
I have an application in which I am using this library(v0.17) as on demand delivery module. It works flawlessly on devices above API level 30, but below 30 I get initialisation errors.
Note: It works well on emulators, but once downloaded from Google Play, the library stops working.

I am highlighting some of the errors.
Can share detailed stack trace if needed.
Target SDK version of the app is 34, minimum SDK version is 24.

Non-fatal Exception: com.yausername.youtubedl_android.YoutubeDLException
Failed to initialize

Caused by java.nio.file.NoSuchFileException
/data/app/packageID==/lib/arm64/libpython.zip.so�

Any help would be appreciated.

@deniscerri
Copy link

The new version has python 3.11 which is supported by android 7 and up.

@haseebmalik-1
Copy link
Author

The new version has python 3.11 which is supported by android 7 and up.

@deniscerri what version exactly? I think you didn't understand, this only misbehaves when downloaded from Google Play

@zaednasr
Copy link
Contributor

Ur not supposed to upload it in Google play. They notice the libraries and block them.

@haseebmalik-1
Copy link
Author

Ur not supposed to upload it in Google play. They notice the libraries and block them.

You should read the actual issue first, its bundled with the application and it gets downloaded as an on-demand module.
Now, if you're saying google will detect any library from the application and block them, doesn't make sense, because it works above API 30.

@harisEshaafi
Copy link

harisEshaafi commented Nov 25, 2024

@haseebmalik-1 i am facing currently the same issue have you found any solution

@harisEshaafi
Copy link

@deniscerri i am using the latest version 0.17.1
but found same issue

@harisEshaafi
Copy link

@haseebmalik-1 i have face the issue when i test with dynamic module from internal testing on local build its working on all api i think the issue with dynamic delivery may be is any body know whats the problem

@Purehi
Copy link

Purehi commented Dec 17, 2024

It is working for me, you can check this app.
WeTube

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