GTS 3.0_r2 在android KK上 com.google.android.xts.media.MediaDrmTest fail
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
GTS 3.0_r2 在android KK上运行时会报如下错误:
com.google.android.xts.media.MediaDrmTest
-- testAndroidTestCaseSetupProperly fail Test failed to run. Test run failed due to :
Instrumentation run failed due to 'java.lang.VerifyError'
-- testPlayReadySanity fail Test failed to run. Test run failed due to :
Instrumentation run failed due to 'java.lang.VerifyError'
-- testWidevineMediaDrmSessionCount fail Test failed to run. Test run failed due to :
Instrumentation run failed due to 'java.lang.VerifyError'
-- testWidevineSanity fail Test failed to run. Test run failed due to : Instrumentation
run failed due to 'java.lang.VerifyError'
[SOLUTION]
分析:android KK: MediaDrm.java中没有定义class MediaDrmStateException, 所以导致dvm verify com/google/android/xts/media/
MediaDrmTest 发生error~
结论:KK 上MediaDrm.java只需要加入L MeidaDrm.java里的MediaDrmStateException的定义就可以了
GTS 3.0_r2 在android KK上运行时会报如下错误:
com.google.android.xts.media.MediaDrmTest
-- testAndroidTestCaseSetupProperly fail Test failed to run. Test run failed due to :
Instrumentation run failed due to 'java.lang.VerifyError'
-- testPlayReadySanity fail Test failed to run. Test run failed due to :
Instrumentation run failed due to 'java.lang.VerifyError'
-- testWidevineMediaDrmSessionCount fail Test failed to run. Test run failed due to :
Instrumentation run failed due to 'java.lang.VerifyError'
-- testWidevineSanity fail Test failed to run. Test run failed due to : Instrumentation
run failed due to 'java.lang.VerifyError'
[SOLUTION]
分析:android KK: MediaDrm.java中没有定义class MediaDrmStateException, 所以导致dvm verify com/google/android/xts/media/
MediaDrmTest 发生error~
结论:KK 上MediaDrm.java只需要加入L MeidaDrm.java里的MediaDrmStateException的定义就可以了
学习学习
mark~