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

Endless loading #12

Closed
Taverz opened this issue Mar 22, 2021 · 7 comments
Closed

Endless loading #12

Taverz opened this issue Mar 22, 2021 · 7 comments
Assignees

Comments

@Taverz
Copy link

Taverz commented Mar 22, 2021

when the application starts, it is always loaded.
Android.
when debugging, the last message he got stuck on
E/ (17598): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008] E/ (17598): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008]

@Livinglist
Copy link
Owner

Hi Taverz, thanks for reaching out.

Do you have the dictionary file under manji/data/dictDB.db? The dictDB file size is about 169mb, if not you could try fetching the file by running git lfs pull in the project folder.

@Livinglist Livinglist self-assigned this Mar 23, 2021
@Taverz
Copy link
Author

Taverz commented Mar 24, 2021

The database I had I once again cloned the repository and did git lfs pull , but no changes. Maybe I did something wrong with google_api_credentials.dart , can it be left blank or filled in somehow? do you need to install something?

@Livinglist
Copy link
Owner

The database I had I once again cloned the repository and did git lfs pull , but no changes. Maybe I did something wrong with google_api_credentials.dart , can it be left blank or filled in somehow? do you need to install something?

No that shouldn't be the problem. What's the version of Android you are trying to run the app on? And also can i have the output of flutter doctor -v

@Taverz
Copy link
Author

Taverz commented Mar 25, 2021

If it helps - successfully launched other applications.
Emulator- API 28 / Android 9.0
Скриншот 25-03-2021 080907

@Livinglist
Copy link
Owner

Livinglist commented Mar 25, 2021

If it helps - successfully launched other applications.
Emulator- API 28 / Android 9.0
Скриншот 25-03-2021 080907

I assume you already have the google-services.json under android/app/, can you make sure that you have the same applicationId inside android/app/build.gradle and the your firebase project.

A really dumb way to fix this is just try to create a new project, and copy all the stuff from these folders: lib, data, fonts, font_awesome_flutter, and also the both the project-level and app-level build.gradle files (replace my applicationId jiaqifeng.kanji_dictionary with yours), and lastly pubspec.yaml file.

@Taverz
Copy link
Author

Taverz commented Mar 25, 2021

before that, the applicationId was jiaqifeng.kanji_dictionary and did not work.
I changed the SDK version to 30 and turned on analytics in firebase(I don’t know what changed it), but it worked.
Thanks for the advice and help, very nice.
I love the app and its design.

@Livinglist
Copy link
Owner

before that, the applicationId was jiaqifeng.kanji_dictionary and did not work.
I changed the SDK version to 30 and turned on analytics in firebase(I don’t know what changed it), but it worked.
Thanks for the advice and help, very nice.
I love the app and its design.

Glad it worked!

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

2 participants