无法上传aab / apk与Fastlane一起玩商店

时间:2019-11-13 22:30:33

标签: android google-play fastlane

我有一个要使用Fastlane上传到Play商店的android应用程序。当我使用命令上载fastlane internal时,出现以下错误:

28 $ fastlane internal
29 [19:55:02]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
30 [19:55:02]: Sending anonymous analytics information
31 [19:55:02]: Learn more at https://docs.fastlane.tools/#metrics
32 [19:55:02]: No personal or sensitive data is sent.
33 [19:55:02]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
34 [19:55:02]: ---------------------------
35 [19:55:02]: --- Step: opt_out_usage ---
36 [19:55:02]: ---------------------------
37 [19:55:02]: Disabled upload of used actions
38 [19:55:02]: ------------------------------
39 [19:55:02]: --- Step: default_platform ---
40 [19:55:02]: ------------------------------
41 [19:55:02]: Driving the lane 'android internal' ?
42 [19:55:02]: ----------------------------------
43 [19:55:02]: --- Step: upload_to_play_store ---
44 [19:55:02]: ----------------------------------
45 +-------------------------+-----------------------------------------------+
46 |                       Summary for supply 2.135.2                        |
47 +-------------------------+-----------------------------------------------+
48 | track                   | internal                                      |
49 | apk                     | app/build/outputs/apk/release/app-release.apk |
50 | package_name            | com.myapp.andriod                       |
51 | release_status          | completed                                     |
52 | json_key                | /play-store-config.json                       |
53 | skip_upload_apk         | false                                         |
54 | skip_upload_aab         | false                                         |
55 | skip_upload_metadata    | false                                         |
56 | skip_upload_changelogs  | false                                         |
57 | skip_upload_images      | false                                         |
58 | skip_upload_screenshots | false                                         |
59 | validate_only           | false                                         |
60 | check_superseded_tracks | false                                         |
61 | timeout                 | 300                                           |
62 | deactivate_on_promote   | true                                          |
63 +-------------------------+-----------------------------------------------+
64 +------------------+------------------+
65 |            Lane Context             |
66 +------------------+------------------+
67 | DEFAULT_PLATFORM | android          |
68 | PLATFORM_NAME    | android          |
69 | LANE_NAME        | android internal |
70 +------------------+------------------+
71 [19:55:02]: Google Api Error: applicationNotFound: No application was found for the given package name. - No application was found for the given package name.
72 +------+----------------------+-------------+
73 |             fastlane summary              |
74 +------+----------------------+-------------+
75 | Step | Action               | Time (in s) |
76 +------+----------------------+-------------+
77 | 1    | opt_out_usage        | 0           |
78 | 2    | default_platform     | 0           |
79 | ?   | upload_to_play_store | 0           |
80 +------+----------------------+-------------+
81 [19:55:02]: fastlane finished with errors
82 [!] Google Api Error: applicationNotFound: No application was found for the given package name. - No application was found for the given package name.
86 ERROR: Job failed: command terminated with exit code 1

此问题的一般解决方法是在Play控制台中创建项目,然后手动上传APK。我已经通过手动上传APK在Play控制台中创建了该应用程序,但仍然遇到相同的错误。

0 个答案:

没有答案