Lori Scott Member Licensed User Jul 26, 2018 #1 I am learning to use B4A. It has worked fine through several tutorials. Today I am working through XUI Cross Platform example. When I try to run it, I get this message. How can I fix this? My Compile window says: B4A Version: 8.30 Parsing code. (0.00s) Compiling code. (0.28s) Compiling layouts code. (0.01s) Organizing libraries. (0.00s) Generating R file. (0.09s) Compiling generated Java code. (1.23s) Convert byte code - optimized dex. (1.65s) Packaging files. Error NOTE: nothing to do In my B4A SDK Manager, it says at the bottom - Download: https://dl.google.com/dl/android/maven2/master-index.xml Is that the solution? Side question - Sometimes when I post in this forum, I can paste an image copied from the Snipping Tool. Other times (like this post), I cannot, although it allows me to paste text. Why is this and how can I overcome this?
I am learning to use B4A. It has worked fine through several tutorials. Today I am working through XUI Cross Platform example. When I try to run it, I get this message. How can I fix this? My Compile window says: B4A Version: 8.30 Parsing code. (0.00s) Compiling code. (0.28s) Compiling layouts code. (0.01s) Organizing libraries. (0.00s) Generating R file. (0.09s) Compiling generated Java code. (1.23s) Convert byte code - optimized dex. (1.65s) Packaging files. Error NOTE: nothing to do In my B4A SDK Manager, it says at the bottom - Download: https://dl.google.com/dl/android/maven2/master-index.xml Is that the solution? Side question - Sometimes when I post in this forum, I can paste an image copied from the Snipping Tool. Other times (like this post), I cannot, although it allows me to paste text. Why is this and how can I overcome this?
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2018 #2 Lori Scott said: I cannot, although it allows me to paste text. Why is this and how can I overcome this? Click to expand... Not sure, however it is better to post text instead of screenshots. The error looks like a configuration error. Have you followed the installation instructions: https://www.b4x.com/b4a.html#installation ? Upvote 0
Lori Scott said: I cannot, although it allows me to paste text. Why is this and how can I overcome this? Click to expand... Not sure, however it is better to post text instead of screenshots. The error looks like a configuration error. Have you followed the installation instructions: https://www.b4x.com/b4a.html#installation ?
Lori Scott Member Licensed User Jul 30, 2018 #3 Yes, I worked with those instructions. I have the path to javac.exe set as: C:\Program Files\Java\jdk1.8.0_172\bin\javac.exe I have the path to sdkmanager.bat set to: C:\android\tools\bin\sdkmanager.bat The path to android.jar was set to: C:\sdk-tools-windows-4333796\platforms\android-27\android.jar. I changed it to: C:\android\platforms\android-27\android.jar These two android.jar files have the same modified date (may be the download date) and the same file size. Changing this did not eliminate the Packaging files error in the Compile window. I have no paths set for Additional Libraries or for Shared Modules. The project in this tutorial (XUI Cross Platform Example) is linking to existing modules. I linked using an absolute path. Upvote 0
Yes, I worked with those instructions. I have the path to javac.exe set as: C:\Program Files\Java\jdk1.8.0_172\bin\javac.exe I have the path to sdkmanager.bat set to: C:\android\tools\bin\sdkmanager.bat The path to android.jar was set to: C:\sdk-tools-windows-4333796\platforms\android-27\android.jar. I changed it to: C:\android\platforms\android-27\android.jar These two android.jar files have the same modified date (may be the download date) and the same file size. Changing this did not eliminate the Packaging files error in the Compile window. I have no paths set for Additional Libraries or for Shared Modules. The project in this tutorial (XUI Cross Platform Example) is linking to existing modules. I linked using an absolute path.
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2018 #4 Other projects work correctly, right? Upvote 0
Lori Scott Member Licensed User Aug 20, 2018 #5 Please pardon my delay... Yes, other B4J and B4A projects work fine. This problem arose when I tried to work through the XUI Cross Platform Example tutorial. Upvote 0
Please pardon my delay... Yes, other B4J and B4A projects work fine. This problem arose when I tried to work through the XUI Cross Platform Example tutorial.
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2018 #6 Can you upload the project (File - Export as zip)? Upvote 0
Lori Scott Member Licensed User Sep 4, 2018 #7 Attached is the project that is giving the problem. Attachments xuiB4JtoB4AUnitConverter.zip xuiB4JtoB4AUnitConverter.zip 392.1 KB · Views: 456 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 5, 2018 #8 Two classes are missing. You should use File - Export as zip to create the zip file. Upvote 0
Lori Scott Member Licensed User Sep 5, 2018 #9 Sorry, new zip file attached. Attachments xuiB4JtoB4AUnitConverter.zip xuiB4JtoB4AUnitConverter.zip 12.2 KB · Views: 438 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 6, 2018 #10 Compiles fine here. Where is the project saved? Upvote 0
Lori Scott Member Licensed User Sep 6, 2018 #11 That project is saved on my network drive at: P:\B4X\B4A\xuiB4JtoB4AUnitConverter\xuiB4JtoB4AUnitConverter.b4a My other B4A projects (that work) are similarly saved in P:\B4X\B4A\[folder]\[file.b4a] Upvote 0
That project is saved on my network drive at: P:\B4X\B4A\xuiB4JtoB4AUnitConverter\xuiB4JtoB4AUnitConverter.b4a My other B4A projects (that work) are similarly saved in P:\B4X\B4A\[folder]\[file.b4a]
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2018 #12 Probably related to the network drive. Try to save it locally. Upvote 0
Lori Scott Member Licensed User Sep 7, 2018 #13 Thank you, Erel. I saved it locally and from there it works just fine. Do you have any idea why this one project (and a few others I've tried since) won't work from the network drive when others do? Upvote 0
Thank you, Erel. I saved it locally and from there it works just fine. Do you have any idea why this one project (and a few others I've tried since) won't work from the network drive when others do?
Erel B4X founder Staff member Licensed User Longtime User Sep 9, 2018 #14 Hard to say. Probably related to the compiler generated resources. Upvote 0