After taking a hiatus from Android development in Android Studio, I returned to my projects to find the following gradle error: Error:failed to find target with hash string 'Google Inc.:Google APIs:25'. The hash string may vary with each project based on the API it was set to in the compileSdkVersion in your gradle file. Per this StackOverflow post on the matter, the compileSdkVersion also resembled the format of the original poster's (see image below) and shortening to the simple version number (25 at the time of this writing) seemed to fix the issue. |
AuthorExploring Android and mobile web design, security, and development. Archives
March 2021
Categories |