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

app not working in release mode #54

Closed
iakshatbisht opened this issue Jul 20, 2020 · 9 comments
Closed

app not working in release mode #54

iakshatbisht opened this issue Jul 20, 2020 · 9 comments

Comments

@iakshatbisht
Copy link

iakshatbisht commented Jul 20, 2020

i built an application using arcore_flutter plugin. the app works perfectly in debug mode. but it is not working in release mode.
i have attached below the expected and observed outputs of the application kindly help me in resolving the issue.

This is what i get in release mode. i am unable to see the outputs.
Screenshot (150)

This is what i get in debug mode. i can see my outputs(planets).
Screenshot (151)

Kindly help.!!

@iakshatbisht
Copy link
Author

kindly refer to this issue stated above. it is for ar core flutter plugin

@iakshatbisht
Copy link
Author

Outputs of my flutter doctor -v command is as follows:

C:---------\AndroidStudioProjects\ar_core_example>flutter doctor -v
[√] Flutter (Channel stable, v1.17.3, on Microsoft Windows [Version 10.0.18362.959], locale en-IN)
• Flutter version 1.17.3 at C:\flutter
• Framework revision b041144 (7 weeks ago), 2020-06-04 09:26:11 -0700
• Engine revision ee76268252
• Dart version 2.8.4

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:-------\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.46.1)
• VS Code at C:-----\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.11.0

[√] Connected device (2 available)
• GM1911 • 5a78b3ea • android-arm64 • Android 9 (API 28)
• Redmi Note 5 Pro • 92ec6a26 • android-arm64 • Android 9 (API 28)

• No issues found!

@iakshatbisht
Copy link
Author

??

@RobinLbt
Copy link

RobinLbt commented Mar 4, 2021

@iakshatbisht did you found a solution ? I'm experimenting the same problem. Working fine in debug mode but not in release

@RobinLbt
Copy link

RobinLbt commented Mar 4, 2021

Ok after a lot of testing I've found the problem.
Nothing to do with this plugin, it was because I was calling boundary.debugNeedsPaint in release mode.
You need to remove this call or to check before calling it in which mode you are at runtime with :
if(kDebugMode)

@naveenbharadwaj19
Copy link

@RobinLbt Could you be more specific ? I'm facing the same problem it is working fine in debug mode not in release & profile

@RobinLbt
Copy link

RobinLbt commented Oct 6, 2021

Unfortunately, I had to live with this problem
One thing you can do is trying this plugin https://github.com/CariusLars/ar_flutter_plugin
IMO it's a more stable and performant one for Android.

@naveenbharadwaj19
Copy link

@RobinLbt So the problem is with arcore_flutter_plugin ? Few months back even in release mode everything was working fine

@RobinLbt
Copy link

RobinLbt commented Oct 6, 2021

Yes I've tried everything and it seems like the plugin is creating the problem

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

3 participants