这是我的车道
lane :alpha do
begin
version_code = increment_version_code(
gradle_file_path: "./app/build.gradle"
)
gradle(task: "clean assembleRelease --info")
supply(
track: "alpha",
apk: "#{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]}"
)
git_commit(
path: "./app/build.gradle",
message: "Fastlane Android: Release new build #{version_code} [ci skip]"
)
on_success()
rescue => exception
on_error(exception)
end
end
在本地计算机上,gradle可以完美工作,并且构建已创建且供应成功完成。在Bitrise上,我有此错误:
FAILURE: Build failed with an exception.
[13:58:23]: ▸ * What went wrong:
[13:58:23]: ▸ Execution failed for task ':app:bundleReleaseJsAndAssets'.
[13:58:23]: ▸ > Could not list contents of '/bitrise/src/node_modules/metro/node_modules/jest-haste-map/node_modules/.bin/sane'. Couldn't follow symbolic link.