caikaidev / appupdate Goto Github PK
View Code? Open in Web Editor NEWandroid app update library
android app update library
报错信息如下
va.lang.IllegalStateException: Fragment DownLoadDialog{42a40288} not attached to Activity
我用的json 与demo 是一致的
单独请求apk 下载url 是正常可下载的,不清楚为什么得不到下载文件的大小
Error:org.gradle.api.resources.ResourceException: Could not get resource 'https://jitpack.io/com/github/rubensousa/gravitysnaphelper/1.0/gravitysnaphelper-1.0.pom'.
Error:org.gradle.api.UncheckedIOException: Could not HEAD 'https://jitpack.io/com/github/rubensousa/gravitysnaphelper/1.0/gravitysnaphelper-1.0.pom'. Received status code 401 from server: Unauthorized
Error:org.gradle.api.UncheckedIOException: Could not GET 'https://jitpack.io/com/github/bmelnychuk/atv/maven-metadata.xml'. Received status code 401 from server: Unauthorized
停止下载,点完后会报错,java.lang.IllegalStateException: Fragment DownLoadDialog{41900848} not attached to Activity,这个怎么解决啊?
后台下载,点完后不动任何地方没有问题,如果这时有其他操作,比如切换到别的app进行操作,就会卡死,没有反应,这个怎么解决啊?
为什么我下载的例子没有取消按钮,不能取消,也没有后台下载
我将代码放在welcome 页面中,先弹出了升级提示,但随后就被跳转的页面覆盖了,这个要怎么处理呢?
如题:release版本提示下载出错,dev版本正常,唯一区别就是混淆
能提供一下混淆文件吗?
在高版本上正常。
Thank you for this library.
Is it possible to replace
String.format("正在下载(%s/%s)"...
with
String.format(...string.someid+"(%s/%s)"
? (fragment of your code from decompilier)
Could you also transit all string values to library's string resourse file? And reveal list of ids of this strings for developers, which creates applications with another languages?
Sorry for my bad English :]
InputStream in = new BufferedInputStream(connection.getInputStream())
After using this library app gets update but Login Page appears again. Login Page should appear again
可否直接用HttpURLConnection写下载等逻辑,从而不必引入okhttp?
下载过程中,按返回键,也会报错,Fragment DownLoadDialog{2183a4f} not attached to Activity,这个错,怎么办?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.