Skip to content

Instantly share code, notes, and snippets.

View RidaRidss's full-sized avatar
🎯
Focusing

Rida Sarwar RidaRidss

🎯
Focusing
View GitHub Profile
@RidaRidss
RidaRidss / Solution for no such file or directory, uv_chdir.md
Created October 26, 2017 06:36
Got an Error : ENOENT: no such file or directory, uv_chdir when building react-native on IOS
This error means it can't find any ios files to build. just follow these steps

1. Be sure ios directory is exist in your app.

2. Be sure Xcode bundle identifier is not renamed.

Xcode > yourproject > General > Bundle Identifier

3. Remove & Clean build and emulator cache

Xcode > yourproject > product > Clean

@RidaRidss
RidaRidss / Solution for Apple Match-O Linker Error.md
Last active October 26, 2017 08:08
Got an Error : Apple Match-O Linker Error when react-native building on iOS
@RidaRidss
RidaRidss / Error: "CFBundleIdentifier", Does Not Exist.md
Created October 20, 2017 09:27
Got an error? after run react-native run-ios ? ":CFBundleIdentifier", Does Not Exist
run below command :
react-native upgrade

Node.js

note :click on below link , install
https://nodejs.org/dist/v6.11.4/node-v6.11.4.pkg    
open terminal and run below commands
cd ~

npm update

Redux

it is an state container for ( Javascript app ) "React Native" ,This work flow will be followed where(On which view/screen) we need to retrieve data

Redux Actions

it is based on actions(states) for that particular view's data requirement 

Implementation (states), we will update these states(actions.js) later with our api {actions.js}

function getData() {

return {

@RidaRidss
RidaRidss / React Native Commands.md
Last active October 10, 2017 11:09
Use command while working on React Native

Install React Native globally in system

npm install -g react-native-cli

sudo npm install -g create-react-app

Build New Project

react-native init new-app
@RidaRidss
RidaRidss / Android Studio after installation got an error.md
Last active October 7, 2017 09:46
Error : Unable to run mksdcard SDK tool

Install Yum

        sudo apt-get install yum*

      2.  Run

        sudo yum install compat-libstdc++-296.i686 compat-libstdc++-33.i686 ncurses-libs.i686 compat-libstdc++-33.x86_64
  1. Finish
1. Set path for Java Home using terminal

    1. export JAVA_HOME=/usr/lib/jvm/java-8-openjdk

    2. export PATH=$PATH:/usr/lib/jvm/java-8-openjdk/bin



2. check version
@RidaRidss
RidaRidss / Android_Home path set using terminal on ubuntu.md
Last active October 7, 2017 09:48
Set Android Studio path On Ubuntu

Set Android Home path in system

      First open .bashrc file which is exist in Home folder in your system

        1.  Open Home Folder , press Ctrl+h then .bashrc will be enable in the folder.


                                      OR

By using terminal , Run below command , you will be enable the file

@RidaRidss
RidaRidss / HAXM not found error solution on Ubuntu.md
Last active October 7, 2017 09:49
HAXM is not available after installation , try this process :

Change BIOS setting

restart PC and press F10
=> Security => System Security => Virtualization Technology => Enable 
=> Security => System Security => Virtualization Technology Direction => Enable

press F10 for save setting and restart PC