我使用的是反射方法freeStorageAndNotify:MethodfreeStorageAndNotify=null;freeStorageAndNotify=service.packageManager.getClass().getMethod("freeStorageAndNotify",long.class,IPackageDataObserver.class);freeStorageAndNotify.invoke(PackageManager.class,maxCache+freeSpace,packageDataObserver);这会导致InvocationTarg
我使用的是反射方法freeStorageAndNotify:MethodfreeStorageAndNotify=null;freeStorageAndNotify=service.packageManager.getClass().getMethod("freeStorageAndNotify",long.class,IPackageDataObserver.class);freeStorageAndNotify.invoke(PackageManager.class,maxCache+freeSpace,packageDataObserver);这会导致InvocationTarg