crossplatformkorea / react-native-kakao-login

react-native native module for Kakao sign in.
MIT License
360 stars 136 forks source link

BUILD Failed on Android #8

Closed dreson4 closed 6 years ago

dreson4 commented 6 years ago

I keep getting this error, seems like there's a problem with the support library used in this library

ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight
dreson4 commented 6 years ago

Ok, so it turns out its the problem with Kakao SDK V 1.11.1 which is included in the library. So I changed to 1.5.1 and had to rewrite a lot of code in the RNKakaoLoginsModule.java file Now it works

hyochan commented 6 years ago

@dreson4 This issue is related to com.android.support:support-v7 version mismatch in your environment. Please refer to link. Check if you have something like compile 'com.android.support:appcompat-v7:27.0.2 in your build.gradle.