Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Client not ready yet..Waiting for process to come online

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>
like image 338
hatched Avatar asked Apr 10 '17 15:04

hatched


2 Answers

In Android-Studio : File -> Invalidate Caches / Restart

Try it

like image 98
Niroop N Avatar answered Sep 30 '22 17:09

Niroop N


follow this steps

  1. go to the phone setting
  2. "select developer option"
  3. "select app to be debugged"

and select your application,

and ready

enter image description here

like image 43
Ivon Fernandez Perez Avatar answered Sep 30 '22 16:09

Ivon Fernandez Perez