monkeyDledger / cordova-plugin-screenrecord

using MediaCodec and MediaMuxer to record Android device's screen
2 stars 5 forks source link

Build Fail #2

Closed Elvincth closed 4 years ago

Elvincth commented 6 years ago

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

FAILURE: Build failed with an exception.