mdanics / fluttergram

A fully functional Instagram clone written in Flutter using Firebase / Firestore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keeps hanging in assembledebug

Mateis opened this issue · comments

I made a fresh copy of fluttergram, but when I run it keeps hanging. These are the lines i get in debug console reporting:

Launching lib\main.dart on Android SDK built for x86 in debug mode...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...                 9,1s
I/fluttergramdem( 7621): Not late-enabling -Xcheck:jni (already on)
E/fluttergramdem( 7621): Unknown bits set in runtime_flags: 0x8000
W/fluttergramdem( 7621): Unexpected CPU variant for X86 using defaults: x86
I/fluttergramdem( 7621): The ClassLoaderContext is a special shared library.

Anyone know what might be going on and/or how to fix it?

I skipped these steps, maybe its what causing it?:

  • ' Copy this project's functions/lib/index.js to your firebase project's functions/index.j'
  • ' Replace the url in the _getFeed function in feed.dart with your cloud function url from the previous step.'

I followed these steps instead: #25 (comment)

Did this solve the issue?

Nope.

But I can try again. I ran firebase init in the fluttergram folder instead of fluttergram/functions. That's different from what you describe.

When I follow the steps of #25 (comment) should I still do Copy this project's functions/lib/index.js to your firebase project's functions/index.j before/after?

It would be before as long as you ensure you don't override it.

Let me know if you are able to get this working 💯

Closing due to inactivity