How to resolve error: package com.google.android.gms.appstate does not exist. In Android Studio, the error displays on result box. This error usually that time display when you Buildbox Game export and import in Android Studio for making APK process. Ok. Very Easy way to resolve this problem.
Go to Build.Gradle (Module:App) in your Android Studio project. Then remove google play services library :
Use this library: