在我的媒体记录器应用程序中,我有
CamcorderProfile cp480=CamcorderProfile.get(CamcorderProfile.QUALITY_QVGA);
recorder.setProfile(cp480);
它在 API 级别 15 上运行良好,但对于 API 16,cp480
它是一个NullPointerException
. 有谁知道果冻豆的哪些变化可能导致这种情况?
在我的媒体记录器应用程序中,我有
CamcorderProfile cp480=CamcorderProfile.get(CamcorderProfile.QUALITY_QVGA);
recorder.setProfile(cp480);
它在 API 级别 15 上运行良好,但对于 API 16,cp480
它是一个NullPointerException
. 有谁知道果冻豆的哪些变化可能导致这种情况?