我如何在“adb shell setprop”中传递属性长度限制

时间:2018-04-18 23:56:30

标签: android system

当我尝试为andriod 6.00设置系统属性时,我收到了此消息。我知道不接受超过32个字符,但我需要绕过这个限制。我的实验应该使用任意长度的应用名称。

     $ setprop com.example.shalidalkhaffabi.headerparser LD_PRELOAD=/data/local/tmp/libpreload.so

按Enter后我得到了:

      setprop: name 'com.example.shalidalkhaffabi.headerparser' too long; try 'com.example.shalidalkhaffabi.he'

任何想法?

1 个答案:

答案 0 :(得分:-3)

How can I overcome the property length limitation of the "adb shell setprop"重复。

简短的回答:在使用Android O之前,您不能这样做。该限制已在Android O中删除。