From ff69da4e9bcfb4e828ef9c8e2e099d0ce33a44e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hampus=20Sj=C3=B6berg?= Date: Thu, 15 Feb 2024 17:53:36 +0400 Subject: [PATCH] Fix formatting in build-steps-android-windows.md --- build-steps-android-windows.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build-steps-android-windows.md b/build-steps-android-windows.md index cd068693d..144ad0488 100644 --- a/build-steps-android-windows.md +++ b/build-steps-android-windows.md @@ -10,21 +10,21 @@ You can also install `OpenJDK` via `winget` instead of `chocolatey`. 0. Install using `npm install --legacy-peer-deps` and do not use `yarn`. Yarn/Babel has some insane [bug](https://github.com/babel/babel/discussions/16255). Don't forget to do `npm run gen-proto` too after you've installed the packages. 1. NativeBase expects UNIX-like environment for compiling assets. Make sure that `npm` uses `Git Bash` as the shell instead of `Windows Command Prompt`: -`npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"`. -Your path to `Git Bash` may be different, double-check the location. + `npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"`. + Your path to `Git Bash` may be different, double-check the location. -Alternative solution: + Alternative solution: -Apply our NativeBase patch in `package.json`: -`"native-base": "git+https://github.com/hsjoberg/NativeBase.git#e6ec53fd1f3242f4e3d6fdf619750a96e39537de",` + Apply our NativeBase patch in `package.json`: + `"native-base": "git+https://github.com/hsjoberg/NativeBase.git#e6ec53fd1f3242f4e3d6fdf619750a96e39537de",` 2. Download `protoc.exe` manually from https://github.com/protocolbuffers/protobuf/releases and link it via `path = ...` in `gradle.build` instead of `artifact` -https://github.com/hsjoberg/blixt-wallet/blob/7e21d898f0e76b19797b53907f029dba9b0bb767/android/app/build.gradle#L233-L235 + https://github.com/hsjoberg/blixt-wallet/blob/7e21d898f0e76b19797b53907f029dba9b0bb767/android/app/build.gradle#L233-L235 -The pre-compiled protoc binary from `com.google.protobuf:protobuf-gradle-plugin` is dependent on `libstdc++-6.dll` for whatever reason, making execution fail (unless you have it. I couldn't get it working). + The pre-compiled protoc binary from `com.google.protobuf:protobuf-gradle-plugin` is dependent on `libstdc++-6.dll` for whatever reason, making execution fail (unless you have it. I couldn't get it working). 3. Maybe needs attention: weird `react-native-reanimated` error https://github.com/software-mansion/react-native-reanimated/issues/5625 4. Might need to do `npm start -- --port 8082` if something is hogging the default Metro port `8081`. `Ctrl+M` inside Blixt in the emulator. Change metro server to `:8082`. -5. Happy Blixting! \ No newline at end of file +5. Happy Blixting!