Closed DJphy closed 7 years ago
@DJphy are other icons working?
hi Mike,
Thanks for the reply
are other icons working?
I have not got a chance to check others but for Entypo its resulting in run time exception (NoClassDefFoundError)
.
@DJphy if you remove that icon set which is crashing. Will the others work?
if you remove that icon set which is crashing. Will the others work? Others in the sense, the app drawables or the others like gmd, faw etc (other from your lib) Or your asking me to remove Entypo from Gradle and check for other Icon set from your lib
Remove entypo and use the GoogleMaterial one. Is it working or will it also crash?
Okay I will check tat and reply, thnx
I have figured out 1 more thing; For the same build.gradle file mentioned above, if I use these: (observe aar versions) Case 1
compile "com.mikepenz:iconics-core:2.8.4@aar"
compile 'com.mikepenz:google-material-typeface:3.0.1.0.original@aar'
compile 'com.mikepenz:ionicons-typeface:2.0.1.2@aar'
compile 'com.mikepenz:entypo-typeface:1.0.0.2@aar'
compile 'com.mikepenz:community-material-typeface:1.9.32.1@aar'
I observe a java.lang.ClassNotFoundException: android.support.v4.util.ArrayMap
Case 2
compile 'com.mikepenz:iconics-core:2.5.3@aar'
compile 'com.mikepenz:google-material-typeface:2.2.0.1.original@aar'
compile 'com.mikepenz:ionicons-typeface:2.0.1.2@aar'
compile 'com.mikepenz:entypo-typeface:1.0.0.2@aar'
compile 'com.mikepenz:community-material-typeface:1.7.22.1@aar'
I observed the one I mentioned earlier, same happened for GoogleMaterial
too
Also i suspect on this line too
compile 'com.android.support:support-v4:24.1.1'
I am using SUPPORT_LIBRARY_VERSION = '25.3.1'
version for all others support lib dependency except for support-v4
since i couldn't find a support-v4
jar file versioned 25.3.1
, the last updated version for support-v4 is 24.1.1
case 1 is incompatiblity of the support libs. you need to use 25.3.1 for everything. You are not supposed to have different versions. if you have different versions it will always fail.
And using the icon sets with an older version of the iconics lib could fail. I can not support this.
You could exclude the support libs of the iconics. http://stackoverflow.com/questions/21764128/how-do-i-exclude-all-instances-of-a-transitive-dependency-when-using-gradle
in addition why do you want the support-v4 as jar file?! it is included in the appcompat lib anyways
hmm, thanks for update Mike, I will check further and will close this.
Earlier I was using these
now updated to this
Which is resulting in run time exception is what I believe.
stacktrace: java.lang.NoClassDefFoundError: com.mikepenz.entypo_typeface_library.Entypo$Icon
code that's causing the issue: when trying to access Icon classEntypo.Icon.ent_chevron_thin_down
Current build.gradle file