How to install heltec wifi kit 32 library in VS code + platformio

Hi all
This is Gopal.
Now I am developing the Heltec wifi kit 32 v2 on the VS code + platformio.
Before I used the Arduino IDE to develop the firmware and it worked well.
And for now, I moved to VS code, so here there is a problem.
So if I use the default library of the platformio to build the bin file, the output bin file size was different compared to the output of the Arduino IDE and the working result was not same, that is, its working was not stable.
So I think I have to install the Heltec wifi kit library as I did in the Arduino IDE.
So I tried to install it on the platformio of VS code but I did not succeed.
I added the following lines into theplatform.ini file.

platform_packages =
  framework-arduinoespressif32 @ https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git

But it did not work for me.

So I added the following ones again.

lib_deps = https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git, https://github.com/HelTecAutomation/Heltec_ESP32.git

But it did not work either.
And I looked at this URL.

But I can not know how to install the library in platformio.
I know I have to install the heltec wifi kit 32 library in VS code.
So I need to do it really, but I can’t.
So could you explain in details how to install it on platformio?

(This did not work at all. in fact, the output bin file size is different and the working result is not same. So I think I need to install the heltec wifi kit 32 library and use it as I did in the Arduino IDE.)
[env:heltec_wifi_kit_32_v2]
platform = espressif32
board = heltec_wifi_kit_32_v2
framework = arduino
lib_extra_dirs = ~/Documents/Arduino/libraries
upload_speed = 921600
monitor_speed = 115200
monitor_filters = time

Many thanks.
Gopal.

i have the same problem, can anyone help? when adding manually the library through the github link it gets rejected because one of the sumbodules LittleFS is pointing to an empty repository