Comments (13)
那就是我发现的问题,感谢反馈。已经更新新版本麻烦在帮忙测试看看
from app-info.
ios项目可以, flutter同时打android和ios包, android获取版本信息失败,我感觉是因为包不在android工程目录下,而ios的包在ios工程目录下
from app-info.
难道需要我复制一个包到android目录下 只为解析信息?@icyleaf
from app-info.
没有做过 flutter,请问 flutter 的输出目录在哪里?
你可以通过手动设置参数:
app_info(file: '')
from app-info.
而且这个大概率是 fastlane-plugin-app_info 的问题,请在那边提 issue 😆
from app-info.
是的 fastlane-plugin-app_info 的 指定了包路径了 就是因为包在的路径不是工程路径 输出在根目录build/app/outputs/apk 在android工程外面
from app-info.
这个不属于 bug,自定义的项目用自定义的路径
from app-info.
自定义路径了啊,因为不在工程目录报错啊 您可以测试一下, 以后Flutte也是主流,这个目录是flutter标准目录
from app-info.
我感觉android解析不只是需要apk包 还依赖android工程目录的相关文件@icyleaf
from app-info.
我找了一个 flutter 的 apk 貌似有些线索了,能把你第一个图中 fastlane finished with errors
后面以文本的形式粘贴过来吗?
from app-info.
重新复现了异常 @icyleaf
18:23:09 +-------------------------------------------+---------+---------------------------------------------+
18:23:09 | Used plugins |
18:23:09 +-------------------------------------------+---------+---------------------------------------------+
18:23:09 | Plugin | Version | Action |
18:23:09 +-------------------------------------------+---------+---------------------------------------------+
18:23:09 | fastlane-plugin-huawei_appgallery_connect | 1.0.15 | huawei_appgallery_connect_submit_for_review |
18:23:09 | | | huawei_appgallery_connect |
18:23:09 | | | huawei_appgallery_connect_get_app_info |
18:23:09 | fastlane-plugin-fir_cli | 2.0.12 | fir_cli |
18:23:09 | fastlane-plugin-versioning_android | 0.1.0 | android_get_version_name |
18:23:09 | | | android_set_version_code |
18:23:09 | | | android_set_version_name |
18:23:09 | | | android_get_version_code |
18:23:09 | fastlane-plugin-badge | 1.5.0 | add_badge |
18:23:09 | fastlane-plugin-app_info | 0.4.1 | app_info |
18:23:09 +-------------------------------------------+---------+---------------------------------------------+
18:23:09
18:23:09 [18:23:09]: ------------------------------
18:23:09 [18:23:09]: --- Step: default_platform ---
18:23:09 [18:23:09]: ------------------------------
18:23:09 [18:23:09]: Driving the lane 'get_app_info' 🚀
18:23:09 [18:23:09]: 获取App信息
18:23:09
18:23:09 [18:23:09]: ----------------------
18:23:09 [18:23:09]: --- Step: app_info ---
18:23:09 [18:23:09]: ----------------------
18:23:09 +------------------+--------------+
18:23:09 | Lane Context |
18:23:09 +------------------+--------------+
18:23:09 | DEFAULT_PLATFORM | android |
18:23:09 | PLATFORM_NAME | |
18:23:09 | LANE_NAME | get_app_info |
18:23:09 +------------------+--------------+
18:23:09 [18:23:09]: Android::NotFoundError
18:23:09
18:23:09 +------+------------------+-------------+
18:23:09 | fastlane summary |
18:23:09 +------+------------------+-------------+
18:23:09 | Step | Action | Time (in s) |
18:23:09 +------+------------------+-------------+
18:23:09 | 1 | default_platform | 0 |
18:23:09 | 💥 | app_info | 0 |
18:23:09 +------+------------------+-------------+
18:23:09
18:23:09 [18:23:09]: fastlane finished with errors
18:23:09
18:23:09 Looking for related GitHub issues on fastlane/fastlane...
18:23:09
18:23:10 Found no similar issues. To create a new issue, please visit:
18:23:10 https://github.com/fastlane/fastlane/issues/new
18:23:10 Run `fastlane env` to append the fastlane environment to your issue
18:23:10 /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:196:in `res_hex_id': [!] Android::NotFoundError (Android::NotFoundError)
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:175:in `strid2int'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:131:in `find'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:481:in `find'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/app-info-2.4.3/lib/app_info/apk.rb:51:in `name'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:42:in `block in common_columns'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:40:in `each'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:40:in `each_with_object'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:40:in `common_columns'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:36:in `table_columns'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:27:in `print_table!'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:17:in `run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:229:in `chdir'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
18:23:10 from ../GeneralFastfile:35:in `block in parsing_binding'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/lane.rb:33:in `call'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/bin/fastlane:23:in `<top (required)>'
18:23:10 from /usr/local/bin/fastlane:23:in `load'
18:23:10 from /usr/local/bin/fastlane:23:in `<main>'
18:23:10 /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:196:in `res_hex_id': Android::NotFoundError (Android::NotFoundError)
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:175:in `strid2int'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:131:in `find'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/ruby_android_apk-0.7.7.1/lib/android/resource.rb:481:in `find'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/app-info-2.4.3/lib/app_info/apk.rb:51:in `name'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:42:in `block in common_columns'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:40:in `each'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:40:in `each_with_object'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:40:in `common_columns'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:36:in `table_columns'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:27:in `print_table!'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-app_info-0.4.1/lib/fastlane/plugin/app_info/actions/app_info_action.rb:17:in `run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:229:in `chdir'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
18:23:10 from ../GeneralFastfile:35:in `block in parsing_binding'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/lane.rb:33:in `call'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in `take_off'
18:23:10 from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.180.1/bin/fastlane:23:in `<top (required)>'
18:23:10 from /usr/local/bin/fastlane:23:in `load'
18:23:10 from /usr/local/bin/fastlane:23:in `<main>'
from app-info.
@icyleaf 可以了 谢谢了
from app-info.
@icyleaf 可以了 谢谢了
from app-info.
Related Issues (17)
- App validation using file extension? HOT 1
- CFBundleDisplayName can't handle UTF-8 HOT 3
- Reduce namespace
- Failure to get iOS dSYM binary file in alpine OS HOT 1
- 不支持苹果M1芯片? HOT 14
- incompatible character encodings: UTF-8 and ASCII-8BIT HOT 10
- /var/lib/gems/2.7.0/gems/app-info-2.5.4/lib/app_info.rb:30:in `parse': app_info.txt (AppInfo::NotFoundError) HOT 10
- Android aab format support HOT 22
- How to clear tmp folder after ipa parsing HOT 1
- Cannot read mobileprovision on Ubuntu 18.04 HOT 1
- ERROR: While executing gem ... (Gem::FilePermissionError) HOT 21
- rails 5.2.3 ios app parsing release type set to nil HOT 6
- Undefined method `to_sym' for nil:NilClass HOT 10
- [BUG] Missing version constrains on dependencies HOT 3
- App name and icons not parsed from universal apk HOT 1
- DSYM format support HOT 1
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 app-info.