I found an issue: the returned path of this line code shouldn't be true.
_File file = new File(Environment.DIRECTORY_DOWNLOADS + "/allsafe_updater.apk");
should return this path /Download/allsafe_updater.apk_
and the download directory does not exist and can't even be created.
It should be written this way: _File file = new File("/sdcard/" + Environment.DIRECTORY_DOWNLOADS + "/allsafe_updater.apk");_
Hello Developer,
I found an issue: the returned path of this line code shouldn't be true. _
File file = new File(Environment.DIRECTORY_DOWNLOADS + "/allsafe_updater.apk");
should return this path/Download/allsafe_updater.apk
_ and the download directory does not exist and can't even be created.It should be written this way: _
File file = new File("/sdcard/" + Environment.DIRECTORY_DOWNLOADS + "/allsafe_updater.apk");
_Tested ..