Please make sure the Android SDK is installed and is properly configured in the Editor. Here is the full error message, with the stdout portion truncated: Error building Player: CommandInvokationFailure: Unable to install APK to device. Has anyone else encountered this "Connection reset by peer" issue when attempting to install via adb? The error message prompts me to check my Android SDK installation, though the build process will sometimes succeed. However, by disconnecting my device from my PC or rebuilding, I can sometimes (as in, very rarely) successfully push to the device. When the connection is reset and fails to build, the final percentage is anywhere between 0% - 99%. I also see an stdout print in the log that shows the progress ticking upward. Usually, when I try to push the build to my device either through the Unity Build Settings menu (Build and Run option) or manually through the adb install command, I receive an error and the build fails: adb: error: failed to copy 'C:\Users\Path\To\Project\Temp\StagingArea\Package.apk' to '/data/local/tmp/Package.apk': no response: Connection reset by peer I'm attempting to build an Android project and test it on my device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |