Muddz / QuickShot

[Moved to MavenCentral] Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resources not found during linkage

RomanAnchugov opened this issue · comments

I have this kind of error when trying to sync project after adding implementation of your lib.

Android resource linking failed
Output:  
.../app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.

.../app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.

.../app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:910: error: resource android:attr/fontVariationSettings not found.

.../app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:910: error: resource android:attr/ttcIndex not found.
error: failed linking references.

May be it's because of conflicts with another libs. I can send you a whole gradle file i you will need it

The latest version 1.1.0 has been migrated to AndroidX. I suspect that may cause you the problem
Please try this version implementation 'com.muddzdev:pixelshot:1.0.0'

The only difference between the two version is the AndroidX migration and some implementation of Exceptions

Now linkage is working, thank you

@RomanAnchugov Great!
How are you using the library? which usecase?

To save the srufaceView. I didnt test it yet. I will send a feedback after testing

I've just tested it. It works perfectly. Great lib