【问题标题】:Appcelerator: remote connect WebView to ChromeAppcelerator:将 WebView 远程连接到 Chrome
【发布时间】:2017-11-28 08:28:15
【问题描述】:
前段时间,我能够在 Chrome 中远程调试 webview 以调试 html 错误。但是现在,它在我的 Android 手机上不再工作了,我无法连接(在 Chrome 中:更多工具 > 开发人员工具 > 远程设备......我的远程设备显示“已连接”。
我在 tiapp.xml 中添加的行(以不同的组合):
假
真
【问题讨论】:
标签:
appcelerator
appcelerator-titanium
appcelerator-mobile
appcelerator-alloy
appcelerator-studio
【解决方案1】:
解决了这个问题。
在 tiapp.xml 中,这两个元素需要按以下顺序排列:
<application android:theme="@style/Theme.AppCompat.NoTitleBar"/>
<application android:debuggable="true"/>
...而不是:
<application android:debuggable="true"/>
<application android:theme="@style/Theme.AppCompat.NoTitleBar"/>
...在我看来是个错误。