endmr11 / ed_screen_recorder

Screen recorder plugin for Flutter. Supports IOS and Android devices.
MIT License
26 stars 34 forks source link

Not able to build #81

Open aKaushik941 opened 1 year ago

aKaushik941 commented 1 year ago

error: cannot access HBRecorderListener flutterEngine.getPlugins().add(new com.ed_screen_recorder.ed_screen_recorder.EdScreenRecorderPlugin()); ^ class file for com.hbisoft.hbrecorder.HBRecorderListener not found

I have added all dependencies but still getting this error

endmr11 commented 1 year ago

Version 0.0.13 has been released. Could you please check again and report back to me?

aKaushik941 commented 1 year ago

@endmr11 able to build but nothing is coming means recording is not starting

endmr11 commented 1 year ago

Can you try with example file?

aKaushik941 commented 1 year ago

Yes I tried the example only but not working

endmr11 commented 1 year ago

I'm trying on real device, it works on my phone. Poco NFC X3. Can you send the error log?

h1376h commented 1 year ago

It now builds correctly, but does not work. (The example apk file does not record the screen)

jdevp commented 1 year ago

@h1376h I'm curious if it works if you try the second time. I'm having the same issue. After the apk is installed and all permissions are handled, nothing is recorded after clicking on the start record button. Click on the stop recording button and click on start recording button again, then it starts to record (after displaying the standard screen cast warning popup).

Z6P0 commented 9 months ago

Same error here. Does not build.

Note: /.../.pub-cache/hosted/pub.dev/ed_screen_recorder-0.0.13/android/src/main/java/com/ed_screen_recorder/ed_screen_recorder/EdScreenRecorderPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. /.../android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:19: error: cannot access HBRecorderListener flutterEngine.getPlugins().add(new com.ed_screen_recorder.ed_screen_recorder.EdScreenRecorderPlugin()); ^ class file for com.hbisoft.hbrecorder.HBRecorderListener not found 1 error

FAILURE: Build failed with an exception.