Android Question No errors in debug mode but crashes in release mode

Scotter

Active Member
Licensed User
I am a newb to B4A.
I built this app over the last couple weeks.
I thought it was finally ready for release because no more bugs in debug mode.
But then I put it in release mode and the minute I open it on the phone, it crashes.
Link to project zip file (too big to attach because of images): https://www.dropbox.com/s/mnh0r1pagt069ss/Nutshell-02.zip?dl=0
Hoping someone wants to take a peek and let me know what I've missed.
Thank you!
 

MarcoRome

Expert
Licensed User
Longtime User
You have problem here in img ---> imgOceanMedia. Seem that a picture dont exist.
If you delete imageview and reinsert you'll have no problems

Caused by: java.io.FileNotFoundException: logo-oceanmedia-fish-02-185.jpg

HERE your project that work also in release mode.
 
Upvote 0

Scotter

Active Member
Licensed User
Your idea worked to eliminate that bug, thanks!
Now it is crashing in debug and release mode and I'm not sure why.
It only crashes if I tap on the last Banner. I can tap on every banner before that last one and it works perfectly. I checked, and the URL is there and goes to a valid domain.
Error occurred on line: 172 (Main)
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=HTTP://www.oceanmedia.net/... flg=0x20000 }
New version of project here: https://www.dropbox.com/s/mnh0r1pagt069ss/Nutshell-02.zip?dl=0
Thanks for any help you can give! I feel like I'm on the edge of finally having this thing done!
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
Your idea worked to eliminate that bug, thanks!
Now it is crashing in debug and release mode and I'm not sure why.
It only crashes if I tap on the last Banner. I can tap on every banner before that last one and it works perfectly. I checked, and the URL is there and goes to a valid domain.
Error occurred on line: 172 (Main)
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=HTTP://www.oceanmedia.net/... flg=0x20000 }
New version of project here: https://www.dropbox.com/s/mnh0r1pagt069ss/Nutshell-02.zip?dl=0
Thanks for any help you can give! I feel like I'm on the edge of finally having this thing done!

All your "HTTP" convert in "http"
 
Last edited:
Upvote 0
Top