17

我正在尝试在 genymotion 模拟器上使用 Gmail Login 运行我的应用程序。但我不断收到 Failed to find DRM plugin 错误。我已将 ARM 翻译 zip 添加到给定设备的模拟器和 gApps 中。该应用程序在真实设备上完美运行(HTC 渴望 500 和 Nexus 5)。模拟器是带有 Lollipop 5.1 的 Nexus 5。

02-20 05:27:13.292 1693-2186/? E/Drm: Failed to find drm plugin
02-20 05:27:13.292 3684-3868/? W/DG.WV: Widevine DRM not supported on this device
02-20 05:27:13.292 3684-3868/? W/DG.WV: android.media.UnsupportedSchemeException: Failed to instantiate drm object.
02-20 05:27:13.292 3684-3868/? W/DG.WV:     at android.media.MediaDrm.native_setup(Native Method)
02-20 05:27:13.292 3684-3868/? W/DG.WV:     at android.media.MediaDrm.<init>(MediaDrm.java:180)
02-20 05:27:13.292 3684-3868/? W/DG.WV:     at com.google.android.gms.droidguard.q.run(SourceFile:99)
02-20 05:27:13.292 3684-3868/? W/DG.WV:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
02-20 05:27:13.292 3684-3868/? W/DG.WV:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
02-20 05:27:13.292 3684-3868/? W/DG.WV:     at java.lang.Thread.run(Thread.java:818)
02-20 05:27:13.300 2686-3863/? V/BaseAuthAsyncOperation: access token request successful
02-20 05:27:13.301 3684-3735/? I/GoogleURLConnFactory: Using platform SSLCertificateSocketFactory
02-20 05:27:13.742 3471-3471/? I/adfjksf: Status{statusCode=INTERNAL_ERROR, resolution=null}
02-20 05:27:13.814 3471-3492/? W/EGL_emulation: eglSurfaceAttrib not implemented
02-20 05:27:13.814 3471-3492/? W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xf3ee7840, error=EGL_SUCCESS
02-20 05:27:14.837 2279-3867/? W/GLSUser: [AppCertManager] IOException while requesting key: 
4

1 回答 1

3

模拟器不支持 DRM,因为硬件不支持。您可以通过安装 Drm info 应用程序并在模拟器中运行它来检查 drm 的可用性。请找到链接https://play.google.com/store/apps/details?id=com.androidfung.drminfo

于 2017-06-14T11:26:20.940 回答