0%

关于Tauri打包在安卓上的一些问题

Tauri给出的打包办法

Tauri 自己给开发者提供的打包方法并没有写的很清楚 Tauri 给出的打包办法

具体内容:

Build APKs

The AAB format is the recommended bundle file to upload to Google Play, but it is also possible to generate APKs that can be used for testing or distribution outside the store. To compile APKs for your app you can use the argument:–apk

npm
npm run tauri android build – –apk

Architecture selection

By default Tauri builds your app for all supported architectures (aarch64, armv7, i686 and x86_64). To only compile for a subset of targets, you can use the argument:–target

npm
npm run tauri android build – –aab –target aarch64 –target armv7

是不是感觉无从下手?没错,主播也找了大半天文档中没给出任何信息,在网上搜索也没查到有什么人能给出解决方案