Android:客户端尚未准备就绪。正在等待流程上线 [英] Android: Client not ready yet..Waiting for process to come online

查看:324
本文介绍了Android:客户端尚未准备就绪。正在等待流程上线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误;每当我尝试启动该应用程序时,它就会崩溃。
我已经使用模拟器和移动设备尝试了几次,但是仍然无法正常工作。

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.

我正在使用Firebase身份验证和数据库在项目中。尽管没有错误,但我想知道它是否对错误有影响吗?

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.

清单:

<?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>


推荐答案

在Android Studio中:文件->使缓存无效/重新启动

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

尝试一下

这篇关于Android:客户端尚未准备就绪。正在等待流程上线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