Fail to upload sketch to Nano board

I am a newbie. Please help.
My sketch to write on LCD compiles ok, but does not upload with Nano. I am using Arduino 1.8.5 and I am using LiquidCrystal.h library.

The error message I get is :

<C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Acer\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Acer\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path C:\Users\Acer\AppData\Local\Temp\arduino_build_122342 -warnings=none -build-cache C:\Users\Acer\AppData\Local\Temp\arduino_cache_418322 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Acer\Documents\Arduino\LCDandNANO\LCDandNANO.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Acer\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Acer\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path C:\Users\Acer\AppData\Local\Temp\arduino_build_122342 -warnings=none -build-cache C:\Users\Acer\AppData\Local\Temp\arduino_cache_418322 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Acer\Documents\Arduino\LCDandNANO\LCDandNANO.ino
Using board ‘nano’ from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core ‘arduino’ from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\sketch\LCDandNANO.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\sketch\LCDandNANO.ino.cpp” -o “nul”
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src\LiquidCrystal.cpp
Generating function prototypes…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\sketch\LCDandNANO.ino.cpp” -o “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\preproc\ctags_target_for_gcc_minus_e.cpp”
Compiling sketch…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs” “-IC:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\sketch\LCDandNANO.ino.cpp” -o “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\sketch\LCDandNANO.ino.cpp.o”
Compiling libraries…
Compiling library “LiquidCrystal”
Using previously compiled file: C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\libraries\LiquidCrystal\LiquidCrystal.cpp.o
Compiling core…
Using precompiled core
Linking everything together…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc” -w -Os -g -flto -fuse-linker-plugin -Wl,–gc-sections -mmcu=atmega328p -o “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342/LCDandNANO.ino.elf” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\sketch\LCDandNANO.ino.cpp.o” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342\libraries\LiquidCrystal\LiquidCrystal.cpp.o” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342/…\arduino_cache_418322\core\core_arduino_avr_nano_cpu_atmega328_0c812875ac70eb4a9b385d8fb077f54c.a” “-LC:\Users\Acer\AppData\Local\Temp\arduino_build_122342” -lm
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342/LCDandNANO.ino.elf” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342/LCDandNANO.ino.eep”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -R .eeprom “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342/LCDandNANO.ino.elf” “C:\Users\Acer\AppData\Local\Temp\arduino_build_122342/LCDandNANO.ino.hex”
Using library LiquidCrystal at version 1.0.7 in folder: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal
Sketch uses 1932 bytes (6%) of program storage space. Maximum is 30720 bytes.
Global variables use 93 bytes (4%) of dynamic memory, leaving 1955 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x47
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x47
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. >

In the "Tools" menu, set the Processor to "ATmega328 (Old Bootloader)"

Thank you Shannon, I already had configured ATmega328 for a Processor and Arduino ISP programmer with the same error. Any other help would highly appreciated.

From the output:

Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

it looks like ajbota is still using the 1.6.20 version of Arduino AVR Boards bundled with Arduino IDE 1.8.5. The Nano bootloader upgrade and the Tools > Processor > ATmega328P (Old Bootloader) option was added in Arduino AVR Boards 1.6.21, so I think this is a different issue.

UPDATE
Finally, Just figured out that all pins on the Lcd were connected on reverse. Deceived by the reverse labeling of the pins in the back of the board. Lcd works. Live and learn!
Thanks to all who tried to help.

Start searching the forum for "avrdude: stk500_recv(): programmer is not responding". It doesn't need to be specific to the Nano. You will find an enormous number of posts. Likely one of them will have an answer.

I had the same issue using the Web editor ie I could compile not download to the Nano ATmega328P!

I then downloaded the PC based IDE (1.8.5) and all was well...UNTIL I updated the drivers (following the link given in the IDE!) then I had the same problem again!

I would love to get the web tools working and understand why the IDE causes a fail! Is there an issue with the new drivers for the ATmega328P? I've seen this on two PCs running Windows 7.

Can get the local IDE to work by using the "ATmega328P (Old Bootloader)" option for the processor but the web app still doesn't work - I'm guessing that the part just isn't supported in the web?

Did you select "ATmega328old" in the Arduino Web Editor after selecting the "Arduino Nano" board?

As I noted earlier my issue has been resolved. Pins were initially all connected in reverse order. Deceived by the reverse labeling of the pins in the back of the board. Lcd works. Live and learn!
Thanks to all who tried to help.
Yes, I had always used the ATmega328P.