Open Rawitchakhun opened 7 years ago
What is the gradle version you are using? I use 2.14 and afair there are some problems with 3.1 which I haven't got time to work with yet.
Also, you should ideally not embed publically available libraries like facebook. It may create issues if the library consumer wants to use them too.
Hi
Now I tried to embedded Facebook SDK into my library project (Export to .AAR file) But seem like it's not also embedded resource file of Facebook SDK , is it ? Because When I call Facebook's method that already merge in to my .AAR , error message at run time show up like this
java.lang.NoSuchFieldError: No static field Base_TextAppearance_AppCompat_Widget_PopupMenu_Header
Seem "Base_TextAppearance_AppCompat_Widget_PopupMenu_Header " is a style in facebook resouce. It's be love if you have any idea to fix this and share to me.
Thank for advance.
PS. In my gradle look like this
apply from: 'https://raw.githubusercontent.com/adwiv/android-fat-aar/master/fat-aar.gradle'
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:cardview-v7:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:design:23.4.0'