P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #1 Could anyone tell me where the compiler looks for Zipalign. I have spent 2 days trying to get the compiler to find it! I installed android 27 on a new computer. The compiler failed saying zipalign file not found. I copied zipalign to the same folder as android.jar. I thought that was where the compiler would look for it. I have installed b4a on many computers over the years and not had this problem before! Many Thanks
Could anyone tell me where the compiler looks for Zipalign. I have spent 2 days trying to get the compiler to find it! I installed android 27 on a new computer. The compiler failed saying zipalign file not found. I copied zipalign to the same folder as android.jar. I thought that was where the compiler would look for it. I have installed b4a on many computers over the years and not had this problem before! Many Thanks
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #2 https://www.b4x.com/b4a.html Follow the instructions here to setup a new SDK. The old SdkManager does not work anymore. Use the B4A SKDManager to setup a new one. Upvote 0
https://www.b4x.com/b4a.html Follow the instructions here to setup a new SDK. The old SdkManager does not work anymore. Use the B4A SKDManager to setup a new one.
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #3 I paid to upgrade to the latest version so that I could use the B4A sdk manager! I have no idea why it won't work. I have downloaded everything more than once! Upvote 0
I paid to upgrade to the latest version so that I could use the B4A sdk manager! I have no idea why it won't work. I have downloaded everything more than once!
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #4 It's a shame that the compiler doesn't you where it's looking for the file. It would then be simple to put it there. Upvote 0
It's a shame that the compiler doesn't you where it's looking for the file. It would then be simple to put it there.
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #5 If B4A is not able to find it then you probably have done something wrong. Or missed something. You ARE using the new SDKManager? You DID configure the IDE to use the new SDK (File-Configure paths)? Upvote 0
If B4A is not able to find it then you probably have done something wrong. Or missed something. You ARE using the new SDKManager? You DID configure the IDE to use the new SDK (File-Configure paths)?
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #6 Yes to both questions. The pity is that if I could find out where it should be I could put it there! Do you happen to know if the file name is simply zipalign? It's not zipalign.exe or something? Upvote 0
Yes to both questions. The pity is that if I could find out where it should be I could put it there! Do you happen to know if the file name is simply zipalign? It's not zipalign.exe or something?
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #8 it is usually in SDK-Path\build-tools\27.0.1 Upvote 0
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #9 Yes I've found a file in there called zipalign not zipalign.exe. Unfortunately there is no android.jar file there so I can't set the android.jar path to it. I cannot understand how this could have happened! Upvote 0
Yes I've found a file in there called zipalign not zipalign.exe. Unfortunately there is no android.jar file there so I can't set the android.jar path to it. I cannot understand how this could have happened!
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #10 please post a screenshot of the B4A SKDManager. It does not help if you mean you need to end every sentence with a exclamation mark (!) Upvote 0
please post a screenshot of the B4A SKDManager. It does not help if you mean you need to end every sentence with a exclamation mark (!)
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2018 #11 1. As DonManfred wrote, please post a screenshot of B4A SdkManager and also of Tools - Configure Paths. 2. Please post the full text from the compilation window. Upvote 0
1. As DonManfred wrote, please post a screenshot of B4A SdkManager and also of Tools - Configure Paths. 2. Please post the full text from the compilation window.
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #12 I reloaded everything apart from Java and now the SDK manager button in the IDE doesn't work. Upvote 0
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #13 I seem to now be missing aapt.exe. Could you tell me how to take screenshots. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2018 #14 Please post a screenshot of Tools - Configure Paths. Upvote 0
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #15 peggjones said: Could you tell me how to take screenshots. Click to expand... Google Upvote 0
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #16 I'm sorry I can't seem to take a screen shot. When I click on screen shot nothing happens Upvote 0
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #17 peggjones said: When I click on screen shot nothing happens Click to expand... The Screenshot is copied to the clipboard. Use Paint or any other Graphicssoftware to Paste the Image from the Clipboard. Or use an Screenshot-tool One example: http://hyperionics.com/ Download Hypersnap and install it. Upvote 0
peggjones said: When I click on screen shot nothing happens Click to expand... The Screenshot is copied to the clipboard. Use Paint or any other Graphicssoftware to Paste the Image from the Clipboard. Or use an Screenshot-tool One example: http://hyperionics.com/ Download Hypersnap and install it.
P peggjones Active Member Licensed User Longtime User Mar 12, 2018 #18 This is a copy of the compile error I got. In case that might help. I am no longer able to get as far the zipalign error. B4A Version: 7.80 Parsing code. (0.24s) Compiling code. (0.85s) Compiling layouts code. (0.06s) Organizing libraries. (0.01s) Generating R file. Error Cannot find: C:\Android\sdk-tools-windows-3859397\platform-tools\aapt.exe Please configure paths (Tools - Configure Paths). Upvote 0
This is a copy of the compile error I got. In case that might help. I am no longer able to get as far the zipalign error. B4A Version: 7.80 Parsing code. (0.24s) Compiling code. (0.85s) Compiling layouts code. (0.06s) Organizing libraries. (0.01s) Generating R file. Error Cannot find: C:\Android\sdk-tools-windows-3859397\platform-tools\aapt.exe Please configure paths (Tools - Configure Paths).
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2018 #19 It is clear that you are not using B4A Sdk Manager. I recommend you to take your time and carefully follow the installation instructions: https://www.b4x.com/b4a.html There is also a video that demonstrates all the required steps. Upvote 0
It is clear that you are not using B4A Sdk Manager. I recommend you to take your time and carefully follow the installation instructions: https://www.b4x.com/b4a.html There is also a video that demonstrates all the required steps.
DonManfred Expert Licensed User Longtime User Mar 12, 2018 #20 peggjones said: C:\Android\sdk-tools-windows-3859397\platform-tools\aapt.exe Click to expand... in C:\Android\ only the folder tools should be at start.... So i guess you did not copied the content of the ZIP. You extracted the zip to a folder named like the zip and this folder you copied???? Upvote 0
peggjones said: C:\Android\sdk-tools-windows-3859397\platform-tools\aapt.exe Click to expand... in C:\Android\ only the folder tools should be at start.... So i guess you did not copied the content of the ZIP. You extracted the zip to a folder named like the zip and this folder you copied????