Android Development Tutorial - Chat App Android Studio

EDMT Dev · 431K views · 2016 · 30:25

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users cite it as the tutorial they were following when they hit errors with Firebase dependencies, Gradle versions, layouts and the ChatMessage class.

Recommended by 0 people across 0 different months, 2017 to 2018.

What it is

A 30-minute hands-on tutorial from EDMT Dev that builds a simple real-time chat app in Android Studio using Firebase Database and Firebase Authentication. The presenter codes it step by step and publishes the source code on GitHub.

What people said

Cites user8534232 · 2017-08 · Stack Overflow · on “NoSuchMethodError: No virtual method zzEq()Z in class Lcom/google/firebase/FirebaseApp;”

Below is the fatal error that I keep getting on my App. I am trying to run a chat messenger feature on my application using Firebase. It was running however it has since kept crashing the app entirely. I've made a few edits to the code in the hope of resolving the issues, but to no avail. I've been following this tutorial on youtbe [this video] and it appears by reading the comments that no one else has a similiar error to me. According to the log, the errors are found on line 99 - displayChatMessage(); as well as on Line 109 - adapter = new FirebaseListAdapter<ChatMessage>(this,ChatMessage.class,R.layout.chat_list_item,FirebaseDatabase.getInstance().getReference()) { I'm hoping this maybe just a

Cites Pembroke · 2017-08 · Stack Overflow · on “No suitable constructor found for ChatMessage(String,String)”

Error:(88, 79) error: no suitable constructor found for ChatMessage(String,String) constructor ChatMessage.ChatMessage(String,String,long) is not applicable (actual and formal argument lists differ in length) constructor ChatMessage.ChatMessage() is not applicable (actual and formal argument lists differ in length) This is my code for the related error: FirebaseDatabase.getInstance().getReference().push().setValue(new ChatMessage(input.getText().toString(), FirebaseAuth.getInstance().getCurrentUser().getEmail())); And ChatMessage constructor that the error relates to: public ChatMessage(String messageText, String messageUser, long messageTime) { this.messageText = messageText; this.messageUs

Cites Dean Blakely · 2018-04 · Stack Overflow · on “Issue with app.iml file”

I created a new empty project in Android Studio in order to follow a youtube tutorial ( [this video] ). About 10% of the way into the tutorial my project would no longer compile - it did not like the following line in my gradle file: implementation 'com.android.support:appcompat-v7:26.1.0' saying that all entries for com.android.support had to be the same version and it had also found com.android.support:palette-v7-25.0.0 There is no such line in my build.gradle file. Searching through this newly created project I find the following line in a huge file named app.iml <orderEntry type="library" name="com.android.support:palette-v7-25.0.0" level="project" /> I have no idea what the app.iml is for or

Cites compsciman · 2018-08 · Stack Overflow · on “Chat app EditText section will not render/hidden from design preview”

I can't see my EditText section in the design preview, nor in my app. The hint and everything seem to not render. Here's my xml file: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android=" [LINK] " xmlns:app=" [LINK] " xmlns:tools=" [LINK] " android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="16dp" android:paddingLeft="16dp" android:paddingRight="16dp" android:paddingTop="16dp" tools:context=".MainActivity"> <android.support.design.widget.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:l