Error Myfirstprogram

jonta

Member
Licensed User
Longtime User
Error Myfirstprogram

--------------------------------------------------------------------------------

I have started today with bASIC4ANDROID and tried to make the first example in the book.

I copied all the code keeping the instructions but when I try to run in the emulator or in my Samsung galaxy s2 I get the same error:



Sorry,

The application Myfirstprogram(process b4a.myfirstprogram) has stopped unexpectedly. Please try again.

Force close




I have checked all many times I don´t find the mistake which causes this error.



Anyone can help me?
 

admac231

Active Member
Licensed User
Longtime User
I have no idea why this is the case but don't put a number in the first part of the package name.

So right now yours is b4a.myfirstprogram which force closes.

com.b4a.myfirstprogram works just fine though. You can change this by going to Project >> Package Name.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I'm afraid that you changed once the package name to all lower case characters. There is a problem with B4A version 1.8 with this.
I got the same problem with the code you posted.
You should clean the project:
in the IDE menu Tools/Clean Project
After this the program works.

Best regards.
 
Upvote 0
Top