G GuyBooth Active Member Licensed User Longtime User Jan 9, 2023 #1 On my current "Conversion to B4XPages" project, I have a problem every time I compile my code. When I first open B4A and compile my project, there is no problem I change some code, then compile again. The result it this screen, after which nothing else happens - the code doesn't load into my device, and even though the buttons in the ide indicate that it is running, it is not. When I hit the "Stop" button in the IDE and compile a second time it behaves as I expect, with this screen This is obviously incorrect Any thoughts? I am wondering if this is connected to another issue I am having.
On my current "Conversion to B4XPages" project, I have a problem every time I compile my code. When I first open B4A and compile my project, there is no problem I change some code, then compile again. The result it this screen, after which nothing else happens - the code doesn't load into my device, and even though the buttons in the ide indicate that it is running, it is not. When I hit the "Stop" button in the IDE and compile a second time it behaves as I expect, with this screen This is obviously incorrect Any thoughts? I am wondering if this is connected to another issue I am having.
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2023 #2 Are you using a real device? B4A-Bridge or USB? What happens if you manually launch the app after the first window? Upvote 0
Are you using a real device? B4A-Bridge or USB? What happens if you manually launch the app after the first window?
DonManfred Expert Licensed User Longtime User Jan 10, 2023 #3 Erel said: B4A-Bridge or USB? Click to expand... Look at the compiling-window-output ;-) (2nd Screen) B4A-Bridge in RapidDebug Upvote 0
Erel said: B4A-Bridge or USB? Click to expand... Look at the compiling-window-output ;-) (2nd Screen) B4A-Bridge in RapidDebug
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2023 #4 True. I guess that B4A-Bridge fails to start the app for some reason. Try to start it manually and see if it works. Upvote 0
True. I guess that B4A-Bridge fails to start the app for some reason. Try to start it manually and see if it works.
agraham Expert Licensed User Longtime User Jan 10, 2023 #5 Maybe lacking the 'draw over' permission. I think I have seen this when B4ABridge does not come to foreground. Upvote 0
Maybe lacking the 'draw over' permission. I think I have seen this when B4ABridge does not come to foreground.
AnandGupta Expert Licensed User Longtime User Jan 10, 2023 #6 agraham said: Maybe lacking the 'draw over' permission. I think I have seen this when B4ABridge does not come to foreground. Click to expand... I have similar experience and always try to keep it foreground before compiling. Upvote 0
agraham said: Maybe lacking the 'draw over' permission. I think I have seen this when B4ABridge does not come to foreground. Click to expand... I have similar experience and always try to keep it foreground before compiling.
G GuyBooth Active Member Licensed User Longtime User Jan 10, 2023 #7 I'm running a real device (Galaxy S10e) with B4A-Bridge. I don't understand why it is saying "Running the previously successful shell app" when I have changed the code. Today, after restarting everything, I can't reproduce the problem.... Try to start it manually and see if it works. Click to expand... If the problem comes back I'll check out these other questions. Upvote 0
I'm running a real device (Galaxy S10e) with B4A-Bridge. I don't understand why it is saying "Running the previously successful shell app" when I have changed the code. Today, after restarting everything, I can't reproduce the problem.... Try to start it manually and see if it works. Click to expand... If the problem comes back I'll check out these other questions.
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2023 #8 GuyBooth said: I don't understand why it is saying "Running the previously successful shell app" when I have changed the code. Click to expand... The debugger is quite sophisticated and in many cases can use the same mechanism that is used for hot code swapping to rerun your project without a full compilation. If the error returns I suggest to switch to USB debug mode. Upvote 0
GuyBooth said: I don't understand why it is saying "Running the previously successful shell app" when I have changed the code. Click to expand... The debugger is quite sophisticated and in many cases can use the same mechanism that is used for hot code swapping to rerun your project without a full compilation. If the error returns I suggest to switch to USB debug mode.