heap / react-native-heap

A React Native integration for Heap
MIT License
82 stars 36 forks source link

Android build fails with error "The project name must not contain..." #381

Open MarkPare opened 1 year ago

MarkPare commented 1 year ago

Running react-native@0.63.3, trying to install and run @heap/react-native-heap@0.22.2, followed instructions here, but getting below error when trying to build and run app:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':@heap/react-native-heap'.
> The project name '@heap/react-native-heap' must not contain any of the following characters: [/, \, :, <, >, ", ?, *, |]. Set the 'rootProject.name' or adjust the 'include' statement (see https://docs.gradle.org/6.5/dsl/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).

I haven't had luck resolving it and kind of hit a dead end. Any tips are appreciated!

Also contacted heap support, case number is #26461.

vegantech commented 1 year ago

@MarkPare Did you hear anything useful from heap support? I'm seeing the same issue.