Fix BaseGameUtils cannot be Resolved Error, Android Studio
First of all copy the whole BaseGameUtils folder from the original location to the libs folder inside your project's app folder.
Now go to the following directory Your Project\app\libs\BaseGameUtils and open the build.gradle file using any text editing software, in my case it was Notepad++.
Now in the dependencies change the appcompat_library_version and other version to match your app's version. You can check you apps library versions by opening build.gradle of your app.
Similarly in the Android part at the bottom, change the compile version and android version to your app's supported version. If you plan on updating your sdk then you might want to use the + after version numbers as it will allow it to work with version greater than the specified number.
After changing that, save the file open your project in Android Studio and then go to File > New > Import Module and then browse to your recently modified BaseGameUtils folder in Libs Folder of your project and then click import. The error must be gone now!
If you are making a game, you might want to know how split screen games are made, check out a very simple Intro here.
If you have any doubts about BaseGameUtils library then feel free to ask me in comments below or message me in my social accounts! cheers.
Vishal Shrestha / Author & Founder
A developer by profession, a born Adventurer. I mainly do Android but like to get my hands dirty with web development and a little bit of Python. I would't rather go on a Trek than a party and you can find me having a few rounds with the heavy bag to let out the steam ;)
For Business info : My Portfolio Site.