-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13.1
Node: 8.7.0
Yarn: 1.2.1
npm: 5.4.2
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.4 => 0.50.4
Steps to Reproduce
react-native init example && cd example
yarn add @0x5e/react-native-alipay
react-native link
- Open Android Studio 3.0, import
android
folder - Press
Sync Project with Gradle Files
button
Expected Behavior
Gradle Sync Success
Actual Behavior
Gradle Sync Failure
Missing Dependencies
Error:Unable to find module with Gradle path ':@0x5e/react-native-alipay' (needed by module 'app'.)
Reproducible Demo
react-native init example
can reproduces this issue.
PS
- Android Studio 2.x don't have this problem.
- If I rename the project
:@0x5e/react-native-alipay
to:react-native-alipay
inandroid/settings.gradle
andandroid/app/build.gradle
, gradle sync will success. - Shall we change the module name from
:@username/project-name
to:@username:project-name
duringreact-native link
? See this: https://docs.gradle.org/4.2/release-notes.html#path-separator-characters-in-names-are-deprecated
Phenek, slek22, lucasbento, Titozzz, bighitbiker3 and 1 more
Metadata
Metadata
Assignees
Labels
Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.