mediaProjection, file.getAbsolutePath());
^
symbol: class MediaRecordService
location: class ScreenRecord
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
/app/platforms/android/src/com/unionpay/screenrecord/ScreenRecord.java:22: error: cannot find symbol
import com.unionpay.screenrecord.MediaRecordService;
^
symbol: class MediaRecordService
location: package com.unionpay.screenrecord
/app/platforms/android/src/com/unionpay/screenrecord/ScreenRecord.java:36: error: cannot find symbol
public MediaRecordService mediaRecord;
^
symbol: class MediaRecordService
location: class ScreenRecord
/app/platforms/android/src/com/unionpay/screenrecord/ScreenRecord.java:135: error: cannot find symbol
mediaRecord = new MediaRecordService(width, height, bitRate, dpi, mediaProjection, file.getAbsolutePath());
^
symbol: class MediaRecordService
location: class ScreenRecord
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
Hi…
I con’t able to build and i am trying to install cordova/argscheck and cordova/argscheck but it’s asking the git username and password can you please help me on this, I have attached the screenshot for your reference.
ERROR in ./node_modules/cordova-plugin-screenrecord/www/ScreenRecord.js
Module not found: Error: Can’t resolve ‘cordova/argscheck’ in ‘C:\shiva\ionoc4Project\In-app-ionic\ionic4In-app\node_modules\cordova-plugin-screenrecord\www’
ERROR in ./node_modules/cordova-plugin-screenrecord/www/ScreenRecord.js
Module not found: Error: Can’t resolve ‘cordova/exec’ in ‘C:\shiva\ionoc4Project\In-app-ionic\ionic4In-app\node_modules\cordova-plugin-screenrecord\www’
[ERROR] An error occurred while running subprocess ng.