You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ..
The text was updated successfully, but these errors were encountered:
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 ..
The text was updated successfully, but these errors were encountered: