I also encountered this problem, the code is fine, just switch the version to 7.0 and it will be fine
I also encountered this problem, the code is fine, just switch the version to 7.0 and it will be fine