Permission Denial: opening provider android.support.v4.content.FileProvider
问题 I was having some problem when trying to perform an application upgrade in Android emulator. The flow of the scenario is from an Activity, I will execute AsyncTask A which open up fragment A , then inside AsyncTask A , I will check if version upgrade is available. If available and user selected "Okay" from fragment A , I will proceed to AsyncTask B to open up fragment B which show a message to user saying that upgrading is in process. In AsyncTask B doInBackground() , I will execute the