react-native-ultimate-config icon indicating copy to clipboard operation
react-native-ultimate-config copied to clipboard

Could not set unknown property 'classifier' for task

Open Rossella-Mascia-Neosyn opened this issue 11 months ago • 0 comments

Describe the bug

image

When start for android i have this error

Steps to Reproduce

run this command echo "STORYBOOK=true" > .env && yarn rnuc .env && yarn android && echo "STORYBOOK=false" > .env && yarn rnuc .env

Expected behavior

I wish the application works normally

Stacktraces, logs, screenshots

Post stacktraces, logs or screenshots. The more information is available is better.

Environment

Integration option

  • [x] I am using rnuc CLI to inject environment (default integration option from quickstart guide)
  • [ ] I am using scheme/flavor based integration (experimental integration option from cookbook: scheme, flavors)
  • [ ] I am using react-native-ultimate-config within monorepo managed with Lerna or Yarn Workspaces Monorepo support

Env file

  • [x] I am using dotenv file as a source for variables
  • [ ] I am using YAML file as a source for variables

Example of env file that is causing problems

❗PROVIDE EXAMPLE OF ENV FILE

STORYBOOK=true

OS

  • [ ] ios
  • [x] android

Packages

  • version of react-native: 0.72.3
  • version of react-native-ultimate-config: 6.0.0

Run react-native info and post below:

System: OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish) CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Memory: 3.19 GB / 15.32 GB Shell: version: 5.8.1 path: /usr/bin/zsh Binaries: Node: version: 18.17.0 path: ~/.nvm/versions/node/v18.17.0/bin/node Yarn: version: 1.22.19 path: ~/.nvm/versions/node/v18.17.0/bin/yarn npm: version: 9.6.7 path: ~/.nvm/versions/node/v18.17.0/bin/npm Watchman: Not Found SDKs: Android SDK: API Levels: - "23" - "28" - "31" - "32" - "33" Build Tools: - 28.0.3 - 30.0.2 - 30.0.3 - 31.0.0 - 33.0.0 - 33.0.2 System Images: - android-30 | Google Play Intel x86 Atom - android-31 | Intel x86_64 Atom - android-31 | Google Play Intel x86_64 Atom - android-33 | Google Play Intel x86_64 Atom Android NDK: Not Found IDEs: Android Studio: Not Found Languages: Java: version: 11.0.20 path: /usr/bin/javac Ruby: Not Found npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.3 wanted: 0.72.3 npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: Not found

Additional context

Add any other context about the problem here.

Rossella-Mascia-Neosyn avatar Aug 07 '23 10:08 Rossella-Mascia-Neosyn