Android Question Object should first be initailized(ImageView)

Matteo Granatiero

Active Member
Licensed User
if I use the debug function I do not give this error and everything proceeds correctly, but if I use the relase version it gives me this error.
P.S. I use the tag function, I read that this could be the problem but I'm not sure
I cleaned the project, updated the SDK but the error exists in the relase version
B4X:
Imageview4.tag ="1"
 

ilan

Expert
Licensed User
Longtime User
if I use the debug function I do not give this error and everything proceeds correctly, but if I use the relase version it gives me this error.
P.S. I use the tag function, I read that this could be the problem but I'm not sure
I cleaned the project, updated the SDK but the error exists in the relase version
B4X:
Imageview4.tag ="1"

where is the error log?
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Error occurred on line: 35 (cameraa)
It's the Activity.LoadLayout("camera") but the name is correct and the file exist

you should post the error logs and the relevant code, otherwise, we cannot help you.
 
Upvote 0

Matteo Granatiero

Active Member
Licensed User

Attachments

  • Immagine.png
    Immagine.png
    133.8 KB · Views: 229
Upvote 0

Matteo Granatiero

Active Member
Licensed User
I solved it, it gave me an error because I deleted an image that is no longer used and there are no more references on it. But for not having the error, I put it back
 
Upvote 0
Top