Android Question Packaging files error

Lori Scott

Member
Licensed User
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
Upvote 0

Lori Scott

Member
Licensed User
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

Lori Scott

Member
Licensed User
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

Lori Scott

Member
Licensed User
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

Lori Scott

Member
Licensed User
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
Top