iqbalmineraltown / flutter_sms_receiver

SMS Receiver API Flutter Plugin
BSD 3-Clause "New" or "Revised" License
22 stars 22 forks source link

Not building on Android #2

Closed jaysson closed 4 years ago

jaysson commented 5 years ago

Error

* Error running Gradle:
           ProcessException: Process "$projectPath/android/gradlew" exited abnormally:
           Starting a Gradle Daemon, 1 busy and 2 stopped Daemons could not be reused, use --status for details

           > Configure project :sms_receiver
           WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'.
           It will be removed at the end of 2019.
           For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
           To determine what is calling variant.getPackageLibrary(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

           > Configure project :onesignalflutter
           WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
           It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

           > Configure project :app
           WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
           It will be removed at the end of 2019.
           For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
           To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
           WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
           It will be removed at the end of 2019.
           For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
           To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
                    *********************************************************
           WARNING: This version of package_info will break your Android build if it or its dependencies aren't compatible with AndroidX.
                    See https://goo.gl/CP92wY for more information on the problem and how to fix it.
                    This warning prints for all Android build failures. The real root cause of the error may be unrelated.
                    *********************************************************
             Command: $projectPath/android/gradlew app:properties

flutter doctor result

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v1.6.3, on Mac OS X 10.14.5 18F132, locale en-IN)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1) [✓] Android Studio (version 3.4) [✓] VS Code (version 1.35.1) [✓] Connected device (1 available)

• No issues found!

iqbalmineraltown commented 5 years ago

per this post, I haven't test on 1.6.3 yet because it's still on beta

Can you try using latest stable 1.5.4-hotfix.2 ? I tried to build on that version and it works

iqbalmineraltown commented 4 years ago

closing this issue as no further information and sdk is outdated