K Kimmowich Member Licensed User Longtime User Jan 22, 2012 #1 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 plasma.zip plasma.zip 6.3 KB · Views: 364
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
stevel05 Expert Licensed User Longtime User Jan 22, 2012 #2 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
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.
K Kimmowich Member Licensed User Longtime User Jan 22, 2012 #3 I did that... made a new clean project twice... and I still get that error.. :BangHead: Upvote 0
stevel05 Expert Licensed User Longtime User Jan 22, 2012 #4 Sounds like it's possibly a configuration error then, you could try re-installing B4a. Upvote 0
K Kimmowich Member Licensed User Longtime User Jan 22, 2012 #5 I was affraid of that... Then again... my other projects compile flawless.. And that's what puzzels me Upvote 0
I was affraid of that... Then again... my other projects compile flawless.. And that's what puzzels me
stevel05 Expert Licensed User Longtime User Jan 22, 2012 #6 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
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.
R raytronixsystems Active Member Licensed User Longtime User Jan 22, 2012 #7 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: Jan 22, 2012 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.
K Kimmowich Member Licensed User Longtime User Jan 22, 2012 #8 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
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
stevel05 Expert Licensed User Longtime User Jan 22, 2012 #9 What happens if you create a new module and re-write the code, rather than re attaching the existing module? Upvote 0
What happens if you create a new module and re-write the code, rather than re attaching the existing module?
K Kimmowich Member Licensed User Longtime User Jan 22, 2012 #10 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
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
K Kimmowich Member Licensed User Longtime User Jan 22, 2012 #11 Re-installed B4a.. and the error still there... :BangHead: Upvote 0
S SiriusCG Member Licensed User Longtime User Jan 22, 2012 #12 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'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.
K Kimmowich Member Licensed User Longtime User Jan 23, 2012 #13 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
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:
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2012 #14 Can you post the complete compilation text? Upvote 0
K Kimmowich Member Licensed User Longtime User Jan 23, 2012 #15 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 Click to expand... Hope this helps 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 Click to expand... Hope this helps
S SiriusCG Member Licensed User Longtime User Jan 23, 2012 #16 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
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?
K Kimmowich Member Licensed User Longtime User Jan 23, 2012 #17 Nope.. the space isnt there in the error-msg.. dont know how it got there when I copied the text Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 24, 2012 #18 I now see this error too. It happens in Debug mode only. The problem happens because you have a code module named plasma and the package name starts with plasma. This causes a conflict in the debug code. Upvote 0
I now see this error too. It happens in Debug mode only. The problem happens because you have a code module named plasma and the package name starts with plasma. This causes a conflict in the debug code.
K Kimmowich Member Licensed User Longtime User Jan 24, 2012 #19 Thanks. that just shows frustrations can make you a little bit blind. Sendt fra min GT-I9100 med Tapatalk Upvote 0
Thanks. that just shows frustrations can make you a little bit blind. Sendt fra min GT-I9100 med Tapatalk