Why does Java not allow me to use OAuth2Native methods here?
问题 Ok, so I'm trying to build a simple "Hello World"-type program that gets data from the Google Analytics API. I'm following the tutorial here: https://developers.google.com/analytics/solutions/articles/hello-analytics-api My code is below. There's no main method yet, I'm just trying to get authorized and get a Analytics Service Object set up. I'm working in Netbeans. I've downloaded an imported the classes from Google listed at the top of the code. My problem is that Netbeans gives me a