I am getting the error below; whenever I try to launch the app it crashes. I have tried a few times using an emulator and also using my mobile, but it still doesn't work.
I'm using Firebase auth and database in the project. Although there are no errors, I wonder if it has any affect on the error?
$ adb shell am start -n "com.example.juice.health/com.example.juice.health.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Connected to process 3016 on device Nexus_5X_API_23 [emulator-5554]
Application terminated.
Manifest :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.juice.health">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LoginActivity"/>
<activity android:name=".ProfileActivity"/>
<activity android:name=".EditProfileActivity"></activity>
</application>
</manifest>
In Android-Studio : File -> Invalidate Caches / Restart
Try it
follow this steps
and select your application,
and ready
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With