Categories
Mastering Development

In my react-native application I’m facing an error of > Task :app:mergeDexDebug FAILED

When I install @react-native-firebase/database, @react-native-firebase/app , @react-native-firebase/auth and @react-native-firebase/storage altogether, unistalling either one of them solves the issue but I don’t understand what’s going wrong otherwise as I have to use those packages. The package.json is as follows : { “name”: “ImageExample”, “version”: “0.0.1”, “private”: true, “scripts”: { “android”: “react-native run-android”, “ios”: “react-native run-ios”, “start”: […]

Categories
Mastering Development

React Native – Get an error when using a custom component that I made (Error: undefined Unable to resolve module

I made a custom component called “react-native-weekly-calendar”, and I’m trying to publish it to open source community, but I want to test it first. When I try to test it by npm install –save ../<component_name>, it throws an error. My directory structure: – react-native-weekly-calendar (folder) – index.js – package.json – src (folder) – Locale.js – […]

Categories
Mastering Development

Caused by: java.lang.Exception: Command `config` unrecognized

After Running Copied React-native project: Caused by: java.lang.Exception: Command config unrecognized. Make sure that you have run npm install and that you are inside a react-native project. I did npm install but it didn’t help. Package.json { “name”: “ProjectName”, “version”: “0.0.1”, “private”: true, “scripts”: { “android”: “react-native run-android”, “ios”: “react-native run-ios”, “start”: “react-native start”, “test”: […]