sparkfabrik / android-build-action

Build Android project, export .apk, optional upload to BrowserStack App Live.
MIT License
122 stars 21 forks source link

Browserstack action error #16

Closed francescoben closed 1 year ago

francescoben commented 1 year ago

I'm getting this error while building:

[17:33:50]: $ bundle exec fastlane android assemble
[17:33:50]: 
[17:33:50]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:33:52]: Installing Ruby gem 'fastlane-plugin-browserstack'...
[17:33:53]: Error loading plugin 'fastlane-plugin-browserstack': You don't have write permissions for the /var/lib/gems/3.0.0 directory.
[17:33:53]: Installing Ruby gem 'fastlane-plugin-increment_version_code'...
[17:33:53]: Error loading plugin 'fastlane-plugin-increment_version_code': You don't have write permissions for the /var/lib/gems/3.0.0 directory.
[17:33:53]: It seems like you wanted to load some plugins, however they couldn't be loaded
[17:33:53]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/
+----------------------------------------+-----------+------------------+
|                             Used plugins                              |
+----------------------------------------+-----------+------------------+
| Plugin                                 | Version   | Action           |
+----------------------------------------+-----------+------------------+
| fastlane-plugin-browserstack           | undefined | No actions found |
| fastlane-plugin-increment_version_code | undefined | No actions found |
+----------------------------------------+-----------+------------------+

[!] No actions were found while loading one or more plugins
    Please use `bundle exec fastlane` with plugins
    More info - https://docs.fastlane.tools/plugins/using-plugins/#run-with-plugins

.....

Could not find action, lane or variable 'upload_to_browserstack_app_live'. Check out the documentation for more details:

and I'm using this action:

uses: sparkfabrik/android-build-action@feature/fastlane_env_name