Android GMS2 Android Full Screen & Build Error

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Rasmus, May 24, 2019.

  1. Rasmus

    Rasmus Member

    Joined:
    Jan 13, 2018
    Posts:
    6
    My Android game is ready for beta testing however I can't seem to get the app to full screen. I am currently testing it on a Samsung Galaxy S8 and it currently fills up most of the screen but not all of it. Is this something hidden deep within the settings or a built-in function that must be utilized? Maybe views?

    each room in my game is 600x800

    Also, just recently the game has been having a build error but this probably has to do with me newly installing the google play store extension. The error is as followed:

    ---------------------------------------------------------------------------------------------------------------------------------------------------

    :com.company.game:processArm64-v8aDebugManifest FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':com.company.game:processArm64-v8aDebugManifest'.
    > Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services-games:16.0.0] W:\com.company.game\build\intermediates\exploded-aar\com.google.android.gms\play-services-games\16.0.0\AndroidManifest.xml
    Suggestion: use tools:eek:verrideLibrary="com.google.android.gms.games" to force usage

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    ------------------------------------------------------------------------------------------------------------------------------------------------

    I am not quite sure how to deal with this error as I am fairly new to GMS2, but the google play extensions in particular.

    Thank you for your support! (and for some reason smiley faces appear in the text, must have to do with the formatting when I pasted)
     
  2. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,525
    If you read the error it tells you what the problem is, which is that you have your minSDK set to 9 and it can't be lower than 14 which is used in the Google Play extension.

    The reason smilies appear in the text is because you didn't read the guidelines and posted code / output as plain text instead of using code tags.
    Check out this thread: https://forum.yoyogames.com/index.p...on-the-programming-forum-dos-and-donts.22926/

    For the full screen issue, how are you trying to make it full screen and what scaling options are you using?
    Are you sure they aren't just borders because 800x600 doesn't scale perfectly to the target device resolution?
     
  3. Rasmus

    Rasmus Member

    Joined:
    Jan 13, 2018
    Posts:
    6

    I did read the issue and I fixed the minSDK but I must have pasted the wrong error as that is no longer my issue.

    Code:
    :com.company.game:processDebugResources FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':com.company.game:processDebugResources'.
    > com.android.ide.common.process.ProcessException: Failed to execute aapt
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    However, this dialog makes absolutely no sense to me as a beginning developer in game maker studio 2. When attempting to google processDebugResources all I find are responses in relation to Android Studio where you can dive into the XML of the manifest file.

    As for the fullscreen issue, I have no idea how to use or where scaling options are available on GMS2. That is why I am here asking for help, there exists not enough documentation for GMS2 Mobile Development. Im quite clueless on how the scaling system works.

    After digging through more I got this error to clear up but now I am stormed with GooglePlayExtension Errors. I found some more hidden content from the extension in my project and after deleting all of it I get the following build error:

    Code:
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:11: error: package com.google.android.gms.common does not exist
    import com.google.android.gms.common.ConnectionResult;
                                        ^
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:12: error: package com.google.android.gms.common does not exist
    import com.google.android.gms.common.GooglePlayServicesUtil;
                                        ^
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:13: error: package com.google.android.gms.common.api does not exist
    import com.google.android.gms.common.api.GoogleApiClient;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:14: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.GamesActivityResultCodes;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:42: error: cannot find symbol
                                                       GoogleApiClient client, ConnectionResult result, int requestCode,
                                                       ^
      symbol:   class GoogleApiClient
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:42: error: cannot find symbol
                                                       GoogleApiClient client, ConnectionResult result, int requestCode,
                                                                               ^
      symbol:   class ConnectionResult
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:20: error: package com.google.android.gms.ads does not exist
    import com.google.android.gms.ads.AdRequest;
                                     ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:21: error: package com.google.android.gms.ads does not exist
    import com.google.android.gms.ads.AdSize;
                                     ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:22: error: package com.google.android.gms.ads does not exist
    import com.google.android.gms.ads.AdView;
                                     ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:23: error: package com.google.android.gms.ads does not exist
    import com.google.android.gms.ads.AdListener;
                                     ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:24: error: package com.google.android.gms.ads does not exist
    import com.google.android.gms.ads.InterstitialAd;
                                     ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:25: error: package com.google.android.gms.ads does not exist
    import com.google.android.gms.ads.MobileAds;
                                     ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:26: error: package com.google.android.gms.ads.reward does not exist
    import com.google.android.gms.ads.reward.RewardItem;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:27: error: package com.google.android.gms.ads.reward does not exist
    import com.google.android.gms.ads.reward.RewardedVideoAd;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:28: error: package com.google.android.gms.ads.reward does not exist
    import com.google.android.gms.ads.reward.RewardedVideoAdListener;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:30: error: package com.google.ads.consent does not exist
    import com.google.ads.consent.*;
    ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:36: error: package com.google.gson does not exist
    import com.google.gson.Gson;
                          ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:47: error: package com.google.android.gms.common does not exist
    import com.google.android.gms.common.GooglePlayServicesUtil;
                                        ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:56: error: package com.google.android.gms does not exist
    import com.google.android.gms.*;
    ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:57: error: package com.google.android.gms.common.api does not exist
    import com.google.android.gms.common.api.GoogleApiClient;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:58: error: package com.google.android.gms.common.api does not exist
    import com.google.android.gms.common.api.PendingResult;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:59: error: package com.google.android.gms.common.api does not exist
    import com.google.android.gms.common.api.ApiException;
                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:60: error: package com.google.android.gms.common does not exist
    import com.google.android.gms.common.ConnectionResult;
                                        ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:61: error: package com.google.android.gms.games.snapshot does not exist
    import com.google.android.gms.games.snapshot.Snapshot;
                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:62: error: package com.google.android.gms.games.snapshot does not exist
    import com.google.android.gms.games.snapshot.SnapshotMetadata;
                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:63: error: package com.google.android.gms.games.snapshot does not exist
    import com.google.android.gms.games.snapshot.SnapshotMetadataChange;
                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:64: error: package com.google.android.gms.games.snapshot does not exist
    import com.google.android.gms.games.snapshot.Snapshots;
                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:66: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.Games;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:67: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.LeaderboardsClient;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:68: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.AchievementsClient;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:69: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.GamesClient;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:70: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.SnapshotsClient;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:72: error: package com.google.android.gms.games.leaderboard does not exist
    import com.google.android.gms.games.leaderboard.ScoreSubmissionData;
                                                   ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:73: error: package com.google.android.gms.games.leaderboard does not exist
    import com.google.android.gms.games.leaderboard.LeaderboardVariant;
                                                   ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:74: error: package com.google.android.gms.tasks does not exist
    import com.google.android.gms.tasks.Task;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:75: error: package com.google.android.gms.tasks does not exist
    import com.google.android.gms.tasks.OnCompleteListener;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:76: error: package com.google.android.gms.tasks does not exist
    import com.google.android.gms.tasks.OnSuccessListener;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:77: error: package com.google.android.gms.tasks does not exist
    import com.google.android.gms.tasks.OnFailureListener;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:79: error: package com.google.android.gms.games.leaderboard does not exist
    import com.google.android.gms.games.leaderboard.Leaderboards;
                                                   ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:80: error: package com.google.android.gms.games.achievement does not exist
    import com.google.android.gms.games.achievement.Achievements;
                                                   ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:81: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.Player;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:83: error: package com.google.android.gms.drive does not exist
    import com.google.android.gms.drive.Drive;
                                       ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:84: error: package com.google.android.gms.games does not exist
    import com.google.android.gms.games.*;
    ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:85: error: package com.google.android.gms.common.api does not exist
    import com.google.android.gms.common.api.*;
    ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:86: error: package com.google.android.gms.common does not exist
    import com.google.android.gms.common.GooglePlayServicesUtil;
                                        ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:88: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.*;
    ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:89: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignIn;
                                                 ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:90: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInClient;
                                                 ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:91: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
                                                 ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:92: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
                                                 ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:98: error: package GoogleApiClient does not exist
    public class GooglePlayServicesExtension extends RunnerSocial implements GoogleApiClient.ConnectionCallbacks,GoogleApiClient.OnConnectionFailedListener,RewardedVideoAdListener 
                                                                                            ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:98: error: package GoogleApiClient does not exist
    public class GooglePlayServicesExtension extends RunnerSocial implements GoogleApiClient.ConnectionCallbacks,GoogleApiClient.OnConnectionFailedListener,RewardedVideoAdListener 
                                                                                                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:98: error: cannot find symbol
    public class GooglePlayServicesExtension extends RunnerSocial implements GoogleApiClient.ConnectionCallbacks,GoogleApiClient.OnConnectionFailedListener,RewardedVideoAdListener 
                                                                                                                                                            ^
      symbol: class RewardedVideoAdListener
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:106: error: cannot find symbol
        private GoogleSignInClient mGoogleSigninClient = null;
                ^
      symbol:   class GoogleSignInClient
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:107: error: cannot find symbol
        private GoogleSignInAccount mGoogleSignInAccount = null;
                ^
      symbol:   class GoogleSignInAccount
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:132: error: cannot find symbol
        private RewardedVideoAd mRewardedVideoAd;
                ^
      symbol:   class RewardedVideoAd
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:133: error: cannot find symbol
        private AdView adView=null;
                ^
      symbol:   class AdView
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:134: error: cannot find symbol
        private InterstitialAd interstitialAd=null;
                ^
      symbol:   class InterstitialAd
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:141: error: cannot find symbol
        private AdSize BannerSize;
                ^
      symbol:   class AdSize
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:280: error: cannot find symbol
        public void onConnectionFailed(ConnectionResult result) {
                                       ^
      symbol:   class ConnectionResult
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:385: error: cannot find symbol
        private GoogleSignInAccount getCurrentAccountSignedIn()
                ^
      symbol:   class GoogleSignInAccount
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:440: error: cannot find symbol
        private void onLoginTaskComplete(Task<GoogleSignInAccount> task)
                                         ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:440: error: cannot find symbol
        private void onLoginTaskComplete(Task<GoogleSignInAccount> task)
                                              ^
      symbol:   class GoogleSignInAccount
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:460: error: cannot find symbol
        private void onLoginSuccess(GoogleSignInAccount account)
                                    ^
      symbol:   class GoogleSignInAccount
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:512: error: cannot find symbol
        private void onLogoutTaskComplete(Task task)
                                          ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:723: error: cannot find symbol
        public void onCloudSyncTaskComplete(Task<SnapshotsClient.DataOrConflict<Snapshot>> task, final int fileId, final SnapshotsClient snapClient, final OnSnapshotResolvedListener onResolved)
                                            ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:723: error: package SnapshotsClient does not exist
        public void onCloudSyncTaskComplete(Task<SnapshotsClient.DataOrConflict<Snapshot>> task, final int fileId, final SnapshotsClient snapClient, final OnSnapshotResolvedListener onResolved)
                                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:723: error: cannot find symbol
        public void onCloudSyncTaskComplete(Task<SnapshotsClient.DataOrConflict<Snapshot>> task, final int fileId, final SnapshotsClient snapClient, final OnSnapshotResolvedListener onResolved)
                                                                                ^
      symbol:   class Snapshot
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:723: error: cannot find symbol
        public void onCloudSyncTaskComplete(Task<SnapshotsClient.DataOrConflict<Snapshot>> task, final int fileId, final SnapshotsClient snapClient, final OnSnapshotResolvedListener onResolved)
                                                                                                                         ^
      symbol:   class SnapshotsClient
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:805: error: cannot find symbol
        public void onLeaderboardPostTaskComplete(Task<ScoreSubmissionData> task, String leaderboardId)
                                                  ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:805: error: cannot find symbol
        public void onLeaderboardPostTaskComplete(Task<ScoreSubmissionData> task, String leaderboardId)
                                                       ^
      symbol:   class ScoreSubmissionData
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:923: error: cannot find symbol
        private void onAchievementIncrementTaskComplete(Task<Boolean> task, String achievementId)
                                                        ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:986: error: cannot find symbol
        public void onAchievementPostTaskComplete(Task task, String achievementId)
                                                  ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1035: error: cannot find symbol
        public void onAchievementRevealTaskComplete(Task task, String achievementId)
                                                    ^
      symbol:   class Task
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1166: error: cannot find symbol
        public void onRewarded(RewardItem reward) {
                               ^
      symbol:   class RewardItem
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1268: error: cannot find symbol
        private AdListener adlistener = new AdListener(){
                ^
      symbol:   class AdListener
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1674: error: package AdRequest does not exist
        private AdRequest GoogleMobileAds_BuildAdRequestWithConsent(AdRequest.Builder builder)
                                                                             ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1674: error: cannot find symbol
        private AdRequest GoogleMobileAds_BuildAdRequestWithConsent(AdRequest.Builder builder)
                ^
      symbol:   class AdRequest
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1755: error: cannot find symbol
        private void GoogleMobileAds_ConsentReportStatus(ConsentStatus status, int preferAdFree, String error)
                                                         ^
      symbol:   class ConsentStatus
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:102: error: cannot find symbol
            void onSuccess(Snapshot snapshot, int fileId);
                           ^
      symbol:   class Snapshot
      location: interface OnSnapshotResolvedListener
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1623: error: cannot find symbol
        private class AdsConsentFormListener extends ConsentFormListener
                                                     ^
      symbol:   class ConsentFormListener
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1625: error: cannot find symbol
            private ConsentForm m_consentForm = null;
                    ^
      symbol:   class ConsentForm
      location: class GooglePlayServicesExtension.AdsConsentFormListener
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1627: error: cannot find symbol
            public AdsConsentFormListener(ConsentForm form)
                                          ^
      symbol:   class ConsentForm
      location: class GooglePlayServicesExtension.AdsConsentFormListener
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1632: error: cannot find symbol
            public void setForm(ConsentForm form)
                                ^
      symbol:   class ConsentForm
      location: class GooglePlayServicesExtension.AdsConsentFormListener
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:1657: error: cannot find symbol
            public void onConsentFormClosed(ConsentStatus consentStatus, Boolean userPrefersAdFree) 
                                            ^
      symbol:   class ConsentStatus
      location: class GooglePlayServicesExtension.AdsConsentFormListener
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:58: error: cannot find symbol
                Dialog dialog = GooglePlayServicesUtil.getErrorDialog(errorCode,
                                ^
      symbol:   variable GooglePlayServicesUtil
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:123: error: cannot find symbol
                case GamesActivityResultCodes.RESULT_APP_MISCONFIGURED:
                     ^
      symbol:   variable GamesActivityResultCodes
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:127: error: cannot find symbol
                case GamesActivityResultCodes.RESULT_SIGN_IN_FAILED:
                     ^
      symbol:   variable GamesActivityResultCodes
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:131: error: cannot find symbol
                case GamesActivityResultCodes.RESULT_LICENSE_FAILED:
                     ^
      symbol:   variable GamesActivityResultCodes
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:138: error: cannot find symbol
                    final int errorCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(activity);
                                          ^
      symbol:   variable GooglePlayServicesUtil
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\BaseGameUtils.java:139: error: cannot find symbol
                    errorDialog = GooglePlayServicesUtil.getErrorDialog(errorCode,
                                  ^
      symbol:   variable GooglePlayServicesUtil
      location: class BaseGameUtils
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:176: error: package GoogleSignInOptions does not exist
            GoogleSignInOptions.Builder optionsBuilder = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
                               ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:176: error: package GoogleSignInOptions does not exist
            GoogleSignInOptions.Builder optionsBuilder = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
                                                                                ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:176: error: cannot find symbol
            GoogleSignInOptions.Builder optionsBuilder = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
                                                                                         ^
      symbol:   variable GoogleSignInOptions
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:177: error: cannot find symbol
            optionsBuilder.requestScopes(Games.SCOPE_GAMES);
                                         ^
      symbol:   variable Games
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:183: error: cannot find symbol
                optionsBuilder.requestScopes(Drive.SCOPE_APPFOLDER);
                                             ^
      symbol:   variable Drive
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:188: error: cannot find symbol
            mGoogleSigninClient = GoogleSignIn.getClient(RunnerJNILib.ms_context, optionsBuilder.build());
                                  ^
      symbol:   variable GoogleSignIn
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:197: error: cannot find symbol
            if(GooglePlayServices_Status() == ConnectionResult.SUCCESS)
                                              ^
      symbol:   variable ConnectionResult
      location: class GooglePlayServicesExtension
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:252: error: method does not override or implement a method from a supertype
        @Override
        ^
    W:\com.company.game\src\main\java\com\company\game\GooglePlayServicesExtension.java:259: error: cannot find symbol
            return (double)GooglePlayServicesUtil.isGooglePlayServicesAvailable(RunnerJNILib.ms_context);
                           ^
      symbol:   variable GooglePlayServicesUtil
      location: class GooglePlayServicesExtension
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    100 errors
    :com.company.game:compileDebugJavaWithJavac FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':com.company.game:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 15.382 secs
    
    
    
    
    Error : Build Failed
    Igor complete.
    
    I cant see anything left in my project that is utilizing GooglePlayServices but apparently, it exists somewhere and I would like to fully remove it.
     
    Last edited by a moderator: May 24, 2019
  4. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,525
    Did you clean the project cache after removing the extension?

    Click the broom icon at the top of the IDE, making sure the Android target is selected.
     
  5. Rasmus

    Rasmus Member

    Joined:
    Jan 13, 2018
    Posts:
    6
    I did clean the project cache and yes the correct android target is displayed. This issue only occurred after installing the extension and I thought I removed it correctly according to some documentation I found on removing extensions.

    After restarting the software entirely everything is working now! I guess the clear cache button wasn't doing anything until after a full restart, thanks for the help! All that's left is figuring out proper scaling for these high-end devices such as s9 and s10.
     
    Last edited by a moderator: May 24, 2019

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice