Comments (15)
hey i fix this problem.
insert this at gradle-wrapper.properties file
distributionUrl=https://services.gradle.org/distributions/gradle-4.10.2-all.zip
from flutter_barcode_reader.
Bedug build works ok, but when I try to build a release build I also get a barcode_scan resolve error.
Execution failed for task ':app:lintVitalRelease'.
Could not resolve all artifacts for configuration ':app:dynamicProfileRuntimeClasspath'.
Could not resolve project :barcode_scan.
Required by:
project :app
> java.lang.NullPointerException (no error message)
in android/app/build.gradle this seems to push the error away ...
lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false
}
from flutter_barcode_reader.
Plus one, so thanks for any reaction.
As we use this package in our production app, we depend on release builds and having them checked (signatures etc.). We are currently bound to Gradle version 4.6, so we can't switch the Android plugin version from 3.2.1 to anything else. 3.1.4 can't be used with our cmake version and 3.3.0 needs Gradle version 4.10 or higher.
from flutter_barcode_reader.
I've tried adding -keep class com.apptreesoftware.barcodescan.** { *; }
to proguard-rules.pro and I've tried building without proguard, minifyEnable false
useProguard false
but always end up with the same error.
from flutter_barcode_reader.
I had a similar problem when upgrading dependencies, I don't think this has anything to do with this flutter_barcode_reader.
Did you upgrade com.android.tools.build:gradle
to 3.2.0?
from flutter_barcode_reader.
@JamesMcIntosh i get error also when upgrade gradle to 3.2.0, so currenlty i stay on 3.1.2
from flutter_barcode_reader.
I am having the same issue and I am hoping that it gets resolved in the next update for this package.
from flutter_barcode_reader.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:lintVitalRelease'.
Could not resolve all artifacts for configuration ':app:dynamicProfileRuntimeClasspath'.
Could not resolve project :barcode_scan.
Required by:
project :app
> java.lang.NullPointerException (no error message)
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 57s
from flutter_barcode_reader.
The same for me. Any update on this ?
from flutter_barcode_reader.
Looks like it works using gradle plugin 3.1.2
classpath 'com.android.tools.build:gradle:3.1.2'
from flutter_barcode_reader.
Any update, same issue here.
from flutter_barcode_reader.
Any update?
from flutter_barcode_reader.
I'm having the same issue.. can't use this plugin with RxDart because RxDart needs build 3.2.1.
from flutter_barcode_reader.
anybody have solve the problem?share us please...
from flutter_barcode_reader.
A new version is available which solves the problem.
from flutter_barcode_reader.
Related Issues (20)
- [Question] Can we remove the scanning box from the center of the screen? HOT 1
- [Bug] Camera Permission HOT 2
- Execution failed for task ':barcode_scan:extractIncludeDebugProto'. [Bug]
- [Bug] build warnings: [unchecked] unchecked conversion and unchecked call
- [Feature Request] HOT 2
- How to customize Scanner UI? HOT 1
- [Bug] Making the library size become 0.45MB, instead of the current 4.5MB using a simple refactor
- [Feature Request] HOT 1
- What is minimum api level of android support in flutter_barcode_reader ? HOT 1
- there are so many following errors repeatly
- [Feature Request] Camera selection improvement
- [Bug]Should not store rootViewController of window at plugin register
- [Bug]Can't build project by XCode 12 (after update) HOT 1
- []how to handle access denied finding property vendor.camera.aux.packagelist
- Not detecting PDF417 barcode on Android. In iOS, PDF417 barcode reading is slow..[Bug] HOT 1
- [Bug]
- [Bug] Not detected barcode in Andorid, (ios work) HOT 1
- [Feature Request] Continuous Scan Mode HOT 1
- App crashing when build for release HOT 1
- Warnings unchecked or unsafe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_barcode_reader.