Android 第三方插件使用注意事项(更新中~~)

 

ARouter篇

1、 Android studio 、5.0以上版本,打开instant run功能时:

Android Studio使用了 instant run ,ARouter的跳转会失效,这种情况下我们需要开init之前,调用openDebug。

ARouter.openDebug()只是将debuggable这个标记置为了true  ,仅限于debug环境,正式版本有安全风险,不建议标记;

 

AppUpdate篇

https://github.com/WVector/AppUpdate

1、 修改下载dialog头图

setTopPic(R.mipmap.update_head)

图片格式, 450x204     位置  mipmap-hdpi 下。 放在其他位置可能导致dialog显示问题,如宽度过小。

你可能感兴趣的:(Android,第三方插件)