Giter Site home page Giter Site logo

有适配8.0的手机吗 about update HOT 4 CLOSED

leiduowang avatar leiduowang commented on May 27, 2024
有适配8.0的手机吗

from update.

Comments (4)

maopf avatar maopf commented on May 27, 2024

亲测,可以用。 需要配置 未知来源应用安装权限 管理。
另外对于部分8.0、8.1的手机,在强制安装模式下,可能会出现无法解析安装包的bug,主要是UpdateUtil类 install方法 对于强制安装,执行 System.exit(0) 导致的。

from update.

GIVEWAYTO avatar GIVEWAYTO commented on May 27, 2024

亲测,可以用。 需要配置 未知来源应用安装权限 管理。
另外对于部分8.0、8.1的手机,在强制安装模式下,可能会出现无法解析安装包的bug,主要是UpdateUtil类 install方法 对于强制安装,执行 System.exit(0) 导致的。

那如果修改 System.exit(0)这里的代码呢?

from update.

abiaodev avatar abiaodev commented on May 27, 2024

可以用的,不过需要添加android.permission.REQUEST_INSTALL_PACKAGES权限

from update.

maopf avatar maopf commented on May 27, 2024

亲测,可以用。 需要配置 未知来源应用安装权限 管理。
另外对于部分8.0、8.1的手机,在强制安装模式下,可能会出现无法解析安装包的bug,主要是UpdateUtil类 install方法 对于强制安装,执行 System.exit(0) 导致的。

那如果修改 System.exit(0)这里的代码呢?
直接注释就可以

from update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.