I get an error when I try set a value for property with name >= 32 characters
adb shell setprop 01234567890123456789012345678901 VALUE
Erro
I also faced same problem. as the answer mentioned above it's not possible use the NAME which longer than 31. so i change package name to shorter than 31 and it works now.