Building an app in React-Native and try to include the Zappar module on Android first.
I get the following error.
no suitable constructor found for Intent(Class<CAP#1>)
Intent i = new Intent(ZapparEmbed.getZapcodeClassForIntent());
^
constructor Intent.Intent(Intent) is not applicable
(argument mismatch; Class<CAP#1> cannot be converted to Intent)
constructor Intent.Intent(String) is not applicable
(argument mismatch; Class<CAP#1> cannot be converted to String)
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ?
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.