react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

[Android][Windows][New Architecture][build release] Invalid character escape '\m'

Open alabsi91 opened this issue 3 years ago • 3 comments

Description

  CMake Error at D:/myproject/android/app/build/generated/rncli/src/main/jni/Android-rncli.cmake:6 (add_subdirectory):
    Syntax error in cmake code at

      D:/myproject/android/app/build/generated/rncli/src/main/jni/Android-rncli.cmake:6

    when parsing string

      D:\myproject\node_modules\react-native-gesture-handler\android\build\generated\source\codegen\jni\ rngesturehandler_codegen_autolinked_build

    Invalid character escape '\m'.
  Call Stack (most recent call first):
    D:/myproject/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:59 (include)
    CMakeLists.txt:7 (include)

Steps to reproduce

  • build release for android on a Windows machine.

Snack or a link to a repository

https://snack.expo.io/

Gesture Handler version

2.7.0

React Native version

0.70.2

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Release mode

Device

No response

Device model

No response

Acknowledgements

Yes

alabsi91 avatar Oct 05 '22 13:10 alabsi91

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar Oct 05 '22 13:10 github-actions[bot]

image

alabsi91 avatar Oct 05 '22 13:10 alabsi91

This error comes from files that are autogenerated by React Native. I don't think I will be able to help much here but you should consider opening an issue in the react-native repo.

j-piasecki avatar Oct 05 '22 13:10 j-piasecki