Android Question Compiling generated Java code - File name or extension too long

Roberto P.

Well-Known Member
Licensed User
Longtime User
the compiler gives me this generic error and I can't understand where it comes from!
A few hours ago everything worked, I turned the PC back on and from this error.
can anyone give me some help please?


B4A Version: 9.50
Java Version: 8
Parsing code. (1.24s)
Building folders structure. (0.13s)
Compiling code. (0.92s)
Compiling layouts code. (0.08s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.00s)
Compiling generated Java code. Error
Nome del file o estensione troppo lunga

thank
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi Erel
in the same pc e disk of alwayis.

in the morning not problem in the aftwroom show this error?
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Something has changed in your computer. Only you can know.


it's a mistery :mad:! the error code does not help me understand which file is having problems ....
thank you
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
You still haven't answered what is the path of the project. Maybe it gets too long.

this is the path: L:\B4Developer\B4A\Works\MetaSolution
this has always been

I think I will reinstall B4A and change the path!
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
I changed the path and recompiled. after I tried to recompile in the previous path and it worked! it's incredible.

it solved itself!
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi
unfortunately the error still occurs. I have changed the path, updated the version but it doesn't compile. I can't understand which file is causing problems ?!

Here is the path of the application: L: \ B4Developer \ B4A \ Works \ MetaSolution \ MetaSB

1581013174717.png


I can't work, can you please help me.
thank in advance
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi Erel
I have done several tests but I have the same problem.

Here is the path and result:

C:\MetaSolution\MetaSB

1581058302108.png
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
yes, only on this project and this pc. on the laptop I have no problems!

for a few days it worked, then again error
 
Upvote 0

MicroDrie

Well-Known Member
Licensed User
It may seem like a stupid question, but is there still enough room on the device (šŸ¤­ like I got a strange error to) and PC?
Otherwise you can try the following step by step and rerun the program:
  1. Clean project to remove unnecessary files
  2. Change #ApplicationLabel to MetaSB (force a "clean" rollout without "strange" files from previous attempts)
  3. Remove BA Bridge
  4. Install BA Bridge again and Clean project
 
Upvote 0
Top