#[SOLVED] flutter android emulator not working with Appwrite

36 messages · Page 1 of 1 (latest)

hoary plinth
#

Hi All,

I am kinda new to coding with flutter and appwrite, I have managed to create a code that works with windows, I have set up a database and user authentication but none of it works on the android emulator, any idea why?

tawny shoal
#

Are you getting any errors in the logs? Are you able to browse with the chrome app in the emulator?

hoary plinth
tawny shoal
#

Also I'm asking about the error in case an exception is causing the mobile app to fail

hoary plinth
#

yes, it can connect to internet

#

I don't see any errors

tawny shoal
hoary plinth
marble cypress
#

@hoary plinth Did you add internet permission to the android manifest file?

#

If not, make sure to add it and rebuild the APK (you will probably need to uninstall it from emulator).

hoary plinth
marble cypress
hoary plinth
marble cypress
hoary plinth
#

yeah I put it but still my android emulator doesn't work

marble cypress
hoary plinth
#

yes

marble cypress
#

If so, you need to do flutter clean flutter pub get uninstall the app from emulator and then run it again

hoary plinth
#

ok, I will try

marble cypress
#

If it's still not working after that, show the error you're getting

hoary plinth
hoary plinth
hoary plinth
#

I did not have adb set up properly and for some reason after setting it up the android emulator started working with app write

cunning berry
hoary plinth
#

I have added flutter to the console

hoary plinth
marble cypress
cunning berry
cunning berry
cunning berry
#

In android did add some request in the AndroidManifest file

cc: @hoary plinth

cunning berry
#

@hoary plinth Is your problem solved?

hoary plinth
#

Yes

cunning berry
# hoary plinth Yes

Can you share what you did to solve this problem so that in future if anyone face this similar issue they can solve the issue fast.