J Juzer Hussain Active Member Licensed User Longtime User Sep 14, 2015 #1 Hi, My app is compiling fine in debug mode but when i try to compile in release mode it says main_activity_create (java line: 369). "Object should first be initialized (ImageView)".I have checked all activities there is not a single imageview which is directly declared and used without initializing. No clue whats happening. Pls help. Thanks Juzer
Hi, My app is compiling fine in debug mode but when i try to compile in release mode it says main_activity_create (java line: 369). "Object should first be initialized (ImageView)".I have checked all activities there is not a single imageview which is directly declared and used without initializing. No clue whats happening. Pls help. Thanks Juzer
Erel B4X founder Staff member Licensed User Longtime User Sep 15, 2015 #2 Can you post the full error message from the logs (right click to copy)? Upvote 0
J Juzer Hussain Active Member Licensed User Longtime User Sep 15, 2015 #3 Sure, Here it is. Attachments ImageView.JPG 75.2 KB · Views: 415 Upvote 0
J Juzer Hussain Active Member Licensed User Longtime User Sep 15, 2015 #4 Erel, I removed imageviews from the main form and it compiled. After successful compilation again in many activities it is showing same issue and the app is not working properly. Is there something to be done for image view. I just copied imageview in files and refrenced file in designer. Juzer Upvote 0
Erel, I removed imageviews from the main form and it compiled. After successful compilation again in many activities it is showing same issue and the app is not working properly. Is there something to be done for image view. I just copied imageview in files and refrenced file in designer. Juzer
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2015 #5 Please post the full error message as text. The first error is missing in the screenshot. Upvote 0
J Juzer Hussain Active Member Licensed User Longtime User Sep 17, 2015 #6 Erel, I was not in the office. I faced the same issue again in Gallery form where images were there.I tried every way finally i had to remove all images and added them afresh it solved the problem.Thanks for your replies. Juzer Upvote 0
Erel, I was not in the office. I faced the same issue again in Gallery form where images were there.I tried every way finally i had to remove all images and added them afresh it solved the problem.Thanks for your replies. Juzer