nguyenvulebinh / android-firebase-chat

Advance chat app for android devices using Firebase
454 stars 299 forks source link

Building in My Android Studio 3 on Windows 10 not possible #27

Closed starapple2 closed 6 years ago

starapple2 commented 6 years ago

I cloned the repository into Android Studio and had no option to clean or build the project. There were several errors thrown by the layout files. I thought maybe I would install the app-release.apk but while 9.5 MB of storage was taken up by the installation, all I saw was a screen with a Settings menu that did nothing when clicked?

I'm testing the apk with an LG Nexus 5 with Android 7.

There's no Read Me that explains usage of the package so I'm not very clear on what's what. I could create a project and copy the files and layouts to see where that leads...

starapple2 commented 6 years ago

The issues were related to (1) the memory setting in gradle.properties. Solution: delete and allow Android Studio to manage memory. (2) The SDK and build versions needed to be upgraded and aligned. (3) Gradle prompted adding the Maven repository.

Built without a hitch after that and installed on LG Nexus 4, but when I registered for the chat, the screen was stuck on a view with "Get all friend..." with a spinning progress bar.