解决AndroidStudio android:screenOrientation="portrait"爆红

AndroidStudio升级3.6.1后android:screenOrientation="portrait"爆红

解决方案

1.File->Setting->Editor->Inspections
2.Android->Lint->Chrome OS->
3."Activity is locked to an orientation"勾选去掉


图1.png

4.解决

你可能感兴趣的:(解决AndroidStudio android:screenOrientation="portrait"爆红)