Code Monkey home page Code Monkey logo

bitrise-step-flutter's Introduction

Flutter

Build and install Fluttter app

Sample workflow for building iOS and Android apps

bitrise.yml snippet:

primary:
steps:
- certificate-and-profile-installer:
    inputs:
    - install_defaults: 'no'
- activate-ssh-key:
    run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- flutter:
    inputs:
    - commands: test|build ios|build apk

How to use this Step

Can be run directly with the bitrise CLI, just git clone this repository, cd into it's folder in your Terminal/Command Line and call bitrise run test.

Check the bitrise.yml file for required inputs which have to be added to your .bitrise.secrets.yml file!

Step by step:

  1. Open up your Terminal / Command Line
  2. git clone the repository
  3. cd into the directory of the step (the one you just git cloned)
  4. Create a .bitrise.secrets.yml file in the same directory of bitrise.yml (the .bitrise.secrets.yml is a git ignored file, you can store your secrets in it)
  5. Check the bitrise.yml file for any secret you should set in .bitrise.secrets.yml
  • Best practice is to mark these options with something like # define these in your .bitrise.secrets.yml, in the app:envs section.
  1. Once you have all the required secret parameters in your .bitrise.secrets.yml you can just run this step with the bitrise CLI: bitrise run test

An example .bitrise.secrets.yml file:

envs:
- A_SECRET_PARAM_ONE: the value for secret one
- A_SECRET_PARAM_TWO: the value for secret two

How to create your own step

  1. Create a new git repository for your step (don't fork the step template, create a new repository)
  2. Copy the step template files into your repository
  3. Fill the step.sh with your functionality
  4. Wire out your inputs to step.yml (inputs section)
  5. Fill out the other parts of the step.yml too
  6. Provide test values for the inputs in the bitrise.yml
  7. Run your step with bitrise run test - if it works, you're ready

For Step development guidelines & best practices check this documentation: https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md.

NOTE:

If you want to use your step in your project's bitrise.yml:

  1. git push the step into it's repository
  2. reference it in your bitrise.yml with the git::PUBLIC-GIT-CLONE-URL@BRANCH step reference style:
- git::https://github.com/user/my-step.git@branch:
   title: My step
   inputs:
   - my_input_1: "my value 1"
   - my_input_2: "my value 2"

You can find more examples of step reference styles in the bitrise CLI repository.

How to contribute to this Step

  1. Fork this repository
  2. git clone it
  3. Create a branch you'll work on
  4. To use/test the step just follow the How to use this Step section
  5. Do the changes you want to
  6. Run/test the step before sending your contribution
  • You can also test the step in your bitrise project, either on your Mac or on bitrise.io
  • You just have to replace the step ID in your project's bitrise.yml with either a relative path, or with a git URL format
  • (relative) path format: instead of - original-step-id: use - path::./relative/path/of/script/on/your/Mac:
  • direct git URL format: instead of - original-step-id: use - git::https://github.com/user/step.git@branch:
  • You can find more example of alternative step referencing at: https://github.com/bitrise-io/bitrise/blob/master/_examples/tutorials/steps-and-workflows/bitrise.yml
  1. Once you're done just commit your changes & create a Pull Request

Share your own Step

You can share your Step or step version with the bitrise CLI. If you use the bitrise.yml included in this repository, all you have to do is:

  1. In your Terminal / Command Line cd into this directory (where the bitrise.yml of the step is located)
  2. Run: bitrise run test to test the step
  3. Run: bitrise run audit-this-step to audit the step.yml
  4. Check the share-this-step workflow in the bitrise.yml, and fill out the envs if you haven't done so already (don't forget to bump the version number if this is an update of your step!)
  5. Then run: bitrise run share-this-step to share the step (version) you specified in the envs
  6. Send the Pull Request, as described in the logs of bitrise run share-this-step

That's all ;)

bitrise-step-flutter's People

