Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Issue with --android-artifact apk Argument in Shorebird Release After Upgrading to Version 1.1.0 #2070

Closed
JedTsai33 opened this issue May 10, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@JedTsai33
Copy link

Description

After upgrading to version 1.1.0, the --artifact option has been changed to --android-artifact. However, when using the command shorebird release android --android-artifact apk, an error occurs stating "Invalid argument(s): Could not find an option named 'split-per-abi'." When using shorebird release android --android-artifact aab, the package is built successfully. Could you suggest any solutions to resolve the error occurring with the --android-artifact apk argument?

@JedTsai33 JedTsai33 added the bug Something isn't working label May 10, 2024
@thousmile
Copy link

I also encountered such a situation

PS D:\code\FlutterProjects\flutter_demo_1> shorebird release android --android-artifact apk --release-version 1.0.1
Invalid argument(s): Could not find an option named "split-per-abi".

If you aren't sure why this command failed, re-run with the --verbose flag to see more information.

You can also file an issue if you think this is a bug. Please include the following log file in your report:
C:\Users\molly\AppData\Roaming\shorebird\logs\1715343825651_shorebird.log

PS D:\code\FlutterProjects\flutter_demo_1>

@eseidel
Copy link
Contributor

eseidel commented May 10, 2024

The change to --android-artifact was an error, which will be fixed in 1.1.1 in a few minutes.

@eseidel
Copy link
Contributor

eseidel commented May 10, 2024

--artifact support should be restored now in 1.1.1.

@eseidel
Copy link
Contributor

eseidel commented May 10, 2024

shorebird does not support --split-per-abi, but the --artifact error should now be gone. Let us know if that's not the case.
#1255

@JedTsai33
Copy link
Author

Upgrading to version 1.1.2, testing can now generate apk using --artifact. Thank you for your assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants