Reputation: 602
I'm having trouble installing a simple .apk file using adb. Here's what I entered and got back:
adb install test.apk
4445 KB/s (1921193 bytes in 0.422s)
In an attempt to debug I added the trace flag and got back:
adb install test.apk ADB_TRACE=1
4445 KB/s (1921193 bytes in 0.422s)
Aborted
Also, the adb devices
command does list my device and when I manually copy the .apk to my device it installs/runs fine.
Help :(
Upvotes: 3
Views: 3639
Reputation: 602
Not really sure what was going on, but after a system update it now works just fine.
Upvotes: 0
Reputation: 468
Try below
adb install -r test.apk
or you need to enable to insatll unknown source app in android settings.
Upvotes: 1