Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pisuth
, 1 year ago
Must provide either API key or Maps for Work credentials.
java.lang.IllegalStateException: Must provide either API key or Maps for Work credentials. at com.google.maps.GeoApiContext.checkContext(GeoApiContext.java:175) at com.google.maps.GeoApiContext.getWithPath(GeoApiContext.java:144) at com.google.maps.GeoApiContext.get(GeoApiContext.java:104) at com.google.maps.PendingResultBase.makeRequest(PendingResultBase.java:78) at com.google.maps.PendingResultBase.await(PendingResultBase.java:55) at dekk.pw.pokemate.tasks.Navigate.queryDirections(Navigate.java:135) at dekk.pw.pokemate.tasks.Navigate.populateDirections(Navigate.java:157) at dekk.pw.pokemate.tasks.Navigate.<init>(Navigate.java:42) at dekk.pw.pokemate.tasks.TaskController.<init>(TaskController.java:21) at dekk.pw.pokemate.PokeMate.<init>(PokeMate.java:73)