android sdudio 运行播放视频示例无效

0 投票
最新提问 6月 16, 2018 用户: fengyujian (140 分)
06/16 12:08:41: Launching app
$ adb install-multiple -r -t D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_1.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_6.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_7.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\resources\instant-run\debug\resources-debug.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_0.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\dep\dependencies.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_9.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_8.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_5.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_2.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_3.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\split-apk\debug\slices\slice_4.apk D:\AndroidProject\EasyAR_SDK_2.2.0\HelloARVideo\app\build\intermediates\instant-run-apk\debug\app-debug.apk
Split APKs installed
$ adb shell am start -n "cn.easyar.samples.helloarvideo/cn.easyar.samples.helloarvideo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: cn.easyar.samples.helloarvideo.test | cn.easyar.samples.helloarvideo
Waiting for application to come online: cn.easyar.samples.helloarvideo.test | cn.easyar.samples.helloarvideo
Waiting for application to come online: cn.easyar.samples.helloarvideo.test | cn.easyar.samples.helloarvideo
Connecting to cn.easyar.samples.helloarvideo
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/libthemeutils: Theme: libthemeutil.so load success
W/ActivityThread: Application cn.easyar.samples.helloarvideo is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk
I/zygote: Debugger is active
I/System.out: Debugger has connected
              waiting for debugger to settle...
Connected to the target VM, address: 'localhost:8630', transport: 'socket'
I/System.out: waiting for debugger to settle...
I/chatty: uid=10278(u0_a278) cn.easyar.samples.helloarvideo identical 3 lines
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1346)
I/InstantRun: starting instant run server: is main process
D/AccessibilityManager: AccessibilityManager status: mPackageName = cn.easyar.samples.helloarvideo, mOptimizeEnabled = true, mIsEnabled = false, mIsUiAutomationEnabled = false, mIsInterestedPackage =false
I/EasyAR: EasyAR SDK Basic Version 2.2.0
D/OpenGLRenderer: HWUI GL Pipeline
I/Adreno: QUALCOMM build                   : 9c9b012, I92eb381bc9
          Build Date                       : 12/31/17
          OpenGL ES Shader Compiler Version: EV031.22.00.01
          Local Branch                     :
          Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.6.4.R1.08.00.00.309.049
          Remote Branch                    : NONE
          Reconstruct Branch               : NOTHING
I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.msm8998.so from the current namespace instead.
I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 2
I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.msm8998.so from the current namespace instead.
V/CameraInjector: isInRotateWhiteList whiteList=com.tencent.mm,com.xiaomi.jr processName=cn.easyar.samples.helloarvideo
I/FeatureParser: can't find chiron.xml in assets/device_features/,it may be in /system/etc/device_features
I/zygote: Do partial code cache collection, code=30KB, data=24KB
          After code cache collection, code=30KB, data=24KB
          Increasing code cache capacity to 128KB
I/HelloAR: load target (true): argame (1)
I/HelloAR: load target (true): idback (2)
I/HelloAR: load target (true): namecard (3)
V/CameraInjector: isInRotateWhiteList whiteList=com.tencent.mm,com.xiaomi.jr processName=cn.easyar.samples.helloarvideo
I/Choreographer: Skipped 45 frames!  The application may be doing too much work on its main thread.
I/zygote: Do partial code cache collection, code=62KB, data=49KB
          After code cache collection, code=58KB, data=48KB
          Increasing code cache capacity to 256KB
E/MediaPlayerNative: error (1, -2147483648)
E/MediaPlayer: Error (1,-2147483648)
I/HelloAR: video: video.mp4 (-1)
Disconnected from the target VM, address: 'localhost:8630', transport: 'socket'

登录 或者 注册 后回答这个问题。

欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...