问题解决办法

1. 运行应用时模拟器直接黑屏:Emulator: glTexImage2D: got err

解决办法:

模拟器侧边栏 --> Settings --> Advanced`OpenGL ES Renderer`改为`SwiftShader ``OpenGL ES API level`改为`Renderer Maximum respectively`

参考:https://www.jianshu.com/p/4c523796c33d

2. oppo r16上运行直接闪退,:Android studio Didn't find class "com.xx.MainActivity" on path: DexPathList

解决方案:OPPO R15 不支持Instant Run,设置里取消

参考:https://blog.csdn.net/iblade/article/details/83150728

你可能感兴趣的:(问题解决办法)