Android Question Manifest read-only

Discussion in 'Android Questions' started by MarcoRome, Feb 20, 2015.

  1. MarcoRome

    MarcoRome Expert Licensed User

    Hi all.
    Strange thing happened.
    While removing the manifest permission:
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    and protecting the same read-only, when i compile and create the file AndroidManifest-Example.xml reports the same permission. The code is not changed anything (I fixed some ToastMessage). Until two days ago on the same app that did not happen.
    Any idea?
  2. NJDude

    NJDude Expert Licensed User

    You should not set the manifest as READ ONLY, if you don't want that permission then remove it using the Manifest Editor (RemovePermission).

    The option to set the manifest as read only has been left there for compatibility purposes, but it should not be used anymore, the proper way now is by using the Manifest editor.
    Erel, DonManfred, lemonisdead and 2 others like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice