Skip to content

feat(cli): add mobile run commands, closes #13196 - #14120

Merged
lucasfernog merged 10 commits into
devfrom
feat/mobile-run
Oct 8, 2025
Merged

feat(cli): add mobile run commands, closes #13196#14120
lucasfernog merged 10 commits into
devfrom
feat/mobile-run

Conversation

@lucasfernog

@lucasfernog lucasfernog commented Aug 29, 2025

Copy link
Copy Markdown
Member

similar to the dev command, but runs using the production bundle of the app

it is essentially a wrapper to the build command, but now it will

currently can be achieved with [android|ios] build --open and running from the IDE.

Edit by @FabianLars
fixes #13196

@lucasfernog
lucasfernog requested a review from a team as a code owner August 29, 2025 17:07
@github-actions

github-actions Bot commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

Package Changes Through d6455b5

There are 9 changes which include @tauri-apps/api with minor, tauri-cli with minor, tauri-utils with minor, tauri-runtime-wry with minor, tauri-runtime with minor, tauri with minor, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-macros with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.8.0 2.9.0
tauri-utils 2.7.0 2.8.0
tauri-bundler 2.6.1 2.7.0
tauri-runtime 2.8.0 2.9.0
tauri-runtime-wry 2.8.1 2.9.0
tauri-codegen 2.4.0 2.4.1
tauri-macros 2.4.0 2.4.1
tauri-plugin 2.4.0 2.4.1
tauri-build 2.4.1 2.4.2
tauri 2.8.5 2.9.0
@tauri-apps/cli 2.8.4 2.9.0
tauri-cli 2.8.4 2.9.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@velocitysystems

velocitysystems commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

This is awesome work @lucasfernog and will be really helpful for testing.
Fixes #13196.

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only skipped over the code but the command itself seems to work well for me on Windows->Android 👍

@FabianLars

Copy link
Copy Markdown
Member

actually, it fails to install the apk with the --release flag

adb.exe: failed to install A:\fabianlars\reactts\src-tauri\gen/android\app/build/outputs/apk/x86_64/release/app-x86_64-release-unsigned.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1520457498.tmp/base.apk: Attempt to get length of null array]

       Error failed to run Android app: Failed to install APK: command ["C:\\Users\\Fabian-Lars\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb", "-s", "emulator-5554"] exited with code 1

do i need to set up signing for release builds here as well?

@lucasfernog

Copy link
Copy Markdown
Member Author

debug builds are signed automatically by Android Studio. For release builds you indeed need to setup signing.

@lucasfernog
lucasfernog merged commit 75082cc into dev Oct 8, 2025
24 checks passed
@lucasfernog
lucasfernog deleted the feat/mobile-run branch October 8, 2025 10:58
@FabianLars

Copy link
Copy Markdown
Member

ah alright

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Deploy standalone dev build using precompiled assets

3 participants