Blog icon indicating copy to clipboard operation
Blog copied to clipboard

Android requestPermission PackageManager.NameNotFoundException

Open alwaystest opened this issue 7 years ago • 0 comments

Android requestPermission PackageManager.NameNotFoundException

标签(空格分隔): Android Permission


父类BaseActivity中调用customMeshod()然后requestPermission(...),然而子类XXXActivity中Override了customMethod,在customMethodfinish(),就会导致申请权限的时候发生PackageManager.NameNotFoundException

如果不是关掉Logcat的Filter,还真不好发现这个问题。

alwaystest avatar May 01 '17 14:05 alwaystest