应用仅在重启后显示 - adb push 命令

app show up only after reboot - adb push command

通过命令将 apk 文件推送到我的三星 galaxy s3 时

adb push myapp.apk data/app

该应用程序不会自动显示 - 因为它在通过 Eclipse 编译和上传时会自动显示。每次都要重启

有什么问题?

如果您想通过 adb 安装应用程序,您应该使用:

adb install myapp.apk

这些是可用的选项标志:

adb install [-lrtsd] <file>
adb install-multiple [-lrtsdp] <file...>   
    - push this package file to the device and install it
      (-l: forward lock application)
      (-r: replace existing application)
      (-t: allow test packages)
      (-s: install application on sdcard)
      (-d: allow version code downgrade)
      (-p: partial application install)