Skip to content

fixes the crash while building the APK - #57

Merged
johanhenselmans merged 1 commit into
bcko:masterfrom
daadu:master
Dec 21, 2019
Merged

johanhenselmans merged 1 commit into
bcko:masterfrom
daadu:master

Conversation

@daadu

@daadu daadu commented Dec 21, 2019

Copy link
Copy Markdown
Contributor

Android Resources of 25 compile SDK does not match with that of 28

1: Task failed with an exception.                                       
-----------                                                             
* What went wrong:                                                      
Execution failed for task ':qrcode_reader:verifyReleaseResources'.      
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed                                    
     /home/harsh/.gradle/caches/transforms-2/files-2.1/79a43a903ecb6dc82204ee669e724ddc/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontStyle not found.
                                                                        
     /home/harsh/.gradle/caches/transforms-2/files-2.1/79a43a903ecb6dc82204ee669e724ddc/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/font not found.
                                                                        
     /home/harsh/.gradle/caches/transforms-2/files-2.1/79a43a903ecb6dc82204ee669e724ddc/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontWeight not found.
                                                                        
     /home/harsh/.gradle/caches/transforms-2/files-2.1/79a43a903ecb6dc82204ee669e724ddc/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
                                                                        
     /home/harsh/.gradle/caches/transforms-2/files-2.1/79a43a903ecb6dc82204ee669e724ddc/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.

@johanhenselmans
johanhenselmans merged commit f47a459 into bcko:master Dec 21, 2019
@atiqsamtia

Copy link
Copy Markdown

Ah! Thanks, Man! you are a life savior. I was searching for the solution for this from a few weeks.

Please push the update to pub.dev as well. I'm currently using it via git in pubspec

@peterlauri

Copy link
Copy Markdown

@daadu this is not yet included in the pub.dev release, right? I'm facing the same problem...

@atiqsamtia

Copy link
Copy Markdown

@peterlauri this is not updated on pub.dev yet. Use it via GitHub like this in pubspec.yaml

  qrcode_reader:
    git: https://github.com/bcko/flutter_qrcode_reader.git

I'm using like this and it is working fine

@johanhenselmans

Copy link
Copy Markdown
Collaborator

Did you use the git repository? Unfortunately I am not able to publish the git version on pub.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants