Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install apk 章节的一些 补充&修正 #45

Open
zhEdward opened this issue Oct 29, 2017 · 2 comments
Open

install apk 章节的一些 补充&修正 #45

zhEdward opened this issue Oct 29, 2017 · 2 comments

Comments

@zhEdward
Copy link

  • 参数 -l 的中文/英文的含义 和命令里的解释不一样
 install [-lrtsdg] PACKAGE
 install-multiple [-lrtsdpg] PACKAGE...
     push package(s) to the device and install them
     -l: forward lock application
     -r: replace existing application
     -t: allow test packages
     -s: install application on sdcard
     -d: allow version code downgrade (debuggable packages only)
     -p: partial application install (install-multiple only)
     -g: grant all runtime permissions

友情提醒:在8.0开始 如果继续使用 -l 参数会抛该异常java.lang.IllegalArgumentException: New installs into ASEC containers no longer supported

@QGB
Copy link

QGB commented Apr 5, 2020

New installs into ASEC containers no longer supported

@QGB
Copy link

QGB commented Apr 5, 2020

pm install -rt base.apk

Failure [INSTALL_FAILED_INTERNAL_ERROR]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants