dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.62k stars 347 forks source link

Fix Error when Preceding text comes before XML Layout #83

Closed Fuzion24 closed 10 years ago

Fuzion24 commented 10 years ago

Using the emulator, the xml was being prefixed with a warning. This is quick hack to fix that.

ERROR: Offending XML: u'WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.\r\n<?xml version=\'1.0\'

Fuzion24 commented 10 years ago

I didn't really look into how the receivedXml was being generated, maybe there is a better way to fix the warning from being prepended at that point.