Comments (8)
I am trying to build the Amdroid_12 r1 but getting errors even libgui.so and other supported libs got generated. I am building the specific module like make minicap
Resolve all the new changes but still compiling is done but did not get minicap.so
@koral--
@pcrepieux few people asking about the same solutions because they are still using minicap.so as in their project and not the current minicap.apk.
Following are the changes in Android 12 :-
S.No Android 11 Android 12
1 ui/DisplayInfo --> ui/StaticDisplayInfo
2 ui/DynamiDisplayInfo --> ui/DisplayConfig ui/DisplayMode
4 ui/DisplayState.h->viewport --> ui/DisplayState.h->LayerSpaceRect
waiting for your suggestions.
Android-11
- android::DisplayInfo dinfo;
- err = android::SurfaceComposerClient::getDisplayInfo(dpy, &dinfo);
- android::DisplayConfig dconfig;
- const android::ui::Size& viewport = dstate.viewport;
Android-12
- android::ui::StaticDisplayInfo dinfo;
- err = android::SurfaceComposerClient::getStaticDisplayInfo(dpy, &dinfo);
- android::ui::DisplayMode dconfig;
- const android::ui::Size& viewport = dstate.layerStackSpaceRect;
from minicap.
OK thanks. I've just grabbed r2 branch. Will check it 👍
from minicap.
@pcrepieux You can use android-12.0.0_r1 too. It'ss compiling mostly 96%. I am also trying the same But this time I am using
android-12.0.0_r1 . I will keep posted the results here.
from minicap.
Hi @pcrepieux
I have build the android-12_0.0.r1 successfully with minicap and get the .so file too. But I am getting the following error
CANNOT LINK EXECUTABLE "/data/local/tmp//androidvncserver": cannot locate symbol "_Z28minicap_try_get_display_infoiPN7Minicap11DisplayInfoE" referenced by "/data/local/tmp/androidvncserver"...
I am debugging it step by step. @pcrepieux Any suggestion here.
from minicap.
HI @varundtsfi @pcrepieux are you able to crack this for Android 12.
from minicap.
Hi @bikeebh
I am trying but getting the same error.
There is a changed from Displayid to android::PhysicalDisplayid Which is creating problem.
INFO: (external/minicap/src/minicap_31.cpp:244) Creating SurfaceComposerClient
INFO: (external/minicap/src/minicap_31.cpp:247) Performing SurfaceComposerClient init check
INFO: (external/minicap/src/minicap_31.cpp:258) Creating virtual display
INFO: (external/minicap/src/minicap_31.cpp:266) Creating buffer queue
INFO: (external/minicap/src/minicap_31.cpp:269) Setting buffer options
INFO: (external/minicap/src/minicap_31.cpp:273) Creating CPU consumer
INFO: (external/minicap/src/minicap_31.cpp:277) Creating frame waiter
INFO: (external/minicap/src/minicap_31.cpp:281) Publishing virtual display
after Publishing virtual display its getting stuck in waitForFrame
int waitForFrame() {
std::unique_lockstd::mutex lock(mMutex);
while (!mStopped) {
MCINFO("Wait for frame ");
if (mCondition.wait_for(lock, mTimeout, [this]{return mPendingFrames > 0;})) {
return mPendingFrames--;
MCINFO("Wait for mPendingFrames ");
}
}
return 0;
}
@pcrepieux do you have any update on it🤔.
from minicap.
From here you can use the android 12 support from minicap side using shared libs.
https://github.com/varundtsfi/Android12Support_withso/tree/main/aosp/android-31/arm64-v8a
from minicap.
Thanks @varundtsfi it's works for me.
from minicap.
Related Issues (20)
- I want to konw why ios minicap capture same screen data two times, the data is not the same?
- When to support android-31, if I try to do it myself, do you have any suggestions? HOT 4
- Why dose -d parameter have no effects? HOT 1
- Incorrect minicap.so x86_64 archeticture for android-31 HOT 4
- No android secured screen in Android 12 HOT 8
- Pixel 3 Android 12 won't connect
- [ENHANCEMENT] minicap written in pure public Android Java APIs
- [ENHANCEMENT] minicap written in pure public Android Java APIs HOT 10
- where is minicap.so for android sdk 32? HOT 11
- Minimum required Android version for minicap-kotlin? HOT 7
- where is minicap.so for android sdk 33? HOT 4
- where is minicap.so for android sdk 33? HOT 43
- png、png HOT 1
- Can i use galaxy flip sub display in stf or minicap? HOT 4
- Error: "Failed to instantiate [ch.qos.logback.classic.LoggerContext]" HOT 1
- I run minicap-33 on some devices and prompt Segmentation fault. Is there any solution? HOT 1
- b'CANNOT LINK EXECUTABLE "/data/local/tmp/minicap": cannot locate symbol "_ZTVN7android13LayerMetadataE" referenced by "/data/local/tmp/minicap.so"...\r\n' HOT 3
- 运行build.sh一直报错 HOT 2
- where is minicap.so for android sdk 34? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minicap.