Is it possible to as Tauri to build only to a specific architecture for android? #10511
-
I want to make tests in the final build of the app sometimes, but have to wait Tauri to build all the architectures it has listed (i.e: i686, x86_64, aarch64, armv7, etc). But I want to test only on my phone, that is an armv7. Is there any CLI options to tell Tauri to build only armv7? I tried `npm run tauri android build --target=armv7`` but this doesn't work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
npm needs another Edit: Forget the extra -- lol |
Beta Was this translation helpful? Give feedback.
Oh, after trying some dumb ways to pass the target option, I was able to compile only one platform by doing:
npm run tauri android build -- -- --target armv7
I had to duplicate the double dash. That's weird.