Contributors

koral-- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bitrise-step-flutter's Issues

Could not extract Flutter SDK, error: exit status 128

We've set Flutter version to TAG 1.17.0
Flutter install when setting stable version to: 1.17.0
success

then
Flutter command with version set to: 1.17.0
pub get
Extracting Flutter SDK to /Users/vagrant/Library/flutter
Version 1.17.0 not found in releases, trying snapshot.
Could not extract Flutter SDK, error: exit status 128
| |
+---+---------------------------------------------------------------+----------+
| x | flutter@0 (exit code: 2)

The version exists
https://github.com/flutter/flutter/releases/tag/1.17.0
also here: https://flutter.dev/docs/development/tools/sdk/releases
also it's installed via Flutter install

Flutter packages ge failing on build but working on laptop on clean directory

Hi,

this use to work properly untill I have replaced in the pubspec a specfic version of a package.
This is the dependencies section of my pubspec:

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  fluro: ^1.3.1
  flutter_map: ^0.0.6
  latlong: ^0.4.5
  rxdart: ^0.18.1
  date_format: ^1.0.4
  firebase_core: ^0.2.4
    #firebase_auth: ^0.5.12
  firebase_auth:
    git:
      url: [email protected]:flutter/plugins.git
      path: packages/firebase_auth
      ref: 075897e
  location: ^1.3.3

I can flutter packages get on my laptop but on the build server I'm getting the following error:

Running "flutter packages get" in mobilet_app...
Could not find a file named "packages/firebase_auth/pubspec.yaml" in [email protected]:flutter/plugins.git 075897eaec21dffd238ddfaa544ae7b773fc3b29.

I have the same version of flutter installed on both the laptop and the server:

this is what I have on the server:

Config:
- Version: 0.5.6-dev
- WorkingDir: /Users/vagrant/git/sweetnest_app
- Commands: [build ios -t lib/main_impl.dart]
ANDROID_HOME environment variable not defined, skipping Android SDK setup.
Extracting Flutter SDK to /Users/vagrant/Library/flutter
Executing Flutter command: build ios -t lib/main_impl.dart
  ╔════════════════════════════════════════════════════════════════════════════╗
  ║                 Welcome to Flutter! - https://flutter.io                   ║
  ║                                                                            ║
  ║ The Flutter tool anonymously reports feature usage statistics and crash    ║
  ║ reports to Google in order to help Google contribute improvements to       ║
  ║ Flutter over time.                                                         ║
  ║                                                                            ║
  ║ Read about data we send with crash reports:                                ║
  ║ https://github.com/flutter/flutter/wiki/Flutter-CLI-crash-reporting        ║
  ║                                                                            ║
  ║ See Google's privacy policy:                                               ║
  ║ https://www.google.com/intl/en/policies/privacy/                           ║
  ║                                                                            ║
  ║ Use "flutter config --no-analytics" to disable analytics and crash         ║
  ║ reporting.                                                                 ║
  ╚════════════════════════════════════════════════════════════════════════════╝
  
Running "flutter packages get" in sweetnest_app...
Could not find a file named "packages/firebase_auth/pubspec.yaml" in [email protected]:flutter/plugins.git 075897eaec21dffd238ddfaa544ae7b773fc3b29.
---- Log transcript ----
FINE: Pub 2.0.0-dev.63.0.flutter-4c9689c1d2
MSG : Resolving dependencies...
SLVR: fact: sweetnest_app is 0.0.0
SLVR: derived: sweetnest_app
SLVR: fact: sweetnest_app depends on date_format ^1.0.4
SLVR: fact: sweetnest_app depends on fluro ^1.3.1
SLVR: fact: sweetnest_app depends on location ^1.3.3
SLVR: fact: sweetnest_app depends on flutter_localizations any from sdk
SLVR: fact: sweetnest_app depends on flutter any from sdk
SLVR: fact: sweetnest_app depends on firebase_core ^0.2.4
SLVR: fact: sweetnest_app depends on firebase_auth from git
SLVR: fact: sweetnest_app depends on cupertino_icons ^0.1.2
SLVR: fact: sweetnest_app depends on rxdart ^0.18.1
SLVR: fact: sweetnest_app depends on latlong ^0.4.5
SLVR: fact: sweetnest_app depends on flutter_map ^0.0.6
SLVR: fact: sweetnest_app depends on flutter_test any from sdk
SLVR: fact: sweetnest_app depends on flutter_launcher_icons ^0.3.2

