Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]_私房菜-优快云博客平台版本是android 7.0,在adb install *.apk 会提示下面的错误: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]方法1:修改AndroidManifest.xml 中android:testOnly="true" 改成 android:testOnly="false",或者直接去掉。https://blog.youkuaiyun.com/shift_wwx/article/details/78468397 采用如下方法: adb install -t -r *.apk