사실 새로운 안드로이드 사용자가 현재 한 가지 문제에 직면하고 있습니다. this is Google에서 제공하는 코드를 볼 수있는 링크입니다. 이클립스에서 GoogleAuthUtil에 빨간색 선이 표시됩니다. 제발 도와주세요.android google play service
private String[] getAccountNames() {
AccountManager mAccountManager = AccountManager.get(this);
Account[] accounts = mAccountManager.getAccountsByType(
GoogleAuthUtil.GOOGLE_ACCOUNT_TYPE);
String[] names = new String[accounts.length];
for (int i = 0; i < names.length; i++) {
names[i] = accounts[i].name;
}
return names;
}
마우스를 가져 가면 빨간색 줄에 무엇이 표시됩니까? 또는 왼쪽의 적색 십자가를 클릭하고 무슨 말을하는지보십시오. –