And on my laptop:

➜ sweetnest/sweetnest_app ➤ ba5edf5|develop ✓
± flutter doctor                                                                                                                                           [8h]
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.7-pre.122, on Mac OS X 10.13.5 17F77, locale en-BE)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.6)
[✓] VS Code (version 1.25.0)
[✓] Connected devices (1 available)

• No issues found!
➜ sweetnest/sweetnest_app ➤ ba5edf5|develop ✓
± flutter packages get                                                                                                                                   ⏎ [9h]
Running "flutter packages get" in sweetnest_app...           0.9s
➜ sweetnest/sweetnest_app ➤ ba5edf5|develop ✓

Any help appreciated :)

Version master not found in releases, trying snapshot.

I noticed this step is having issues fetching specific Flutter versions I am requesting it use when executing a command. I get the error:

When following the example posted in the screenshot, I get an error.

Extracting Flutter SDK to /Users/vagrant/Library/flutter
Version 13.13.9-stable not found in releases, trying snapshot.
Could not extract Flutter SDK, error: exit status 128

Screenshot 2023-12-22 at 9 44 30 AM

Using "master" I get a similar error but the command does not terminate, however because the "snapshot" version is an older version of Flutter, I am not able to use --flavor in my test command because it was later implemented in a later version.

Extracting Flutter SDK to /Users/vagrant/Library/flutter
Version master not found in releases, trying snapshot.
Executing Flutter command: test integration_test/login_test.dart --flavor dev

Can't run "flutter pub get" because licenses

The command can't finish due to licenses that have not been accepted.
Is there any way to automatically accept every license?

+------------------------------------------------------------------------------+

