Tuesday, 26 April 2016

how to start mongodb server in windows

Steps to start mongodb server in windows
1. Open the command prompt
2. Open the directory where you have installed mongodb
3. Suppose you have installed mongodb in 'D' drive. open the directory upto bin folder
4. D:\>cd mongo\bin will take to bin directory.
5. Now run the mongo db server using command D:\mongo\bin>mongod --dbpath d:\mongo\data

 done, server will start. if not please check the command again and path where you installed  mongodb.

thankyou


Wednesday, 6 April 2016

AAPT err: ERROR: Unable to open PNG file Android

hello
sometimes you will get error like unable to open png files in android studio. it is because your project path is lengthy. it should kept as short as possible. this error will resolve after you path reduced to short.
thanku
mithun

Saturday, 2 April 2016

How to get SHA1 fingerprint for android

step 1: open command prompt
step 2:open the directory where you have installed jdk
C:\Program Files\Java\jdk1.8.0_60\bin
step 3: type command "keytool -list -v -keystore c:\users\UserName\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android"

the word in bold font UserName should be replaced by user name of computer or os.

sterp 4: press enter. there you go you will get SHA1 fingerprint for android