Giter VIP home page Giter VIP logo

Comments (2)

chiclaim avatar chiclaim commented on July 30, 2024

@lihuanming 例子会有日志输出的,没有安装,点击再次下载,应该是去获取本地的apk,本地的apk路径获取成功了吗?

from androiddownloader.

chiclaim avatar chiclaim commented on July 30, 2024

1)关于下载后没有安装还会下载,因为demo的包名和下载下来的apk包名不一样;如果android7.0或以上由于uri不是真实的下载地址,apkInfo为空,也会重新下载
2)关于apkInfo为空的问题
这个问题还是android7.0或以上版本的查询出来的 uri不同:
android7.0以下 apk uri 是这样的:file:///storage/emulated/0/Android/data/com.chiclaim.android.updater.app/files/Download/update.apk
android7.0以上 是这样的: content://downloads/all_downloads/298
所以获取的apkInfo为null,关于android7.0的问题已修复!

from androiddownloader.

Related Issues (19)

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.