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

Fix Android compatibility issues after Flutter 3.29.0 upgrade #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mufassalhussain
Copy link

After Upgrading to latest stable release of flutter 3.29.0, facing error as below:

**C:\Users\XTREME\AppData\Local\Pub\Cache\hosted\pub.dev\open_filex-4.6.0\android\src\main\java\com\crazecoder\openfile\OpenFilePlugin.java:73: error: cannot find symbol
public static void registerWith(PluginRegistry.Registrar registrar) {
^
symbol: class Registrar
location: interface PluginRegistry
1 error

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':open_filex:compileDebugJavaWithJavac'.

@mufassalhussain
Copy link
Author

I have fixed the issue, you can use the following as an alternative until release;

open_filex:
git:
url: https://github.com/mufassalhussain/open_filex

@FeuerSoftwareMoritz
Copy link

Please correct PR title to "Fix support for flutter 3.29.0"

@mufassalhussain mufassalhussain changed the title fix support for flutter 2.29.0 Fix Android compatibility issues after Flutter 3.29.0 upgrade Feb 14, 2025
@mufassalhussain
Copy link
Author

mufassalhussain commented Feb 14, 2025 via email

@x3rud
Copy link

x3rud commented Feb 15, 2025

When will this fix be merged?

@soufianebenyaala
Copy link

When will this fix be merged?

rjahn added a commit to sibvisions/flutter_jvx that referenced this pull request Feb 21, 2025
@berke-ugur-openmind
Copy link

I have fixed the issue, you can use the following as an alternative until release;

open_filex: git: url: https://github.com/mufassalhussain/open_filex

Thank you so much, it worked for me.

@GugaLincon
Copy link

Thank you.

@iamageo
Copy link

iamageo commented Feb 24, 2025

please, merge this! 🙏🏼

@TuyulTronik
Copy link

still_waiting

@DarenF-20C
Copy link

@javaherisaber , FYI, blocking Android build with Flutter 3.29.0

@oscarshaitan
Copy link

I have fixed the issue, you can use the following as an alternative until release;

open_filex: git: url: https://github.com/mufassalhussain/open_filex

Im usign this but openfilex is not opening anything in prod, with the proguard rules on. If I turn off the rueles everythign works
when the rules are one I got the error
PlatformException(error, Attempt to read from field 'long android.content.res.XmlBlock$Parser.mParseState' on a null object reference in method 'int android.content.res.XmlBlock$Parser.getAttributeListValue(java.lang.String, java.lang.String, java.lang.String[], int)', null, java.lang.NullPointerException: Attempt to read from field 'long android.content.res.XmlBlock$Parser.mParseState' on a null object reference in method 'int android.content.res.XmlBlock$Parser.getAttributeListValue(java.lang.String, java.lang.String, java.lang.String[], int)'

I spend 2 days, tryign to sort out this problem with no results so far any ideas?

@jainmohit2001
Copy link

Any updates here?

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

Successfully merging this pull request may close these issues.