My firebase chat app is going to crash when i'm run it ..

Syed Umer Yousuf

New member
Jun 25, 2017
2
0
0
Visit site
i'm creating a firebase chat app but while i'm run its it going to crash and also when i import apk to my device and installed it its also going to crash .. kindly please help me to resolve it ...

Here is my AppMainfest

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.syedqadri.whensapp">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<application android:theme="@style/AppTheme" android:supportsRtl="true" android:label="@string/app_name" android:icon="@mipmap/ic_launcher_icon" android:allowBackup="true">
<activity android:name=".MainActivity" android:theme="@style/AppTheme.NoActionBar" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

<activity android:name=".ui.FriendsListActivity" android:theme="@style/AppTheme.NoActionBar" android:label="Find Friends"> </activity>
<activity android:name=".ui.ChatActivity" android:theme="@style/AppTheme.NoActionBar" android:label="Start Conversation"> </activity>
<activity android:name=".ui.ChatMessagesActivity" android:theme="@style/AppTheme.NoActionBar" android:label="(Name of Chat)"> </activity>
<activity android:name=".ui.ProfileActivity" android:theme="@style/AppTheme.NoActionBar" android:label="User Profile"> </activity>
<activity android:name=".ui.ChatListActivity" android:theme="@style/AppTheme.NoActionBar" android:label="Chats"> </activity>
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
</application>
</manifest>

Here is my GRADLE.APP

apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
applicationId "com.example.syedqadri.whensapp"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.3.1'

//Jackson Databind
compile 'com.fasterxml.jackson.core:jackson-databind:2.7.2'

//Glide transform
compile 'jp.wasabeef:glide-transformations:2.0.1'

// Firebase
compile 'com.google.firebase:firebase-database:9.6.0'
compile 'com.google.firebase:firebase-auth:9.6.0'
compile 'com.google.firebase:firebase-storage:9.6.0'
compile 'com.google.firebase:firebase-messaging:9.6.0'
compile 'com.google.firebase:firebase-config:9.6.0'

// FirebaseUI
compile 'com.firebaseui:firebase-ui:0.6.0'
compile 'com.google.android.gms:play-services-appindexing:9.6.0'

}
apply plugin: 'com.google.gms.google-services'
 

B. Diddy

Senior Ambassador
Moderator
Mar 9, 2012
166,122
5,540
113
Visit site
I moved it -- I just wanted to let you know I did. The thread is now in the appropriate forum.