Expecting 'android:screenOrientation=“unspecified”' or '“fullSensor”' for this activity

后端 未结 4 1290
走了就别回头了
走了就别回头了 2020-12-20 10:38

I upgraded my Android Studio to 3.6.0. Now, I get the following error in my Manifest.xml file.

Expecting \'android:screenOrientation=\"un

4条回答
  •  佛祖请我去吃肉
    2020-12-20 11:15

    If you use portrait orientation just so you don't have to use Bundle to store data, please learn how to use Bundle. It is a hacky way of not having to use Bundle, but believe me this doesn't solve all your problems. Sorry if i am wrong, but i thought that by setting screen orientation is a great workaround. It just brings more problems in long run

提交回复
热议问题