booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

I can't run app , Have error PropertiesListingGenericWidget. #4

Closed ton2engin closed 1 year ago

ton2engin commented 1 year ago

Hello sir

I can't run app , Have error PropertiesListingGenericWidget with a below

...........................................................................................................................................

Launching lib\main.dart on sdk gphone x86 arm in debug mode... Running Gradle task 'assembleDebug'... /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'. FirebaseAppPlatform.verifyExtends(_delegate); ^^^^^^^^^^^^^ packages/houzi_package/lib/pages/property_details_related_pages/property_detail_page_widgets/property_detail_page_related_listing.dart:140:12: Error: The method 'PropertiesListingGenericWidget' isn't defined for the class '_PropertyDetailPageRelatedListingState'.

FAILURE: Build failed with an exception.

BUILD FAILED in 18s Exception: Gradle task assembleDebug failed with exit code 1

AdilSoomro commented 1 year ago

Hello, can you confirm you are using Android Studio, and whats your flutter version?

ton2engin commented 1 year ago

Hello,

screen

Please support, Thank you.

ton2engin commented 1 year ago

Hello, can you confirm you are using Android Studio, and whats your flutter version?

Hello, You need more information ? Thank you.

AdilSoomro commented 1 year ago

Can you please goto this file:

houzi > packages > houzi_package > pubspec.yaml

and add this dependency:

firebase_core_platform_interface: 4.5.1

then do a flutter clean from Android Studio top menu > Tools > Flutter > Flutter Clean

And try again.

ton2engin commented 1 year ago

firebase_core_platform_interface: 4.5.1

Dear Sir

In pubspec.yaml have this code already dependency_overrides: firebase_core_platform_interface: 4.5.1

I use Flutter Clean and run again but have error same first.

`Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'. FirebaseAppPlatform.verifyExtends(_delegate); ^^^^^^^^^^^^^ packages/houzi_package/lib/pages/property_details_related_pages/property_detail_page_widgets/property_detail_page_related_listing.dart:140:12: Error: The method 'PropertiesListingGenericWidget' isn't defined for the class '_PropertyDetailPageRelatedListingState'.

FAILURE: Build failed with an exception.

BUILD FAILED in 20s Exception: Gradle task assembleDebug failed with exit code 1`

AdilSoomro commented 1 year ago

Don’t use override dependency, instead add it as simple dependency.

firebase_core_platform_interface: 4.5.1
ton2engin commented 1 year ago

Dear Sir

Fisrt, I delete override dependency and add simple dependency but error same old problem.

1test

Second, Not delete override dependency and add simple dependency but error same old problem.

Third, Add only simple dependency but error same old problem.

AdilSoomro commented 1 year ago

Please setup TeamViewer and send your id and password to email: houziapp@gmail.com

AdilSoomro commented 1 year ago

Hello, did it ever solve for you?

One insight I can give you is to unzip the source folder with winrar and compile again, as the default windows unzip has difficulty in unzipping files with long name.

ton2engin commented 1 year ago

Hello, Sorry i busy, Today i will test unzip by winrar and use your update. If have problem i will request you setup by TeamViewer again.

Thank you.

ton2engin commented 1 year ago

Hello, I clear problem already

1.) Donwload new update 2.) unzip by winrar 3.) Set firebase_core_platform_interface: 4.5.1 in pubspec.yaml 4.) set applicationId in build.gradle

Already run simulation with no error but have problem show propery so i will create new issue again. Thank you.

AdilSoomro commented 1 year ago

that's good news.