public void showPopup(int group,int img_index,JSONArray json_ar,View v){ PopupMenu pm=new PopupMenu(EditPhotosActivity.this,v); pm.getMenuIn
I had the same issue when creating PopupMenu. I determined that PopupMenu was using:
import android.support.v7.widget.PopupMenu;
The fix was to edit it to:
import android.widget.PopupMenu;