Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to build #81

Open
aKaushik941 opened this issue Apr 24, 2023 · 8 comments
Open

Not able to build #81

aKaushik941 opened this issue Apr 24, 2023 · 8 comments

Comments

@aKaushik941
Copy link

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
Copy link
Owner

endmr11 commented Apr 30, 2023

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

@aKaushik941
Copy link
Author

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

@endmr11
Copy link
Owner

endmr11 commented Apr 30, 2023

Can you try with example file?

@aKaushik941
Copy link
Author

Yes I tried the example only but not working

@endmr11
Copy link
Owner

endmr11 commented Apr 30, 2023

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

@h1376h
Copy link
Contributor

h1376h commented May 10, 2023

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

@jdevp
Copy link

jdevp commented May 11, 2023

@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
Copy link

Z6P0 commented Nov 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants