Android Question Why has my app stopped installing?

Sam H

Member
Licensed User
Longtime User
I recently accidentally re-ran the debugger, with the my app still running with the debugger in the background. Since then my when I run the debugger I have lost the prompt that tells me to re-install the app. I have re-connected my device (f2), un-installed the app from my device, restarted my device, restarted B4A, but nothing works. Any ideas? Thanks
 

Sam H

Member
Licensed User
Longtime User
There is no problem with rerunning the debugger when it is connected. I don't think that it is related.

Have you tried Tools - Clean Project?

Thanks very much, that seems to have done the trick. Out of curiosity, what does "Clean Project" do?

However, when I get an error while running my code the debugger no-longer highlights the line that the error occurred on. I recently, used the "Release" option when de-bugging, which is when all my problems seemed to start. The error on the device is "Unfortunately, <app name> has stopped", rather than "Paused on line..." which it always used to say. It will also still works without the debugger once it has been installed even though I have deleted the "Release.apk" from the device.

Thanks for such a quick response as always
 
Upvote 0

Sam H

Member
Licensed User
Longtime User
I found the problem was actually that I had initialised an object twice. I am using Debug(legacy) as I have some old code which won't debug in rapid mode. This perhaps explains the unusual error.

Thanks
 
Upvote 0

Sam H

Member
Licensed User
Longtime User
I'm afraid to say the problem has came back, the prompt to install the app is no longer displaying. Tools - Clean Project is having no effect. Any suggestions. Thanks
 
Upvote 0
Top