Skip to content

Wrong paths for android ProjectConfig #1083

Closed

Description

@yoerivdm

Environment

System:
OS: Windows 10 10.0.18363
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 16.34 GB / 31.95 GB
Binaries:
Node: 13.9.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Version 3.6.0.0 AI-192.7142.36.36.6241897
Languages:
Python: 2.7.17 - C:\Python27\python.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found

Description

react-native link not working because of wrong paths for project.android.stringsPath and mainFilePath

See ReactNative issue report for additional info.

Reproducible Demo

Create new project (RN0.62) and link a library

Activity

  1. thymikee commented on Mar 29, 2020

    @thymikee
    Member

    Likely fixed by #1080. Can you verify? (we'll publish later today or tomorrow)

  2. yoerivdm commented on Mar 29, 2020

    @yoerivdm
    Author

    Looks good ... kind of misleading variable name: appName in the pull request.
    I wasn't sure but after looking into the getAppName function it looks ok, it should return 'app' in most cases :-).

    Thanks!

  3. thymikee commented on Mar 30, 2020

    @thymikee
    Member

    Published v4.5 with a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions