Skip to content

Conversation

@lucasfernog
Copy link
Member

@lucasfernog lucasfernog commented Aug 29, 2025

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-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Aug 29, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2025

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
Copy link
Contributor

velocitysystems commented Sep 9, 2025

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

Copy link
Member

@FabianLars FabianLars left a comment

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
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
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
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap Oct 8, 2025
@FabianLars
Copy link
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

Status: 🔎 In audit

Development

Successfully merging this pull request may close these issues.

[feat] Deploy standalone dev build using precompiled assets

4 participants