빌드시, 패키지가 존재치 않는다고 뜹니다

안녕하세요, 안드로이드 스튜디오에 SDK 연동 및 호출 테스트를 하려니깐
코드(java)상
import com.kakao.auth.ApprovalType;
import com.kakao.auth.AuthType;
import com.kakao.auth.IApplicationConfig;
import com.kakao.auth.ISessionConfig;
import com.kakao.auth.KakaoAdapter;

public class KakaoSdkAdapter extends KakaoAdapter
로 패키지 자동완성등 연결된거까지 확인후 빌드를 하려니 아래와같은 에러가 출력됩니다.

Task :game:compileDebugFeatureJavaWithJavac FAILED
(… … …)\javascript\KakaoSdkAdapter.java:5: error: package com.kakao.auth does not exist
import com.kakao.auth.ApprovalType;
^
(… … …)\javascript\KakaoSdkAdapter.java:6: error: package com.kakao.auth does not exist
import com.kakao.auth.AuthType;
^
(… … …)\javascript\KakaoSdkAdapter.java:7: error: package com.kakao.auth does not exist
import com.kakao.auth.IApplicationConfig;
^
(… … …)\javascript\KakaoSdkAdapter.java:8: error: package com.kakao.auth does not exist
import com.kakao.auth.ISessionConfig;
^
(… … …)\javascript\KakaoSdkAdapter.java:9: error: package com.kakao.auth does not exist
import com.kakao.auth.KakaoAdapter;
^
(…중략…)
symbol: class ISessionConfig
location: class KakaoSdkAdapter
(… … …)\javascript\KakaoSdkAdapter.java:57: error: method does not override or implement a method from a supertype
@Override
^
(… … …)\javascript\KakaoSdkAdapter.java:59: error: cannot find symbol
return new IApplicationConfig() {
^
symbol: class IApplicationConfig
location: class KakaoSdkAdapter
12 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:game:compileDebugFeatureJavaWithJavac’.

Compilation failed; see the compiler error output for details.
안드로이드 스튜디오에서 기본 연결시 추가적인 세팅이 필요한건가요?

> 참조문서
https://developers.kakao.com/docs/latest/ko/getting-started/sdk-android#apply-sdk

> 환경
JDK 1.8
OS: Win10
안드로이드 스튜디오: 4.1
PROP_COMPILE_SDK_VERSION=28
PROP_MIN_SDK_VERSION=19
PROP_TARGET_SDK_VERSION=28
PROP_BUILD_TOOLS_VERSION=30.0.2
KAKAO_SDK_GROUP=com.kakao.sdk
KAKAO_SDK_VERSION=1.30.3

> Builid.gradle
dependencies {
implementation fileTree(dir: ‘…/libs’, include: [‘.jar’,'.aar’])
implementation fileTree(dir: ‘libs’, include: [‘.jar’,'.aar’])
… … …
}
dependencies {
// 2.X
implementation group: project.KAKAO_SDK_GROUP, name: ‘usermgmt’, version: project.KAKAO_SDK_VERSION
implementation group: project.KAKAO_SDK_GROUP, name: ‘kakaotalk’, version: project.KAKAO_SDK_VERSION
implementation group: project.KAKAO_SDK_GROUP, name: ‘kakaolink’, version: project.KAKAO_SDK_VERSION
implementation group: project.KAKAO_SDK_GROUP, name: ‘kakaostory’, version: project.KAKAO_SDK_VERSION
}

@MuTeukGi

설치하시려는게 v2인지 v1인지 명확하지 않습니다.

참고 문서는 최신인데 첨부해주신 코드는 v1의 코드들이네요

v1을 설치하시려는 것이라면
시작하기 Legacy (https://developers.kakao.com/docs/latest/ko/getting-started/sdk-android-v1) 등
각 Android 가이드의 Legacy 문서를 참고하시기 바랍니다.

@richard.jeon

안녕하세요, 참조하던 문서 URL 을 잘못 붙여넣었는데 v1으로 작업하던게 맞습니다.
Legacy Android쪽 문서 보면서 설치 진행한거고요.