Android Play Services Check
up vote
0
down vote
favorite
Im facing a problem currently im making my app to run on t.v its working fine on mobiles. but the issue is if i run my app on t.v emulator splash screen appears then the app crashes log shows this error.
No acceptable module found. Local version is 0 and remote version is 0
i googled this error and came with a solution that my emulator should have latest google play services installed in it.. but in my t.v emulator there is no play store so i cant update my play services to latest version. so is there any way to make a check that if play services version is less then this so run the app instead of crashing, and if the play services version is latest also run the aap...
here is my code where im getting the play services version..
int playServicesAvailable =
GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
if (playServicesAvailable == ConnectionResult.SUCCESS) {
mCastContext = CastContext.getSharedInstance(this);
}
i want to check here for version less then latest version to run the app
java android
add a comment |
up vote
0
down vote
favorite
Im facing a problem currently im making my app to run on t.v its working fine on mobiles. but the issue is if i run my app on t.v emulator splash screen appears then the app crashes log shows this error.
No acceptable module found. Local version is 0 and remote version is 0
i googled this error and came with a solution that my emulator should have latest google play services installed in it.. but in my t.v emulator there is no play store so i cant update my play services to latest version. so is there any way to make a check that if play services version is less then this so run the app instead of crashing, and if the play services version is latest also run the aap...
here is my code where im getting the play services version..
int playServicesAvailable =
GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
if (playServicesAvailable == ConnectionResult.SUCCESS) {
mCastContext = CastContext.getSharedInstance(this);
}
i want to check here for version less then latest version to run the app
java android
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Im facing a problem currently im making my app to run on t.v its working fine on mobiles. but the issue is if i run my app on t.v emulator splash screen appears then the app crashes log shows this error.
No acceptable module found. Local version is 0 and remote version is 0
i googled this error and came with a solution that my emulator should have latest google play services installed in it.. but in my t.v emulator there is no play store so i cant update my play services to latest version. so is there any way to make a check that if play services version is less then this so run the app instead of crashing, and if the play services version is latest also run the aap...
here is my code where im getting the play services version..
int playServicesAvailable =
GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
if (playServicesAvailable == ConnectionResult.SUCCESS) {
mCastContext = CastContext.getSharedInstance(this);
}
i want to check here for version less then latest version to run the app
java android
Im facing a problem currently im making my app to run on t.v its working fine on mobiles. but the issue is if i run my app on t.v emulator splash screen appears then the app crashes log shows this error.
No acceptable module found. Local version is 0 and remote version is 0
i googled this error and came with a solution that my emulator should have latest google play services installed in it.. but in my t.v emulator there is no play store so i cant update my play services to latest version. so is there any way to make a check that if play services version is less then this so run the app instead of crashing, and if the play services version is latest also run the aap...
here is my code where im getting the play services version..
int playServicesAvailable =
GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
if (playServicesAvailable == ConnectionResult.SUCCESS) {
mCastContext = CastContext.getSharedInstance(this);
}
i want to check here for version less then latest version to run the app
java android
java android
asked Nov 10 at 8:55
shaheryar
204
204
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237419%2fandroid-play-services-check%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown