What am I doing wrong here!!?

Kimmowich

Member
Licensed User
Longtime User
Hey

Yesterday I started to make a small program..

When I was done and ready to run it.. it simply wouldnt..
No matter what I did the following error kept popping up:

Compiling code. 0.00
Generating R file. 0.00
Compiling generated Java code. Error
B4A line: 6
End Sub
javac 1.6.0_26

Today I started over.. and just to see how far I could get before that error would hit me again I ran the program very early on.. and I still get that error.

I tried minimize the program to an absolut minimum and I still get the error.

My other projects dont produce this error so im pretty lost here..

Would be nice if someone could take a look at it.. :)

sincerly
 

Attachments

Hi Your app compiles OK for me, can you compile an empty new project?

You could try using tools/clean project, and see if that helps.
 
Upvote 0
Hmm, Re-installing shouldn't cause you any issues, but as you say, if the others run OK, I think you may have to wait for Erel to take a look.
 
Upvote 0
I tried compiling several times here with v 1.8 of b4a. no compilation errors found here either. You may want to try creating a new .bal file if you haven't tried that yet.

The only anamolie
I had discovered in that your .zip file had contained a file plasma.bas in addition to plasma.b4a. I usuall don't see that when I create projects here. When I had looked at plasma.bas with a text editor outside of the IDE it looks ok but contains only the App framework and none of your written code whereas plasma.b4a contains both the framework and your code.
 
Last edited:
Upvote 0
I did that too. Will make a fresh reinstall of b4a when I get home later.

Btw. When I removed the code-module I have no problem compiling the project.

Sendt fra min GT-I9100 med Tapatalk
 
Upvote 0
What happens if you create a new module and re-write the code, rather than re attaching the existing module?
 
Upvote 0
Did start the project over twice.. and made a new code-module twice too.

to raytronixsystems:

The Plasma.bas is a stripped down code-module that still makes the error.

Thx for taking the time to look at it.. I will now try re-install B4A.

Im only flagging my problem because all my other projects works.. and this dosnt..

sincerly
 
Upvote 0
I've compiled it using B4A 1.8, Android SDK 4.0.3 (API 15) and the JDK 1.6.0_30 without issues.

Your older projects compile fine you say. Have you updated any of your SDKs since starting this one?

Cheers.
 
Upvote 0
I have updated the Android SDK

This is what i have:
B4A 1.8
Android SDK 4.0.3 API 15
JDK 1.6.0_30

re-installed B4A and I still get the error...

All prior projects compiles without problems.

:BangHead:
 
Upvote 0
This is the complete error-msg:

Compiling code. 0.00
Generating R file. 0.00
Compiling generated Java code. Error
B4A line: 6
End Sub
javac 1.6.0_26
src\plasma\b4a\test\main.java:305: cannot find symbol
symbol : class b4a
location: class plasma.b4a.test.plasma
return new Object[] {"Activity",_activity,"tp",_tp,"Panel1",_panel1,"plasma",Debug.moduleToString(plasma.b4a.test.plasma.class)};
^
1 error

Hope this helps
 
Upvote 0
Code:
return new Object[] {"Activity",_activity,"tp",_tp,"Panel1",_panel1,"p lasma",Debug.moduleToString(plasma.b4a.test.plasma .class)};

Is the space in "p lasma" actually there or an artifact of your copying the error line to post?
 
Upvote 0
Back
Top