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
New contributor
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
New contributor
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
New contributor
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
New contributor
New contributor
New contributor
asked yesterday
shaheryar
83
83
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
shaheryar is a new contributor. Be nice, and check out our Code of Conduct.
shaheryar is a new contributor. Be nice, and check out our Code of Conduct.
shaheryar is a new contributor. Be nice, and check out our Code of Conduct.
shaheryar is a new contributor. Be nice, and check out our Code of Conduct.
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
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
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
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
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