Android Question [SOLVED] Error compiling B4A portion of B4x project after moving it to a different computer - animatedcounter.java:1: error

MrKim

Well-Known Member
Licensed User
Longtime User
Moved a B4x project to a different (computerB ) (I have done this before) B4J compiles and runs just fine on computerB ,
B4a compiles just fine on the other machine (computerA) but on computerB, I get the following:

compile error::
B4A Version: 11.80
Parsing code.    (0.25s)
    Java Version: 11
Building folders structure.    (0.31s)
Running custom action.    (0.07s)
Compiling code.    (0.55s)
Compiling layouts code.    (0.03s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.08s)
Linking resources    (0.51s)
Compiling debugger engine code.    (0.81s)
Compiling generated Java code.    Error
src\com\ISS\DC1\animatedcounter.java:1: error: cannot access com.MYCO.PROJ
package com.MYCO.PROJ;
^
  zip END header not found
1 error

javac 11.0.1

(B4i not working yet)

computerB was running an older version of B4a so I upgraded so the versions match, then instead of just copying the entire B4x project I zipped the B4a portion using B4a and moved it that way.

Same result.

I have an older version of the same project on computerB and that compiles just fine.

To recap: B4x project moved from computerA to computerB. B4j compiles fine on both. B4a compiles on computerA but on computerB I get the above error.

Any help appreciated.
 
Last edited:

MrKim

Well-Known Member
Licensed User
Longtime User
Create a new project and add the same list of libraries. Do you get this error?
Yes:
B4X:
.
.
.
Compiling debugger engine code.    (4.92s)
Compiling generated Java code.    Error
src\b4a\example\animatedcounter.java:1: error: cannot access b4a.example
package b4a.example;
^
  zip END header not found
1 error

javac 11.0.1
 
Upvote 0

MrKim

Well-Known Member
Licensed User
Longtime User
Create a new project and add the same list of libraries. Do you get this error?
Since, Yes, above I took an older copy of the same project and started adding in the new libs. The error occurred when I added jdbcSQL, although the error message is slightly different.
B4X:
.
.
Compiling debugger engine code.    (5.56s)
Compiling generated Java code.    Error
src\com\ISS\DC1\b4xmainpage.java:1: error: cannot access com.ISS.DC1
package com.ISS.DC1;
^
  zip END header not found
1 error

javac 11.0.1
the jdbcSQL version is 1.50 and shows as the same as the one online.
 
Upvote 0
Top