mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 463 forks source link

Unable to build release apk on gradle 3.2.1 #51

Closed ghost closed 4 years ago

ghost commented 6 years ago

When attempting to flutter build apk --verbose, I get this: ` +29 ms] executing: [/Users/xxx/Development/Flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [/Users/xxx/Development/Flutter/flutter/] git rev-parse --abbrev-ref HEAD [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ ] executing: [/Users/Axxx/Development/Flutter/flutter/] git ls-remote --get-url origin [ +5 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ ] executing: [/Users/xxx/Development/Flutter/flutter/] git log -n 1 --pretty=format:%H [ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] d91f1608c59375647fda62ef401d5bdde38355d4 [ ] executing: [/Users/xxx/Development/Flutter/flutter/] git log -n 1 --pretty=format:%ar [ +7 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] 2 weeks ago [ ] executing: [/Users/xxx/Development/Flutter/flutter/] git describe --match v.. --first-parent --long --tags [ +12 ms] Exit code 0 from: git describe --match v.. --first-parent --long --tags [ ] v0.9.5-45-gd91f1608c [ +199 ms] Found plugin barcode_scan at /Users/xxx.pub-cache/hosted/pub.dartlang.org/barcode_scan-0.0.7/ [ +53 ms] Found plugin shared_preferences at /Users/xxx.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.2/ [ +58 ms] Found plugin barcode_scan at /Users/xxx/.pub-cache/hosted/pub.dartlang.org/barcode_scan-0.0.7/ [ +30 ms] Found plugin shared_preferences at /Users/xxx/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.2/ [ +160 ms] Initializing gradle... [ +4 ms] Using gradle from /Users/xxx/Development/PenMobile.X/android/gradlew. [ +10 ms] executing: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ +38 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ ] 3.2 [ +69 ms] executing: /Users/xxx/Development/PenMobile.X/android/gradlew -v [ +570 ms]

               Gradle 4.6
               ------------------------------------------------------------

               Build time:   2018-02-28 13:36:36 UTC
               Revision:     8fa6ce7945b640e6168488e4417f9bb96e4ab46c

               Groovy:       2.4.12
               Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
               JVM:          1.8.0_152-release (JetBrains s.r.o 25.152-b06)
               OS:           Mac OS X 10.13.6 x86_64

[ ] Initializing gradle... (completed) [ +10 ms] Resolving dependencies... [ ] executing: [/Users/xxx/Development/PenMobile.X/android/] /Users/xxx/Development/PenMobile.X/android/gradlew app:properties [ +967 ms]

               Project :app
               ------------------------------------------------------------

               INTERNAL__CHECKED_MINIMUM_PLUGIN_VERSIONS: true
               allprojects: [project ':app']
               android: com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated@461e9f4c
               androidDependencies: task ':app:androidDependencies'
               ant: org.gradle.api.internal.project.DefaultAntBuilder@31c09eb
               antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@78204aa0
               archivesBaseName: app
               artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@32d5e9f7
               asDynamicObject: DynamicObject for project ':app'
               assemble: task ':app:assemble'
               assembleAndroidTest: task ':app:assembleAndroidTest'
               assembleDebug: task ':app:assembleDebug'
               assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
               assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
               assembleDynamicProfile: task ':app:assembleDynamicProfile'
               assembleDynamicProfileUnitTest: task ':app:assembleDynamicProfileUnitTest'
               assembleDynamicRelease: task ':app:assembleDynamicRelease'
               assembleDynamicReleaseUnitTest: task ':app:assembleDynamicReleaseUnitTest'
               assembleProfile: task ':app:assembleProfile'
               assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
               assembleRelease: task ':app:assembleRelease'
               assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
               baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@3f41e
               buildDebugPreBundle: task ':app:buildDebugPreBundle'
               buildDependents: task ':app:buildDependents'
               buildDir: /Users/xxxDevelopment/PenMobile.X/build/app
               buildDynamicProfilePreBundle: task ':app:buildDynamicProfilePreBundle'
               buildDynamicReleasePreBundle: task ':app:buildDynamicReleasePreBundle'
               buildFile: /Users/xxx/Development/PenMobile.X/android/app/build.gradle
               buildNeeded: task ':app:buildNeeded'
               buildOutputs: BaseVariantOutput container
               buildPath: :
               buildProfilePreBundle: task ':app:buildProfilePreBundle'
               buildReleasePreBundle: task ':app:buildReleasePreBundle'
               buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@6333f6a4
               buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@19bcc528
               bundle: task ':app:bundle'
               bundleDebug: task ':app:bundleDebug'
               bundleDebugAndroidTestResources: task ':app:bundleDebugAndroidTestResources'
               bundleDebugResources: task ':app:bundleDebugResources'
               bundleDynamicProfile: task ':app:bundleDynamicProfile'
               bundleDynamicProfileResources: task ':app:bundleDynamicProfileResources'
               bundleDynamicRelease: task ':app:bundleDynamicRelease'
               bundleDynamicReleaseResources: task ':app:bundleDynamicReleaseResources'
               bundleProfile: task ':app:bundleProfile'
               bundleProfileResources: task ':app:bundleProfileResources'
               bundleRelease: task ':app:bundleRelease'
               bundleReleaseResources: task ':app:bundleReleaseResources'
               check: task ':app:check'
               checkDebugAndroidTestClasspath: task ':app:checkDebugAndroidTestClasspath'
               checkDebugClasspath: task ':app:checkDebugClasspath'
               checkDebugLibraries: task ':app:checkDebugLibraries'
               checkDebugManifest: task ':app:checkDebugManifest'
               checkDynamicProfileClasspath: task ':app:checkDynamicProfileClasspath'
               checkDynamicProfileLibraries: task ':app:checkDynamicProfileLibraries'
               checkDynamicProfileManifest: task ':app:checkDynamicProfileManifest'
               checkDynamicReleaseClasspath: task ':app:checkDynamicReleaseClasspath'
               checkDynamicReleaseLibraries: task ':app:checkDynamicReleaseLibraries'
               checkDynamicReleaseManifest: task ':app:checkDynamicReleaseManifest'
               checkProfileClasspath: task ':app:checkProfileClasspath'
               checkProfileLibraries: task ':app:checkProfileLibraries'
               checkProfileManifest: task ':app:checkProfileManifest'
               checkReleaseClasspath: task ':app:checkReleaseClasspath'
               checkReleaseLibraries: task ':app:checkReleaseLibraries'
               checkReleaseManifest: task ':app:checkReleaseManifest'
               childProjects: {}
               class: class org.gradle.api.internal.project.DefaultProject_Decorated
               classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@4bb1db9
               cleanBuildCache: task ':app:cleanBuildCache'
               compileDebugAidl: task ':app:compileDebugAidl'
               compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
               compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
               compileDebugAndroidTestKotlin: task ':app:compileDebugAndroidTestKotlin'
               compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
               compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
               compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
               compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
               compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
               compileDebugKotlin: task ':app:compileDebugKotlin'
               compileDebugNdk: task ':app:compileDebugNdk'
               compileDebugRenderscript: task ':app:compileDebugRenderscript'
               compileDebugShaders: task ':app:compileDebugShaders'
               compileDebugSources: task ':app:compileDebugSources'
               compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
               compileDebugUnitTestKotlin: task ':app:compileDebugUnitTestKotlin'
               compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
               compileDynamicProfileAidl: task ':app:compileDynamicProfileAidl'
               compileDynamicProfileJavaWithJavac: task ':app:compileDynamicProfileJavaWithJavac'
               compileDynamicProfileKotlin: task ':app:compileDynamicProfileKotlin'
               compileDynamicProfileNdk: task ':app:compileDynamicProfileNdk'
               compileDynamicProfileRenderscript: task ':app:compileDynamicProfileRenderscript'
               compileDynamicProfileShaders: task ':app:compileDynamicProfileShaders'
               compileDynamicProfileSources: task ':app:compileDynamicProfileSources'
               compileDynamicProfileUnitTestJavaWithJavac: task ':app:compileDynamicProfileUnitTestJavaWithJavac'
               compileDynamicProfileUnitTestKotlin: task ':app:compileDynamicProfileUnitTestKotlin'
               compileDynamicProfileUnitTestSources: task ':app:compileDynamicProfileUnitTestSources'
               compileDynamicReleaseAidl: task ':app:compileDynamicReleaseAidl'
               compileDynamicReleaseJavaWithJavac: task ':app:compileDynamicReleaseJavaWithJavac'
               compileDynamicReleaseKotlin: task ':app:compileDynamicReleaseKotlin'
               compileDynamicReleaseNdk: task ':app:compileDynamicReleaseNdk'
               compileDynamicReleaseRenderscript: task ':app:compileDynamicReleaseRenderscript'
               compileDynamicReleaseShaders: task ':app:compileDynamicReleaseShaders'
               compileDynamicReleaseSources: task ':app:compileDynamicReleaseSources'
               compileDynamicReleaseUnitTestJavaWithJavac: task ':app:compileDynamicReleaseUnitTestJavaWithJavac'
               compileDynamicReleaseUnitTestKotlin: task ':app:compileDynamicReleaseUnitTestKotlin'
               compileDynamicReleaseUnitTestSources: task ':app:compileDynamicReleaseUnitTestSources'
               compileLint: task ':app:compileLint'
               compileProfileAidl: task ':app:compileProfileAidl'
               compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
               compileProfileKotlin: task ':app:compileProfileKotlin'
               compileProfileNdk: task ':app:compileProfileNdk'
               compileProfileRenderscript: task ':app:compileProfileRenderscript'
               compileProfileShaders: task ':app:compileProfileShaders'
               compileProfileSources: task ':app:compileProfileSources'
               compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
               compileProfileUnitTestKotlin: task ':app:compileProfileUnitTestKotlin'
               compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
               compileReleaseAidl: task ':app:compileReleaseAidl'
               compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
               compileReleaseKotlin: task ':app:compileReleaseKotlin'
               compileReleaseNdk: task ':app:compileReleaseNdk'
               compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
               compileReleaseShaders: task ':app:compileReleaseShaders'
               compileReleaseSources: task ':app:compileReleaseSources'
               compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
               compileReleaseUnitTestKotlin: task ':app:compileReleaseUnitTestKotlin'
               compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
               components: SoftwareComponentInternal set
               configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@1b07ba34
               configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@677de926
               configurations: configuration container
               connectedAndroidTest: task ':app:connectedAndroidTest'
               connectedCheck: task ':app:connectedCheck'
               connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
               consumeConfigAttr: task ':app:consumeConfigAttr'
               convention: org.gradle.api.internal.plugins.DefaultConvention@1897e564
               copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
               copyFlutterAssetsDynamicProfile: task ':app:copyFlutterAssetsDynamicProfile'
               copyFlutterAssetsDynamicRelease: task ':app:copyFlutterAssetsDynamicRelease'
               copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
               copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
               createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
               createDynamicProfileCompatibleScreenManifests: task ':app:createDynamicProfileCompatibleScreenManifests'
               createDynamicReleaseCompatibleScreenManifests: task ':app:createDynamicReleaseCompatibleScreenManifests'
               createMockableJar: task ':app:createMockableJar'
               createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
               createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
               defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@441d751a
               defaultTasks: []
               deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@62edb1b7
               dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@6ad15015
               depth: 1
               description: null
               deviceAndroidTest: task ':app:deviceAndroidTest'
               deviceCheck: task ':app:deviceCheck'
               displayName: project ':app'
               distsDir: /Users/xxx/Development/PenMobile.X/build/app/distributions
               distsDirName: distributions
               docsDir: /Users/xxx/Development/PenMobile.X/build/app/docs
               docsDirName: docs
               ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@4d4a24ee
               extensions: org.gradle.api.internal.plugins.DefaultConvention@1897e564
               extractApksForDebug: task ':app:extractApksForDebug'
               extractApksForDynamicProfile: task ':app:extractApksForDynamicProfile'
               extractApksForDynamicRelease: task ':app:extractApksForDynamicRelease'
               extractApksForProfile: task ':app:extractApksForProfile'
               extractApksForRelease: task ':app:extractApksForRelease'
               extractProguardFiles: task ':app:extractProguardFiles'
               fileOperations: org.gradle.api.internal.file.DefaultFileOperations@62503df8
               fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@6d3f480c
               flutter: FlutterExtension_Decorated@d8efc46
               flutterBuildDebug: task ':app:flutterBuildDebug'
               flutterBuildDynamicProfile: task ':app:flutterBuildDynamicProfile'
               flutterBuildDynamicRelease: task ':app:flutterBuildDynamicRelease'
               flutterBuildProfile: task ':app:flutterBuildProfile'
               flutterBuildRelease: task ':app:flutterBuildRelease'
               flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
               generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
               generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
               generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
               generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
               generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
               generateDebugAssets: task ':app:generateDebugAssets'
               generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
               generateDebugFeatureMetadata: task ':app:generateDebugFeatureMetadata'
               generateDebugFeatureTransitiveDeps: task ':app:generateDebugFeatureTransitiveDeps'
               generateDebugResValues: task ':app:generateDebugResValues'
               generateDebugResources: task ':app:generateDebugResources'
               generateDebugSources: task ':app:generateDebugSources'
               generateDebugUnitTestAssets: task ':app:generateDebugUnitTestAssets'
               generateDebugUnitTestResources: task ':app:generateDebugUnitTestResources'
               generateDebugUnitTestSources: task ':app:generateDebugUnitTestSources'
               generateDynamicProfileAssets: task ':app:generateDynamicProfileAssets'
               generateDynamicProfileBuildConfig: task ':app:generateDynamicProfileBuildConfig'
               generateDynamicProfileFeatureMetadata: task ':app:generateDynamicProfileFeatureMetadata'
               generateDynamicProfileFeatureTransitiveDeps: task ':app:generateDynamicProfileFeatureTransitiveDeps'
               generateDynamicProfileResValues: task ':app:generateDynamicProfileResValues'
               generateDynamicProfileResources: task ':app:generateDynamicProfileResources'
               generateDynamicProfileSources: task ':app:generateDynamicProfileSources'
               generateDynamicProfileUnitTestAssets: task ':app:generateDynamicProfileUnitTestAssets'
               generateDynamicProfileUnitTestResources: task ':app:generateDynamicProfileUnitTestResources'
               generateDynamicProfileUnitTestSources: task ':app:generateDynamicProfileUnitTestSources'
               generateDynamicReleaseAssets: task ':app:generateDynamicReleaseAssets'
               generateDynamicReleaseBuildConfig: task ':app:generateDynamicReleaseBuildConfig'
               generateDynamicReleaseFeatureMetadata: task ':app:generateDynamicReleaseFeatureMetadata'
               generateDynamicReleaseFeatureTransitiveDeps: task ':app:generateDynamicReleaseFeatureTransitiveDeps'
               generateDynamicReleaseResValues: task ':app:generateDynamicReleaseResValues'
               generateDynamicReleaseResources: task ':app:generateDynamicReleaseResources'
               generateDynamicReleaseSources: task ':app:generateDynamicReleaseSources'
               generateDynamicReleaseUnitTestAssets: task ':app:generateDynamicReleaseUnitTestAssets'
               generateDynamicReleaseUnitTestResources: task ':app:generateDynamicReleaseUnitTestResources'
               generateDynamicReleaseUnitTestSources: task ':app:generateDynamicReleaseUnitTestSources'
               generateProfileAssets: task ':app:generateProfileAssets'
               generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
               generateProfileFeatureMetadata: task ':app:generateProfileFeatureMetadata'
               generateProfileFeatureTransitiveDeps: task ':app:generateProfileFeatureTransitiveDeps'
               generateProfileResValues: task ':app:generateProfileResValues'
               generateProfileResources: task ':app:generateProfileResources'
               generateProfileSources: task ':app:generateProfileSources'
               generateProfileUnitTestAssets: task ':app:generateProfileUnitTestAssets'
               generateProfileUnitTestResources: task ':app:generateProfileUnitTestResources'
               generateProfileUnitTestSources: task ':app:generateProfileUnitTestSources'
               generateReleaseAssets: task ':app:generateReleaseAssets'
               generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
               generateReleaseFeatureMetadata: task ':app:generateReleaseFeatureMetadata'
               generateReleaseFeatureTransitiveDeps: task ':app:generateReleaseFeatureTransitiveDeps'
               generateReleaseResValues: task ':app:generateReleaseResValues'
               generateReleaseResources: task ':app:generateReleaseResources'
               generateReleaseSources: task ':app:generateReleaseSources'
               generateReleaseUnitTestAssets: task ':app:generateReleaseUnitTestAssets'
               generateReleaseUnitTestResources: task ':app:generateReleaseUnitTestResources'
               generateReleaseUnitTestSources: task ':app:generateReleaseUnitTestSources'
               gradle: build 'android'
               group: android
               identityPath: :app
               inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@11ffc44d
               installDebug: task ':app:installDebug'
               installDebugAndroidTest: task ':app:installDebugAndroidTest'
               installDynamicProfile: task ':app:installDynamicProfile'
               installDynamicRelease: task ':app:installDynamicRelease'
               installProfile: task ':app:installProfile'
               installRelease: task ':app:installRelease'
               javaPreCompileDebug: task ':app:javaPreCompileDebug'
               javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
               javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
               javaPreCompileDynamicProfile: task ':app:javaPreCompileDynamicProfile'
               javaPreCompileDynamicProfileUnitTest: task ':app:javaPreCompileDynamicProfileUnitTest'
               javaPreCompileDynamicRelease: task ':app:javaPreCompileDynamicRelease'
               javaPreCompileDynamicReleaseUnitTest: task ':app:javaPreCompileDynamicReleaseUnitTest'
               javaPreCompileProfile: task ':app:javaPreCompileProfile'
               javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
               javaPreCompileRelease: task ':app:javaPreCompileRelease'
               javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
               kotlin: org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension_Decorated@72238477
               kotlin_version: 1.2.61
               layout: org.gradle.api.internal.file.DefaultProjectLayout@654bdd17
               libsDir: /Users/xxx/Development/PenMobile.X/build/app/libs
               libsDirName: libs
               lint: task ':app:lint'
               lintDebug: task ':app:lintDebug'
               lintDynamicProfile: task ':app:lintDynamicProfile'
               lintDynamicRelease: task ':app:lintDynamicRelease'
               lintFix: task ':app:lintFix'
               lintProfile: task ':app:lintProfile'
               lintRelease: task ':app:lintRelease'
               lintVitalRelease: task ':app:lintVitalRelease'
               logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@a514d1b
               logging: org.gradle.internal.logging.services.DefaultLoggingManager@1f5d7134
               mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug'
               mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest'
               mainApkListPersistenceDynamicProfile: task ':app:mainApkListPersistenceDynamicProfile'
               mainApkListPersistenceDynamicRelease: task ':app:mainApkListPersistenceDynamicRelease'
               mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile'
               mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease'
               makeApkFromBundleForDebug: task ':app:makeApkFromBundleForDebug'
               makeApkFromBundleForDynamicProfile: task ':app:makeApkFromBundleForDynamicProfile'
               makeApkFromBundleForDynamicRelease: task ':app:makeApkFromBundleForDynamicRelease'
               makeApkFromBundleForProfile: task ':app:makeApkFromBundleForProfile'
               makeApkFromBundleForRelease: task ':app:makeApkFromBundleForRelease'
               mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
               mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
               mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
               mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
               mergeDebugAssets: task ':app:mergeDebugAssets'
               mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
               mergeDebugResources: task ':app:mergeDebugResources'
               mergeDebugShaders: task ':app:mergeDebugShaders'
               mergeDynamicProfileAssets: task ':app:mergeDynamicProfileAssets'
               mergeDynamicProfileJniLibFolders: task ':app:mergeDynamicProfileJniLibFolders'
               mergeDynamicProfileResources: task ':app:mergeDynamicProfileResources'
               mergeDynamicProfileShaders: task ':app:mergeDynamicProfileShaders'
               mergeDynamicReleaseAssets: task ':app:mergeDynamicReleaseAssets'
               mergeDynamicReleaseJniLibFolders: task ':app:mergeDynamicReleaseJniLibFolders'
               mergeDynamicReleaseResources: task ':app:mergeDynamicReleaseResources'
               mergeDynamicReleaseShaders: task ':app:mergeDynamicReleaseShaders'
               mergeProfileAssets: task ':app:mergeProfileAssets'
               mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
               mergeProfileResources: task ':app:mergeProfileResources'
               mergeProfileShaders: task ':app:mergeProfileShaders'
               mergeReleaseAssets: task ':app:mergeReleaseAssets'
               mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
               mergeReleaseResources: task ':app:mergeReleaseResources'
               mergeReleaseShaders: task ':app:mergeReleaseShaders'
               modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@706f033e
               modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@5753fde7
               module: org.gradle.api.internal.artifacts.ProjectBackedModule@1ac4cdaa
               name: app
               normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@1e012178
               objects: org.gradle.api.internal.model.DefaultObjectFactory@2599f4ca
               org.gradle.jvmargs: -Xmx1536M
               packageAppClassesDebug: task ':app:packageAppClassesDebug'
               packageAppClassesDebugAndroidTest: task ':app:packageAppClassesDebugAndroidTest'
               packageAppClassesDebugUnitTest: task ':app:packageAppClassesDebugUnitTest'
               packageAppClassesDynamicProfile: task ':app:packageAppClassesDynamicProfile'
               packageAppClassesDynamicProfileUnitTest: task ':app:packageAppClassesDynamicProfileUnitTest'
               packageAppClassesDynamicRelease: task ':app:packageAppClassesDynamicRelease'
               packageAppClassesDynamicReleaseUnitTest: task ':app:packageAppClassesDynamicReleaseUnitTest'
               packageAppClassesProfile: task ':app:packageAppClassesProfile'
               packageAppClassesProfileUnitTest: task ':app:packageAppClassesProfileUnitTest'
               packageAppClassesRelease: task ':app:packageAppClassesRelease'
               packageAppClassesReleaseUnitTest: task ':app:packageAppClassesReleaseUnitTest'
               packageDebug: task ':app:packageDebug'
               packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
               packageDebugBundle: task ':app:packageDebugBundle'
               packageDebugUniversalApk: task ':app:packageDebugUniversalApk'
               packageDynamicProfile: task ':app:packageDynamicProfile'
               packageDynamicProfileBundle: task ':app:packageDynamicProfileBundle'
               packageDynamicProfileUniversalApk: task ':app:packageDynamicProfileUniversalApk'
               packageDynamicRelease: task ':app:packageDynamicRelease'
               packageDynamicReleaseBundle: task ':app:packageDynamicReleaseBundle'
               packageDynamicReleaseUniversalApk: task ':app:packageDynamicReleaseUniversalApk'
               packageProfile: task ':app:packageProfile'
               packageProfileBundle: task ':app:packageProfileBundle'
               packageProfileUniversalApk: task ':app:packageProfileUniversalApk'
               packageRelease: task ':app:packageRelease'
               packageReleaseBundle: task ':app:packageReleaseBundle'
               packageReleaseUniversalApk: task ':app:packageReleaseUniversalApk'
               parent: root project 'android'
               parentIdentifier: root project 'android'
               path: :app
               pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@51b9e59c
               plugins: [org.gradle.api.plugins.HelpTasksPlugin@1a269710, com.android.build.gradle.api.AndroidBasePlugin@7378298e, org.gradle.language.base.plugins.LifecycleBasePlugin@3e78fea7, org.gradle.api.plugins.BasePlugin@70936b91, org.gradle.api.plugins.ReportingBasePlugin@47d8e1e3, org.gradle.platform.base.plugins.ComponentBasePlugin@21dc1b1f, org.gradle.language.base.plugins.LanguageBasePlugin@218b213e, org.gradle.platform.base.plugins.BinaryBasePlugin@1ef965ec, org.gradle.api.plugins.JavaBasePlugin@4004bbd7, com.android.build.gradle.AppPlugin@247783df, org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper@57e9f071, FlutterPlugin@74155f2a]
               preBuild: task ':app:preBuild'
               preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
               preDebugBuild: task ':app:preDebugBuild'
               preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
               preDynamicProfileBuild: task ':app:preDynamicProfileBuild'
               preDynamicProfileUnitTestBuild: task ':app:preDynamicProfileUnitTestBuild'
               preDynamicReleaseBuild: task ':app:preDynamicReleaseBuild'
               preDynamicReleaseUnitTestBuild: task ':app:preDynamicReleaseUnitTestBuild'
               preProfileBuild: task ':app:preProfileBuild'
               preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
               preReleaseBuild: task ':app:preReleaseBuild'
               preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
               prepareLintJar: task ':app:prepareLintJar'
               processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
               processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
               processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
               processDebugJavaRes: task ':app:processDebugJavaRes'
               processDebugManifest: task ':app:processDebugManifest'
               processDebugResources: task ':app:processDebugResources'
               processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
               processDynamicProfileJavaRes: task ':app:processDynamicProfileJavaRes'
               processDynamicProfileManifest: task ':app:processDynamicProfileManifest'
               processDynamicProfileResources: task ':app:processDynamicProfileResources'
               processDynamicProfileUnitTestJavaRes: task ':app:processDynamicProfileUnitTestJavaRes'
               processDynamicReleaseJavaRes: task ':app:processDynamicReleaseJavaRes'
               processDynamicReleaseManifest: task ':app:processDynamicReleaseManifest'
               processDynamicReleaseResources: task ':app:processDynamicReleaseResources'
               processDynamicReleaseUnitTestJavaRes: task ':app:processDynamicReleaseUnitTestJavaRes'
               processOperations: org.gradle.api.internal.file.DefaultFileOperations@62503df8
               processProfileJavaRes: task ':app:processProfileJavaRes'
               processProfileManifest: task ':app:processProfileManifest'
               processProfileResources: task ':app:processProfileResources'
               processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
               processReleaseJavaRes: task ':app:processReleaseJavaRes'
               processReleaseManifest: task ':app:processReleaseManifest'
               processReleaseResources: task ':app:processReleaseResources'
               processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
               project: project ':app'
               projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@59476a66
               projectDir: /Users/xxx/Development/PenMobile.X/android/app
               projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
               projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@4eda9ad7
               projectPath: :app
               projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@248f0862
               properties: {...}
               providers: org.gradle.api.internal.provider.DefaultProviderFactory@c270498
               reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug'
               reportBuildArtifactsDynamicProfile: task ':app:reportBuildArtifactsDynamicProfile'
               reportBuildArtifactsDynamicRelease: task ':app:reportBuildArtifactsDynamicRelease'
               reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile'
               reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease'
               reportSourceSetTransformAndroidTest: task ':app:reportSourceSetTransformAndroidTest'
               reportSourceSetTransformAndroidTestDebug: task ':app:reportSourceSetTransformAndroidTestDebug'
               reportSourceSetTransformDebug: task ':app:reportSourceSetTransformDebug'
               reportSourceSetTransformDynamicProfile: task ':app:reportSourceSetTransformDynamicProfile'
               reportSourceSetTransformDynamicRelease: task ':app:reportSourceSetTransformDynamicRelease'
               reportSourceSetTransformMain: task ':app:reportSourceSetTransformMain'
               reportSourceSetTransformProfile: task ':app:reportSourceSetTransformProfile'
               reportSourceSetTransformRelease: task ':app:reportSourceSetTransformRelease'
               reportSourceSetTransformTest: task ':app:reportSourceSetTransformTest'
               reportSourceSetTransformTestDebug: task ':app:reportSourceSetTransformTestDebug'
               reportSourceSetTransformTestDynamicProfile: task ':app:reportSourceSetTransformTestDynamicProfile'
               reportSourceSetTransformTestDynamicRelease: task ':app:reportSourceSetTransformTestDynamicRelease'
               reportSourceSetTransformTestProfile: task ':app:reportSourceSetTransformTestProfile'
               reportSourceSetTransformTestRelease: task ':app:reportSourceSetTransformTestRelease'
               reporting: org.gradle.api.reporting.ReportingExtension_Decorated@3a849c6a
               reportsDir: /Users/xxx/Development/PenMobile.X/build/app/reports
               repositories: repository container
               resolveConfigAttr: task ':app:resolveConfigAttr'
               resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@5872c506
               resources: org.gradle.api.internal.resources.DefaultResourceHandler@42e4e0fd
               rootDir: /Users/xxx/Development/PenMobile.X/android
               rootProject: root project 'android'
               script: false
               scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@1e742cdb
               scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@8d94b3
               serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@4e193b51
               services: ProjectScopeServices
               signingReport: task ':app:signingReport'
               sourceCompatibility: 1.8
               sourceSets: SourceSet container
               splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
               splitsDiscoveryTaskDynamicProfile: task ':app:splitsDiscoveryTaskDynamicProfile'
               splitsDiscoveryTaskDynamicRelease: task ':app:splitsDiscoveryTaskDynamicRelease'
               splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
               splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
               standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@1f5d7134
               state: project state 'EXECUTED'
               status: integration
               subprojects: []
               targetCompatibility: 1.8
               tasks: task set
               test: task ':app:test'
               testDebugUnitTest: task ':app:testDebugUnitTest'
               testDynamicProfileUnitTest: task ':app:testDynamicProfileUnitTest'
               testDynamicReleaseUnitTest: task ':app:testDynamicReleaseUnitTest'
               testProfileUnitTest: task ':app:testProfileUnitTest'
               testReleaseUnitTest: task ':app:testReleaseUnitTest'
               testReportDir: /Users/xxx/Development/PenMobile.X/build/app/reports/tests
               testReportDirName: tests
               testResultsDir: /Users/xxx/Development/PenMobile.X/build/app/test-results
               testResultsDirName: test-results
               transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
               transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
               transformClassesWithDexBuilderForDynamicProfile: task ':app:transformClassesWithDexBuilderForDynamicProfile'
               transformClassesWithDexBuilderForDynamicRelease: task ':app:transformClassesWithDexBuilderForDynamicRelease'
               transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
               transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease'
               transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
               transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
               transformDexArchiveWithDexMergerForDynamicProfile: task ':app:transformDexArchiveWithDexMergerForDynamicProfile'
               transformDexArchiveWithDexMergerForDynamicRelease: task ':app:transformDexArchiveWithDexMergerForDynamicRelease'
               transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
               transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease'
               transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
               transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
               transformDexArchiveWithExternalLibsDexMergerForDynamicProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicProfile'
               transformDexArchiveWithExternalLibsDexMergerForDynamicRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicRelease'
               transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
               transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'
               transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
               transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
               transformNativeLibsWithMergeJniLibsForDynamicProfile: task ':app:transformNativeLibsWithMergeJniLibsForDynamicProfile'
               transformNativeLibsWithMergeJniLibsForDynamicRelease: task ':app:transformNativeLibsWithMergeJniLibsForDynamicRelease'
               transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
               transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
               transformNativeLibsWithStripDebugSymbolForDebug: task ':app:transformNativeLibsWithStripDebugSymbolForDebug'
               transformNativeLibsWithStripDebugSymbolForDynamicProfile: task ':app:transformNativeLibsWithStripDebugSymbolForDynamicProfile'
               transformNativeLibsWithStripDebugSymbolForDynamicRelease: task ':app:transformNativeLibsWithStripDebugSymbolForDynamicRelease'
               transformNativeLibsWithStripDebugSymbolForProfile: task ':app:transformNativeLibsWithStripDebugSymbolForProfile'
               transformNativeLibsWithStripDebugSymbolForRelease: task ':app:transformNativeLibsWithStripDebugSymbolForRelease'
               transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
               transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
               transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
               transformResourcesWithMergeJavaResForDynamicProfile: task ':app:transformResourcesWithMergeJavaResForDynamicProfile'
               transformResourcesWithMergeJavaResForDynamicProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicProfileUnitTest'
               transformResourcesWithMergeJavaResForDynamicRelease: task ':app:transformResourcesWithMergeJavaResForDynamicRelease'
               transformResourcesWithMergeJavaResForDynamicReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicReleaseUnitTest'
               transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
               transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
               transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
               transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
               uninstallAll: task ':app:uninstallAll'
               uninstallDebug: task ':app:uninstallDebug'
               uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
               uninstallDynamicProfile: task ':app:uninstallDynamicProfile'
               uninstallDynamicRelease: task ':app:uninstallDynamicRelease'
               uninstallProfile: task ':app:uninstallProfile'
               uninstallRelease: task ':app:uninstallRelease'
               validateSigningDebug: task ':app:validateSigningDebug'
               validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
               validateSigningDynamicProfile: task ':app:validateSigningDynamicProfile'
               validateSigningDynamicRelease: task ':app:validateSigningDynamicRelease'
               validateSigningProfile: task ':app:validateSigningProfile'
               validateSigningRelease: task ':app:validateSigningRelease'
               version: unspecified
               writeDebugApplicationId: task ':app:writeDebugApplicationId'
               writeDynamicProfileApplicationId: task ':app:writeDynamicProfileApplicationId'
               writeDynamicReleaseApplicationId: task ':app:writeDynamicReleaseApplicationId'
               writeProfileApplicationId: task ':app:writeProfileApplicationId'
               writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
               1 actionable task: 1 executed

[ +10 ms] Resolving dependencies... (completed) [ +1 ms] Gradle task 'assembleRelease'... [ +3 ms] executing: [/Users/xxx/Development/PenMobile.X/android/] /Users/xxx/Development/PenMobile.X/android/gradlew -Pverbose=true -Ptarget=lib/main.dart -Ptarget-platform=android-arm assembleRelease [+1154 ms] 52 actionable tasks: 4 executed, 48 up-to-date [ +21 ms] FAILURE: Build failed with an exception. [ +2 ms] 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 1s [ +394 ms] Gradle task 'assembleRelease'... (completed) [ +12 ms] "flutter apk" took 3,723ms. Gradle task assembleRelease failed with exit code 1

0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)

1 _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:395:5)

#2 buildGradleProject (package:flutter_tools/src/android/gradle.dart:296:14) #3 buildApk (package:flutter_tools/src/android/apk.dart:41:10) #4 BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:43:11) #5 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:375:18) #6 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64) #7 _rootRunUnary (dart:async/zone.dart:1132:38) #8 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #9 _FutureListener.handleValue (dart:async/future_impl.dart:129:18) #10 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45) #11 Future._propagateToListeners (dart:async/future_impl.dart:671:32) #12 Future._complete (dart:async/future_impl.dart:476:7) #13 _SyncCompleter.complete (dart:async/future_impl.dart:51:12) #14 _AsyncAwaitCompleter.complete. (dart:async/runtime/libasync_patch.dart:33:20) #15 _rootRun (dart:async/zone.dart:1124:13) #16 _CustomZone.run (dart:async/zone.dart:1021:19) #17 _CustomZone.bindCallback. (dart:async/zone.dart:947:23) #18 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #20 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13) #21 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5) `
ghost commented 6 years ago

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.

JamesMcIntosh commented 6 years ago

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?

MarcelEdward2 commented 6 years ago

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 }

digarahayu17 commented 6 years ago

@JamesMcIntosh i get error also when upgrade gradle to 3.2.0, so currenlty i stay on 3.1.2

jamesgebara commented 6 years ago

I am having the same issue and I am hoping that it gets resolved in the next update for this package.

jamesgebara commented 6 years ago

FAILURE: Build failed with an exception.

BUILD FAILED in 57s

tudor07 commented 6 years ago

The same for me. Any update on this ?

tudor07 commented 6 years ago

Looks like it works using gradle plugin 3.1.2 classpath 'com.android.tools.build:gradle:3.1.2'

yathit commented 5 years ago

Any update, same issue here.

lubritto commented 5 years ago

Any update?

warriorCoder commented 5 years ago

I'm having the same issue.. can't use this plugin with RxDart because RxDart needs build 3.2.1.

qingxo commented 5 years ago

anybody have solve the problem?share us please...

pkseop commented 5 years ago

hey i fix this problem. insert this at gradle-wrapper.properties file distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

tGeorgeDN commented 5 years ago

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.

devtronic commented 4 years ago

A new version is available which solves the problem.