ShapeOfView icon indicating copy to clipboard operation
ShapeOfView copied to clipboard

library not working with compileSdkVersion 28

Open meloveself94 opened this issue 5 years ago • 4 comments

I get a Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex everytime i try to run my project with the latest implementation 'com.github.florent37:shapeofview:1.4.2'.. Running with stacktrace shows me this error : Error:com.android.dex.DexException: Multiple dex files define Landroid/support/v4/os/ResultReceiver; I've tried deleting the .gradle/caches folder.. invalidate caches and restart.. clean & rebuild project but i'm still unable to get this library working with compilesdkversion 28.. compilesdkversion 27 gives me fontvariationsettings ttcindex not found error as well.. i've included multiDexEnabled true and also implementation 'com.android.support:multidex:1.0.3' in my gradle

meloveself94 avatar Nov 13 '18 02:11 meloveself94

are you using androidX ?

florent37 avatar Nov 30 '18 13:11 florent37

Yes

shubhexioms avatar Dec 18 '18 10:12 shubhexioms

Hi Also having issues with getting shapeofview to work in sdk28, using Androidx

no transformations happen in preview and then when trying to build it for emulator get errors like: error: attribute shape_diagonal_angle (aka com.samuelpuchala.corvus:shape_diagonal_angle) not found There is a bunch of these for every attribute related to shapeof view

I tried it on a new project which I set up in sdk27 no androidx - all the same dependencies and code - works perfectly in preview but shows the same errors on build.

Any help would be greatly appreciated!!! Thank you. Looking forward to using this in my apps!

Serbitar45 avatar Jun 05 '19 12:06 Serbitar45

It's also not working my side on SDK 28.

rgodlontonshaw avatar Sep 06 '19 07:09 rgodlontonshaw