Skip to content

Troubleshooting

terrylinla edited this page Jun 29, 2018 · 1 revision

Android

For newer Gradle versions

  • The project name '@terrylinla/react-native-sketch-canvas' contains at least one of the following characters: [ , /, , :, <, >, ", ?, *, |]. This has been deprecated and is scheduled to be removed in Gradle 5.0. Set the 'rootProject.name' or adjust the 'include' statement.

  • Unable to find module with Gradle path ':@terrylinla/react-native-sketch-canvas' (needed by module 'app'.)

    1. In settings.gradle, change
      include ':@terrylinla/react-native-sketch-canvas'
      project(':@terrylinla/react-native-sketch-canvas').projectDir = ...
      
      to
      include ':@terrylinla_react-native-sketch-canvas'
      project(':@terrylinla_react-native-sketch-canvas').projectDir = ...
      
    2. In app/build.gradle, change
      compile project(':@terrylinla/react-native-sketch-canvas')
      
      to
      compile project(':@terrylinla_react-native-sketch-canvas')
      
Clone this wiki locally