B4A-Bridge app crashes in Desinger

aaronk

Well-Known Member
Licensed User
Longtime User
Hello,

When I use the B4A-Bridge on my Samsung SGII 4G phone to view the Designer (to see what it looks like on my phone) it works great.

But when I am done I exit the designer and it seems to crash the app.

I have tired closing the app before I close the designer but still crashes.
I have tried disconnecting first in the designer but still crashes.

What I mean by crashes is that when I close the designer the app just hangs and about 10-20 seconds later it says:

Sorry!
Activity B4A-Bridge (in application B4A-Bridge) is not responding
[Force Close] [Wait]

I then tap on Force close and need to reopen the B4A-Bridge app again.

Am I closing the designer wrong when connected?
 

BarrySumpter

Active Member
Licensed User
Longtime User
Are u running with Debug mode or Release mode?
If running in Debug mode you may need to stop the debugger first.

Everyonce in a while I need to remove all versions of my app on the phone / emulator.

You could also try to disonnct the bridge first.

I feel that sometimes these crashes or test runs or emulators build up to where I can't get the phone to work/connect.

So I just reboot both the phone and the pc.

Other times I'll check the windows taks manager and have 6 or 7 adb.exe running.
I'll exit b4a, wait a few seconds, then end proceess the remaining adb.exe processes.
Then start b4a again.




hth
 
Last edited:
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
it seems to work fine in Debug mode when I run the whole code.

It only crashes when in designer (eg moving buttons etc around and seeing it update on the device).

Soon as I get out of the 'Designer' screen it seems to crash the B4A-Bridge app.

When I run the app on the device in debug mode it works fine only crashes in the designer screen.
 
Upvote 0
Top