Coder Social home page Coder Social logo

Comments (10)

AlexLiuSheng avatar AlexLiuSheng commented on May 18, 2024

是静默下载?

from checkversionlib.

AlexLiuSheng avatar AlexLiuSheng commented on May 18, 2024

我知道了 这是个bug马上修复

from checkversionlib.

AlexLiuSheng avatar AlexLiuSheng commented on May 18, 2024

compile 'com.allenliu.versionchecklib:library:1.6.3' 你看解决了关闭下issue

from checkversionlib.

grliao avatar grliao commented on May 18, 2024

代码逻辑还是有点问题的文件,存在先删除,后续再创建.

from checkversionlib.

grliao avatar grliao commented on May 18, 2024
        if (file.exists()) {
            file.delete();
        } else {
            file.createNewFile();
        }

from checkversionlib.

AlexLiuSheng avatar AlexLiuSheng commented on May 18, 2024

现在还是不行吗?之前是少了个动态读写权限申请 这个逻辑是保证每次下载都是重新下载

from checkversionlib.

grliao avatar grliao commented on May 18, 2024

是的,错误是:
java.io.FileNotFoundException: /storage/emulated/0/AllenVersionPath/com.allenliu.sample.apk: open failed: EACCES (Permission denied)

from checkversionlib.

AlexLiuSheng avatar AlexLiuSheng commented on May 18, 2024

按理说不会存在这个问题了,库已经做了权限申请,如果不行你自己在项目中先申请权限

from checkversionlib.

grliao avatar grliao commented on May 18, 2024

弹出申请权限确认框,导致Activity已经关闭,你把你的demo先删除再安装看看就清楚了.

from checkversionlib.

AlexLiuSheng avatar AlexLiuSheng commented on May 18, 2024

1.6.4已经解决了

from checkversionlib.

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.