Instruments:
- Android Studio 2.3
- Firebase
Verified device
Samsung GT-I9505
Samsung SM-T211
Operating system:
Problem: I cannot install the application on my Android device. There were problems with troubleshooting what went wrong.
Display error message:
Installation failed with message device 'a408a2f4' not found. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. WARNING: Uninstalling will remove the application data! Do you want to uninstall the existing application?
Event Log Displayed:
11:38 AM An existing connection was forcibly closed by the remote host java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:492) at com.android.ddmlib.SplitApkInstaller.uploadApk(SplitApkInstaller.java:152) at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:78) at com.android.ddmlib.Device.installPackages(Device.java:904) at com.android.tools.idea.run.tasks.SplitApkDeployTask$SplitApkInstaller.installApp(SplitApkDeployTask.java:117) at com.android.tools.idea.run.RetryingInstaller.install(RetryingInstaller.java:86) at com.android.tools.idea.run.tasks.SplitApkDeployTask.perform(Spl... (show balloon) 11:38 AM Session 'app': Error Installing APKs
A strange event is observed.
I have not installed my application on my device yet, but it shows that I have to uninstall my application.
I saw that when installing the APK on my physical device, it turns off and returns online. I do not know what causes this behavior.
What have i done so far
Check my device settings in developer options to enable usb debugging
Checked my Sha-1 package name, which it is correctly registered in the Firebase Console
Checked in my Application Manager if my application is installed, but I do not see it
Reboot my computer, maybe it is experiencing cache problems in ADB. I deleted it in the task manager, but did not allow it.
We hope for your full respect. Thanks.
source share