由于taro开发时,rn端打包到expo软件中,无法直接查看源代码,而RN端与小程序等界面样式差异较大,有时候需要微调,这里推荐一款工具uiautomatorviewer,uiautomatorviewer是android-sdk自带的一款工具,所以首先去下载android-sdk,下载链接,如下图:
taro开发过程中,RN端的界面测试
下载对应的版本,解压后打开tools–bin–uiautomatorviewer.bat,双击运行,点击Device Screenshot,如果遇到unable toconnect to adb类似的错误,解决办法见链接

相关文章:

  • 2021-11-19
  • 2021-09-30
  • 2021-08-20
  • 2022-12-23
  • 2022-01-25
  • 2021-07-23
  • 2021-06-26
猜你喜欢
  • 2022-12-23
  • 2021-12-11
  • 2021-08-06
  • 2021-04-19
相关资源
相似解决方案