AndroidAppUpdateLibrary icon indicating copy to clipboard operation
AndroidAppUpdateLibrary copied to clipboard

FileNotFoundException

Open deepakrakh opened this issue 4 years ago • 8 comments

java.io.FileNotFoundException: https://github.com/Piashsarker/AndroidAppUpdateLibrary/raw/master/app-debug.apk 2021-01-04 15:38:07.086 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251) 2021-01-04 15:38:07.086 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210) 2021-01-04 15:38:07.086 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26) 2021-01-04 15:38:07.087 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at com.dcastalia.localappupdate.DownloadApk$DownloadNewVersion.doInBackground(DownloadApk.java:133) 2021-01-04 15:38:07.088 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at com.dcastalia.localappupdate.DownloadApk$DownloadNewVersion.doInBackground(DownloadApk.java:54) 2021-01-04 15:38:07.088 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:333) 2021-01-04 15:38:07.088 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 2021-01-04 15:38:07.089 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245) 2021-01-04 15:38:07.089 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 2021-01-04 15:38:07.089 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 2021-01-04 15:38:07.089 7420-7468/com.netsurf.ajaybiotechtest W/System.err: at java.lang.Thread.run(Thread.java:764)

deepakrakh avatar Jan 04 '21 10:01 deepakrakh

same here.. any solutions??

midou221 avatar May 01 '21 20:05 midou221

@deepakrakh @midou221 Which Android version you tried this on?

cyb3rko avatar Sep 05 '21 08:09 cyb3rko

@cyb3rko can we close this issue?

Piashsarker avatar Sep 06 '21 11:09 Piashsarker

Not quite sure if this issue was due to using higher Android versions. @deepakrakh or @midou221 would have to test it out.

cyb3rko avatar Sep 06 '21 15:09 cyb3rko

@cyb3rko im using android 8 @Piashsarker You can close because i switched to another library

midou221 avatar Sep 06 '21 15:09 midou221

@midou221 For me it works with Android 8. Could you provide us with some more details to reproduce it?

Have you tried the sample app or is it your own project? I updated many things, you can try it out with the new version of this library.

@Piashsarker Leave it open to fix it at some point

cyb3rko avatar Sep 06 '21 15:09 cyb3rko

@midou221 to which library did you switch?

h0jeZvgoxFepBQ2C avatar Jan 11 '22 14:01 h0jeZvgoxFepBQ2C

@h0jeZvgoxFepBQ2C Does the update still not work for you? Because we added the compatibility with higher Android versions.

cyb3rko avatar Jan 11 '22 14:01 cyb3rko