-
Notifications
You must be signed in to change notification settings - Fork 635
can't runing .... #22
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
Comments
I don't know, maybe the Android.mk files behave a bit differently on Windows and something breaks. I only build on Linux, so I can't help you. If you get it working, please submit a patch. Also, you said that you're always getting an error, but didn't actually post the error. |
i means , view the code , when you new SurfaceComposerClient , mStatus is set NO_INIT , AOSP version is 4.4. |
void SurfaceComposerClient::onFirstRef() {
sp<ISurfaceComposer> sm(ComposerService::getComposerService());
if (sm != 0) {
sp<ISurfaceComposerClient> conn = sm->createConnection();
if (conn != 0) {
mClient = conn;
mStatus = NO_ERROR;
}
}
} This is magic that gets called before we call |
i build on windows7 use NDKR10D and AOSP is android 4.4
the code like this :
all ways return error , why ? i checked the android4.4 source , and class SurfaceComposerClient:
SurfaceComposerClient::SurfaceComposerClient()
: mStatus(NO_INIT), mComposer(Composer::getInstance())
{
}
status_t SurfaceComposerClient::initCheck() const {
return mStatus;
}
the code means , initCheck is allways return NO_INIT .
The text was updated successfully, but these errors were encountered: