Nexus 5 GApps crashing after installing wrong GApps I tried installing gapps for my phone with cyanogenmod but I installed one for Kitkat and not lollipop.

Now my phone acts all weird and nothing can be done on it, especially when it keeps saying Unfortunately Android Keyboard (AOSP) stopped working.

My computer also stopped recognizing my phone so I'm in deep trouble.

Any tips on what I should do?
You can go back in recovery by pressing and holding Volume+Up buttons.

Then in recovery wipe cache, dalvic cache, system and reinstall ROM and correct GApps.

Now if you have ROM and GApps inside the phone its fine. Else you may have to use ADB if your PC doesnt recognize the phone.


Set up ADB using link above and download both ROM and GApps in your pc. 
Restart phone in recovery mode.
Connect phone to PC. Open CMD and run these commands->


adb push Path_to_ROM_File_and_Name.zip /sdcard/

adb push Path_to_GApps_and_FileName.zip /sdcard/


These commands will transfer both ROM and GApps to your phone which you can normally install after wiping cache, dalvic cache, system (as already told above).


Hope this helps.