JasonXiao001 / easyPlayer

A simple player using FFmpeg on Android
61 stars 23 forks source link

debug error, how to fix? #3

Open shine4net opened 6 years ago

shine4net commented 6 years ago

06/07 14:29:33: Launching app No apk changes detected since last installation, skipping installation of E:\android\projects\easyPlayer\app\build\outputs\apk\app-debug.apk $ adb shell am force-stop cn.jx.easyplayer $ adb shell am start -n "cn.jx.easyplayer/cn.jx.easyplayer.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: cn.jx.easyplayer | cn.jx.easyplayer.test Waiting for application to come online: cn.jx.easyplayer | cn.jx.easyplayer.test Connecting to cn.jx.easyplayer Now Launching Native Debug Session $ adb shell cat /data/local/tmp/lldb-server | run-as cn.jx.easyplayer sh -c 'cat > /data/data/cn.jx.easyplayer/lldb/bin/lldb-server && chmod 700 /data/data/cn.jx.easyplayer/lldb/bin/lldb-server' $ adb shell cat /data/local/tmp/start_lldb_server.sh | run-as cn.jx.easyplayer sh -c 'cat > /data/data/cn.jx.easyplayer/lldb/bin/start_lldb_server.sh && chmod 700 /data/data/cn.jx.easyplayer/lldb/bin/start_lldb_server.sh' Starting LLDB server: /data/data/cn.jx.easyplayer/lldb/bin/start_lldb_server.sh /data/data/cn.jx.easyplayer/lldb unix-abstract /cn.jx.easyplayer-0 platform-1528352974795.sock "lldb process:gdb-remote packets" Debugger attached to process 18097 warning: failed to set breakpoint site at 0xf1c15150 for breakpoint 2.1: error: 0 sending the breakpoint request Signal: SIGSEGV (signal SIGSEGV: invalid address (fault address: 0x1a0))

Dovar66 commented 5 years ago

他这个demo默认读取的是根目录下的jack.mp4,你应该是没有这个文件吧。另外,别忘了给权限READ_EXTERNAL_STORAGE