Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang111 authored May 14, 2019
1 parent 1b2c1ef commit c85f25a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ Android{

注意:在gradle版本3.1.0之后dex编译采用D8,可能会导致这种分包不成功。将gradle的版本降到3.0.0之后,分包成功。另外也可以采用gradle3.1.0或者以上的版本,然后将项目的gradle配置为android.enableD8=false //暂时关闭 即可

* 高版本android中,可以使用Application启动Activity并且不设置FLAG,但在低版本中必须要设置FLAG,所以建议大家使用application的context去startActivity的时候添加FLAG_ACTIVITY_NEW_TASK


#### 摘自[如下地址](https://github.com/jiang111/awesome-android-tips/blob/master/Authors.md)
Expand Down

0 comments on commit c85f25a

Please sign in to comment.