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

Unresolved reference 'Registrar' in LaunchexternalappPlugin.java with Flutter 3.29.0 #53

Closed
dev-mahmoud-elshenawy opened this issue Feb 19, 2025 · 6 comments

Comments

@dev-mahmoud-elshenawy
Copy link

There is an error in build :-

error: cannot find symbol Registrar

Execution failed for task ':external_app_launcher:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

The build fails with the following error in launchexternalapp/LaunchexternalappPlugin.java:

Unresolved reference: Registrar

@dev-mahmoud-elshenawy
Copy link
Author

I have a fork as a temporary solution for this till there is an update in the package

https://github.com/dev-mahmoud-elshenawy/external_app_launcher-flutter3.29.0-fix

@dev-mahmoud-elshenawy dev-mahmoud-elshenawy changed the title nresolved reference 'Registrar' in LaunchexternalappPlugin.java with Flutter 3.29.0 Unresolved reference 'Registrar' in LaunchexternalappPlugin.java with Flutter 3.29.0 Feb 19, 2025
@webuijorgeGL
Copy link

I confirmed this is happening in android with Fltter 3.29.0

@MickaelHrndz
Copy link

MickaelHrndz commented Feb 20, 2025

@dev-mahmoud-elshenawy I'm still getting errors when trying to use your fork instead:

e: file:///[user path]/AppData/Local/Pub/Cache/hosted/pub.dev/installed_apps-1.5.2/android/src/main/kotlin/com/sharmadhiraj/installed_apps/InstalledAppsPlugin.kt:22:48 Unresolved reference: Registrar
e: file:///[user path]/AppData/Local/Pub/Cache/hosted/pub.dev/installed_apps-1.5.2/android/src/main/kotlin/com/sharmadhiraj/installed_apps/InstalledAppsPlugin.kt:33:37 Unresolved reference: Registrar

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':installed_apps:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

By the way, this seems to be a duplicate of #51

@dev-mahmoud-elshenawy
Copy link
Author

@MickaelHrndz I don't think the package depends on installed_apps. I think it is another package in your project

@MickaelHrndz
Copy link

oh yeah, sorry

@geekruchika
Copy link
Contributor

Hi All,
I have fixed this in the latest version
external_app_launcher: ^4.0.2

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

4 participants