App doesn't run on both Emulator and Device on MAC, I only get an error saying client not ready yet.
I tried Invalidating and Restarting Android studio , tried to close app, uninstall, rerun , disabling instant run ,Clean Project, Rebuild , Deleting Gradle but none of these worked.
below is the run log that I'm getting.
$ adb push /Users/username/app/App/build/generalDebug-1.6.1-530966e6.apk /data/local/tmp/com.site.app $ adb shell pm install -r "/data/local/tmp/com.site.app” Success
Client not ready yet..
Does anyone know a solution for it?
Are you exporting the activity exported. The activity needs to be exported for adb to use it.
Try adding the exported tag explicitly as shown below:
<activity
android:name=".my.MyActivity"
android:exported="true"/>
I hope this helps.
Uninstall the Android studio and install the latest one.Then go to the
File -> Manage IDE Settings -> Restore Default settings
update the Android SDK location in settings.
Then boom.... IDE will working as it was working normally.
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