0
我使用JNI方式,composer -> captureScreen(...)
來捕獲最終的surfaceflinger組合屏幕,如源代碼中的this sample。android 4.1 composer-> captureScreen(...)失敗
並在android 4.1上構建成功,但運行時發生錯誤:captureScreen(...)
返回err = 1
和heap = null
。
我google搜索this link是一樣的失敗,仍然沒有答案。