-
Notifications
You must be signed in to change notification settings - Fork 77
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
minicap shared library broken on SDK 31 #22
Comments
I got the same problem, did you solve it? it seems only support andorid-30 now. |
Hi @huakaijian Which one you have build android beta 1,2,3 or 4? Or you are just copied android 30 Binary in android-31 folder . |
Hi @antoine-carat If yes can you share that if possible. |
1 similar comment
Hi @antoine-carat If yes can you share that if possible. |
We moved from this to the Kotlin app for our needs as re-compiling the .cpp libs seemed to have too much overhead. |
Changes would look like this #29 |
@antoine-carat thanks for you prompt reply. I have done the same changes and previously we were using below function in android 11. int minicap_try_get_display_info(Int32_t displayId, Minicap::DisplayInfo* info); In Android 12 displayId is became android::PhysicalDisplayId displayId*. Now the problem is how to create an object of android::PhysicalDisplayId displayId Its asking for the reference means header file. if (!minicap_try_get_display_info(android::PhysicalDisplayId displayId, &fbInfo)) If am not passing the display id then not getting the &info |
@varundtsfi |
@varundtsfi @antoine-carat @huakaijian |
Hi @JesseCodeBones |
Here only I was doing mistake. Thank you so much @JesseCodeBones . |
What is the issue or idea you have?
When running the minicap binary on android 12 beta, we get the following error:
I had a look into the libgui.so library and the signature of the function is now the following:
The current minicap_30.cpp is using a
int32_t
instead of thePhysicalDisplayId
type.Have you tried STF?
The text was updated successfully, but these errors were encountered: