카카오톡 로그인 구현중
화면전환이안되고 무반응인 현상이 나타나다가
제가 무시했던 이오류때문인가 싶어서 질문드립니다…
오류내용 :
WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: app
bulid.gradle(app) 코드
apply plugin: ‘com.android.application’
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.kakaologin"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android-optimize.txt’), ‘proguard-rules.pro’
}
}
}
dependencies {
implementation fileTree(dir: ‘libs’, include: [’*.jar’])
implementation 'com.android.support:appcompat-v7:28.0.0’
implementation 'com.android.support.constraint:constraint-layout:1.1.3’
testImplementation 'junit:junit:4.12’
androidTestImplementation 'com.android.support.test:runner:1.0.2’
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2’
compile group: ‘com.kakao.sdk’, name: ‘usermgmt’, version: project.KAKAO_SDK_VERSION // KaKaoSDK
compile ‘com.googlecode.android-query:android-query:0.25.9’ //AQuery
compile ‘de.hdodenhof:circleimageview:1.2.1’ // CircleImageView
}
화면전환쪽 코드는
@Override
public void onSuccess(UserProfile userProfile) {
Log.e(“onSuccess”,userProfile.toString());
user_nickname.setText(userProfile.getNickname());
user_email.setText(userProfile.getEmail());
aQuery.id(user_img).image(userProfile.getThumbnailImagePath()); // <- 프로필 작은 이미지 , userProfile.getProfileImagePath() <- 큰 이미지
Intent intent = new Intent(MainActivity.this, SubActivity.class);
startActivity(intent);
finish();
}
입니다.
오류코드를 보고싶은데 진짜 무작정뛰어든 완전생초보 라 죄송합니다…
선배개발자님들 답변부탁드립니다.