| (5) flutter@0                                                                |
+------------------------------------------------------------------------------+
| id: flutter                                                                  |
| version: 0.0.10                                                              |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2021-06-16T21:13:14Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[21:13:14]  * [OK] Step dependency (git) installed, available. 
INFO[21:13:14]  * [OK] Step dependency (curl) installed, available. 
INFO[21:13:14]  * [OK] Step dependency (unzip) installed, available. 
Config:
- Version: 2.2.2
- WorkingDir: /Users/vagrant/git
- Commands: [pub get]
Loading local repository...                                                     
[=========                              ] 25% Loading local repository...       
[=========                              ] 25% Fetch remote repository...        
[=========                              ] 25% Fetch remote repository...        
[==========                             ] 26% Fetch remote repository...        
[==========                             ] 27% Fetch remote repository...        
[===========                            ] 28% Fetch remote repository...        
[===========                            ] 29% Fetch remote repository...        
[===========                            ] 29% Fetch remote repository...        
[============                           ] 30% Fetch remote repository...        
[============                           ] 31% Fetch remote repository...        
[============                           ] 31% Fetch remote repository...        
[============                           ] 32% Fetch remote repository...        
[=============                          ] 33% Fetch remote repository...        
[=============                          ] 33% Fetch remote repository...        
[=============                          ] 34% Fetch remote repository...        
[=============                          ] 35% Fetch remote repository...        
[==============                         ] 36% Fetch remote repository...        
[==============                         ] 36% Fetch remote repository...        
[==============                         ] 37% Fetch remote repository...        
[===============                        ] 38% Fetch remote repository...        
[===============                        ] 38% Fetch remote repository...        
[===============                        ] 39% Fetch remote repository...        
[===============                        ] 40% Fetch remote repository...        
[================                       ] 40% Fetch remote repository...        
[================                       ] 41% Fetch remote repository...        
[================                       ] 42% Fetch remote repository...        
[====================                   ] 52% Fetch remote repository...        
[=======================                ] 60% Fetch remote repository...        
[=======================                ] 60% Computing updates...              
[=============================          ] 75% Computing updates...              
[=============================          ] 75% Computing updates...              
[=======================================] 100% Computing updates...             
7 of 7 SDK package licenses not accepted.
Review licenses that have not been accepted (y/N)? 
1/7: License android-googletv-license:
---------------------------------------
Terms and Conditions
This is the Google TV Add-on for the Android Software Development Kit License Agreement.
1. Introduction
1.1 The Google TV Add-on for the Android Software Development Kit (referred to in this License Agreement as the "Google TV Add-on" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the Google TV Add-on.
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
2. Accepting this License Agreement

... hangs

Error:"Could not setup macOS environment, error: exit status 1" in the Flutter step v0.0.8.

I have been faced with the following problem in the Flutter step v0.0.8.

I check the case that it succeeded on December 13,2019(GMT+0900) and failed on December 16,2019(GMT+0900).

■Log excerpt(Failure patern)

Accept? (y/N): All SDK package licenses accepted

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named six
�[34;1msix Python module not found, installing it with easy_install...�[0m
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Searching for six
Reading https://pypi.org/simple/six/
Download error on https://pypi.org/simple/six/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'six' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or working download links found for six
error: Could not find suitable distribution for Requirement.parse('six')
�[31;1mCould not setup macOS environment, error: exit status 1�[0m

and

■Log excerpt(Success patern)

Accept? (y/N): All SDK package licenses accepted

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named six
�[34;1msix Python module not found, installing it with easy_install...�[0m
Searching for six
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl#sha256=1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd
Best match: six 1.13.0
Processing six-1.13.0-py2.py3-none-any.whl
Installing six-1.13.0-py2.py3-none-any.whl to /usr/local/lib/python2.7/site-packages
Adding six 1.13.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/site-packages/six-1.13.0-py2.7.egg
Processing dependencies for six
Finished processing dependencies for six
�[34;1mExtracting Flutter SDK to /Users/vagrant/Library/flutter�[0m
�[34;1mVersion stable not found in releases, trying snapshot.�[0m
�[34;1mExecuting Flutter command: build ios --release --flavor dev --target lib/main_dev.dart --build-number=XXXX�[0m
Downloading Dart SDK from Flutter engine 2994f7e1e682039464cb25e31a78b86a3c59b695...

The former differs from the latter in that it cannot download "https://pypi.org/simple/six/" .

Reading https://pypi.org/simple/six/
Download error on https://pypi.org/simple/six/: unknown url type: https -- Some packages may not be found!

Does anyone face the same problem?

Thank you,

sligtht change for when running android build

Basically you need to accept a license.
Its because your running a slightly older android setup.

x-MacBook-Pro:ci apple$ flutter doctor --android-licenses
A newer version of the Android SDK is required. To update, run:
/Users/apple/Library/Android/sdk/tools/bin/sdkmanager --update

java.lang.NoClassDefFoundError

When i run step flutter doctor i get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
	at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
	at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
	at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
	at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
	at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 5 more
Could not setup Android SDK, error: exit status 1

My configuration:

Flutter version: stable
Root directory of Flutter project: $BITRISE_SOURCE_DIR
Flutter commands to be executed: doctor

ability to change channels

can you extend this so i can pick which channel i am on and then it self upgrades
in the web workflow GUI it would just be a matter of choosing the various channels.

Input "version" is never used, when Flutter already installed

If Flutter already installed, then it won't check the input version, and wrong version of Flutter will be used.

Please see related code:
A
B
C

I think it should check the version too, or at least add a warning message that in this case the version will be ignored (and make the input not required).

--no-build option is not recognized

I tried to launch my integration tests using this step drive --driver=test_driver/app_test.dart --no-build but I got:

Executing Flutter command: drive --driver=test_driver/app_test.dart --no-build
Could not find an option named "build".

When using a custom script step with the same command flutter drive --driver=test_driver/app_test.dart --no-build it works.

Change flutter version

I added the step in my workflow and as default the flutter version was "0.4.4-beta", now I want to change this version with the last released version but the build continues to fail with this error

Could not extract Flutter SDK, error: Failed to download target from: https://storage.googleapis.com/flutter_infra/releases/master/macos/flutter_macos_v0.10.0-master.zip

I tried with the following versions, but the build continues to fail:

  • 0.10.0-master

  • 0.10.0

  • 0.9.6-master

  • 0.9.5-master

Version step used: 0.0.5

Can you please explain me how to fix this problem?

Error: No pubspec.yaml file found with bitrise.io

bitrise.yml

---
format_version: '6'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: flutter
app:
  envs:
  - FLUTTER_COMMANDS: doctor --android-licenses|config --no-analytics|test
trigger_map:
- push_branch: "*"
  workflow: primary
- pull_request_source_branch: "*"
  workflow: primary
workflows:
  primary:
    steps:
    - flutter:
        inputs:
        - version: 1.0.0-stable
        - commands: test

works in local macOS, but on bitrise.io

Agent version:	0.6.1
Start time:	2018-12-20T09:20:18Z
$ bitrise "run" "--config" "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise-agent191417272/bitrise.yml" "--inventory" "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise-agent191417272/bitrise.secrets.yml" "--json-params-base64" "eyJ3b3JrZmxvdyI6InByaW1hcnkifQ=="
  ██████╗ ██╗████████╗██████╗ ██╗███████╗███████╗
  ██╔══██╗██║╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝
  ██████╔╝██║   ██║   ██████╔╝██║███████╗█████╗
  ██╔══██╗██║   ██║   ██╔══██╗██║╚════██║██╔══╝
  ██████╔╝██║   ██║   ██║  ██║██║███████║███████╗
  ╚═════╝ ╚═╝   ╚═╝   ╚═╝  ╚═╝╚═╝╚══════╝╚══════╝
  version: 1.25.0

...........

Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
Flutter invocation failed, error: exit status 1
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | flutter (exit code: 3)                                        | 34 sec   |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/DroidsOnRoids/bitrise-step-flutter/issues  |
| Source: https://github.com/DroidsOnRoids/bitrise

is there any guide to setup flutter step in bitrise.io

thansk !

Failing to install junitreport

Getting the below issue in 0.1.3 version of the step. Have tried re-running multiple times.

Failed to install Step dependency, error: command failed with exit status 100 (sudo "apt-get" "update"): Hit:1 https://packages.cloud.google.com/apt cloud-sdk InRelease
Hit:2 https://download.docker.com/linux/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 https://deb.nodesource.com/node_16.x focal InRelease
Get:5 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:10 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
Err:5 https://dl.yarnpkg.com/debian stable InRelease
The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging [email protected]
Hit:11 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu focal InRelease
Hit:9 https://packagecloud.io/github/git-lfs/ubuntu focal InRelease
Reading package lists...
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging [email protected]
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed. (exit code: 1)

lint-gradle-api-26.1.2.jar not found

Hi,
Since few days ago, the package "lint-gradle-api-26.1.2.jar" there isn't anymore on jcenter and the build with your step started to fail.

The same problem happens also locally but I solved this issue according with this link:
https://stackoverflow.com/a/52946279

It suggests to update the 'com.android.tools.build:gradle' from 3.1.2 to 3.2.1

When are you planning to release a new version to fix the problem on your step?

Thanks in advance,
Carmelo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.