Including Arduino libraries together with private libraries [solved]

  1. I don’t recommend to use libraries installed by Arduino IDE. Please use our Library Manager
  2. Nevertheless, if you need them, please remove lib_dir=~\Documents\Arduino\libraries line from [platformio] and use lib_extra_dirs instead. For example.
[env:myenv]
lib_extra_dirs = ~\Documents\Arduino\libraries