AnandGupta Expert Licensed User Longtime User Mar 15, 2021 #1 I use a real phone with usb and it works fine. But at times I need the emulator (phone not available, need to check on tablet size or big phone size). Now when I start avd manager in B4A 10.6, I get below error, Since I understand that I should not run sdk manager as it will corrupt B4A so I need help here. How to create a avd of different size ? Regards, Anand
I use a real phone with usb and it works fine. But at times I need the emulator (phone not available, need to check on tablet size or big phone size). Now when I start avd manager in B4A 10.6, I get below error, Since I understand that I should not run sdk manager as it will corrupt B4A so I need help here. How to create a avd of different size ? Regards, Anand
Erel B4X founder Staff member Licensed User Longtime User Mar 15, 2021 #2 AnandGupta said: Since I understand that I should not run sdk manager as it will corrupt B4A so I need help here. Click to expand... It won't corrupt. The main error might be related to the SDK not being unzipped properly. Upvote 0
AnandGupta said: Since I understand that I should not run sdk manager as it will corrupt B4A so I need help here. Click to expand... It won't corrupt. The main error might be related to the SDK not being unzipped properly.
agraham Expert Licensed User Longtime User Mar 15, 2021 #3 Erel said: The main error might be related to the SDK not being unzipped properly. Click to expand... Almost certainly. I've seen that exact error as well. Use 7-Zip to install a new SDK, and if the error recurs try again as I think that I have seen at least one bad unzip causing that error with 7-Zip. Upvote 0
Erel said: The main error might be related to the SDK not being unzipped properly. Click to expand... Almost certainly. I've seen that exact error as well. Use 7-Zip to install a new SDK, and if the error recurs try again as I think that I have seen at least one bad unzip causing that error with 7-Zip.
AnandGupta Expert Licensed User Longtime User Mar 16, 2021 #4 agraham said: Almost certainly. I've seen that exact error as well. Use 7-Zip to install a new SDK, and if the error recurs try again as I think that I have seen at least one bad unzip causing that error with 7-Zip. Click to expand... Yes. Used 7-Zip and right click and extract to folder. Avd now runs without any error. Curious I checked the 'open archive' option and I found that there are few .jar files which are not visible in the archive but are extracted !! Do not know how, but this may be the problem in extracting using anything but 7-Zip. Regards, Anand Upvote 0
agraham said: Almost certainly. I've seen that exact error as well. Use 7-Zip to install a new SDK, and if the error recurs try again as I think that I have seen at least one bad unzip causing that error with 7-Zip. Click to expand... Yes. Used 7-Zip and right click and extract to folder. Avd now runs without any error. Curious I checked the 'open archive' option and I found that there are few .jar files which are not visible in the archive but are extracted !! Do not know how, but this may be the problem in extracting using anything but 7-Zip. Regards, Anand
agraham Expert Licensed User Longtime User Mar 16, 2021 #5 AnandGupta said: but this may be the problem in extracting using anything but 7-Zip. Click to expand... No. The main problem seems to be with Windows File Explorer. On occasion it seems to mangle the uncompressed folder structure. I know that some people are aware of this at Microsoft as I have seen a recommendation on one Microsoft site (can't remember which) carrying this warning to not use File Explorer to unzip the download. Last edited: Mar 16, 2021 Upvote 0
AnandGupta said: but this may be the problem in extracting using anything but 7-Zip. Click to expand... No. The main problem seems to be with Windows File Explorer. On occasion it seems to mangle the uncompressed folder structure. I know that some people are aware of this at Microsoft as I have seen a recommendation on one Microsoft site (can't remember which) carrying this warning to not use File Explorer to unzip the download.
AnandGupta Expert Licensed User Longtime User Mar 16, 2021 #6 agraham said: The main problem seems to be with Windows File Explorer. Click to expand... I never use Windows File Explorer. I also checked from TC and it show those .jar files in a separate "lib_" folder. So when extracted from TC, it creates "lib_" folder with .jar files and avd gives error. Regards, Anand Upvote 0
agraham said: The main problem seems to be with Windows File Explorer. Click to expand... I never use Windows File Explorer. I also checked from TC and it show those .jar files in a separate "lib_" folder. So when extracted from TC, it creates "lib_" folder with .jar files and avd gives error. Regards, Anand
agraham Expert Licensed User Longtime User Mar 16, 2021 #7 Interesting! I assume TC is Total Commander. It looks like similar folder structure mangling to what File Explorer does. I wonder what triggers the problem? It could be the file names or something else in the archive it doesn't like. Upvote 0
Interesting! I assume TC is Total Commander. It looks like similar folder structure mangling to what File Explorer does. I wonder what triggers the problem? It could be the file names or something else in the archive it doesn't like.
AnandGupta Expert Licensed User Longtime User Mar 18, 2021 #8 agraham said: Interesting! I assume TC is Total Commander. Click to expand... Yes and giving benefit of doubt to TC, I further investigated and found 7-Zip does shows the said jar files but in a '_' folder. At least now we know 7-Zip extracts them properly in correct parent folder. Regards, Anand Upvote 0
agraham said: Interesting! I assume TC is Total Commander. Click to expand... Yes and giving benefit of doubt to TC, I further investigated and found 7-Zip does shows the said jar files but in a '_' folder. At least now we know 7-Zip extracts them properly in correct parent folder. Regards, Anand