question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error building project

See original GitHub issue
[public class QRCodeReaderPlugin implements MethodCallHandler, ActivityResultListener, PluginRegistry.RequestPermissionResultListener {
                                                                                                    ^
  symbol:   class RequestPermissionResultListener
  location: interface PluginRegistry
C:\..\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\qrcode_reader-0.3.2\android\src\main\java\com\matheusvillela\flutter\plugins\qrcodereader\QRCodeReaderPlugin.java:63: error: cannot find symbol
            registrar.addRequestPermissionResultListener(instance);
                     ^
  symbol:   method addRequestPermissionResultListener(QRCodeReaderPlugin)
  location: variable registrar of type Registrar](url)
error: method does not override or implement a method from a supertype
    @Override
    ^

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
tamcycommented, Jun 4, 2018

Oh please don’t. I have submitted a pull request (https://github.com/bcko/flutter_qrcode_reader/pull/12) which should fix this issue. Thanks for the work.

0reactions
bckocommented, Jun 12, 2018

#12 merged

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Error building project: The build hook failed with status code 1".
In the deployment error log, the error message ends with: "Error building project: The build hook failed with status code 1. Aborted build"....
Read more >
“Error building project: The build hook failed with status code 1”.
Deployment fails with “Error building project: The build hook failed with status code 1”. This article talks about the causes and solutions for...
Read more >
Why do I have error while building project? - Stack Overflow
Can it be connected with using LocalDateTime datatype and Long instead of int? Yes. But I don't even start inserting, I get errors...
Read more >
Is it possible to build a project with errors - Microsoft Q&A
Hi so I have a visual studio project that has a bunch of errors, I wanted to build into a dll and try...
Read more >
Error in Building project
I am using XC32 v1.33 compiler , the sender also uses the same compiler and IDE version. I imported the project file on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found