Appium 1.6.1 cannot find IDs or Xpaths from a screen

Greetings.
I’ve been working with Appium 1.6.1 to make an automatization project using Java, Spring and Maven. While most of the cases are able to work perfectly with the Ids and Xpaths in some screens, there are other screens where the code cannot look into Ids or Xpaths despite being able to visualize them clearly via tools such as uiautomatorviewer or Appium Studio.
The Id and Xpath directions are being managed in a properties file, and after double checking them, they are correct with the elements on screen. The Appium logs only execute code up until they enter one of said screens, only to stop when searching any element by Id or Xpath.

The test:

public void webviewAlerts(){
		boolean testResult[] = new boolean[2], caseResult = Boolean.TRUE;
		try{
			testResult[0] = notificationsScreenActions.lookNFeelNotifications();
			notificationsScreenActions.clickAlertsBtn();
			testResult[1] =notificationsScreenActions.webviewAlerts();
				for(boolean b : testResult) if (!b) caseResult=Boolean.FALSE;
			setTestSuccess(caseResult);
		}catch(TimeoutException e){
			setTestSuccess(Boolean.FALSE);
			setMessage(e.getMessage());
		}catch(NoSuchElementException e){
			setTestSuccess(Boolean.FALSE);
			setMessage(e.getMessage());
		}
	}

The method with the issue itself:

public boolean lookNFeelNotifications() {
		boolean elementCheck[] = new boolean[4], caseIsCorrect = Boolean.TRUE;
		elementCheck[0]=hasText(getComponent().getTitleByXpath(),notifTitle,10);
		elementCheck[1]=hasText(getComponent().getTransactionsOptionByXpath(),transBtn, 10);
		elementCheck[2]=hasText(getComponent().getAlertsOptionByXpath(),alertBtn,10);
		elementCheck[3]=hasText(getComponent().getPromotionsOptionByXpath(),promotionBtn,10);
			for(boolean b : elementCheck) if (!b) caseIsCorrect=Boolean.FALSE;
		return caseIsCorrect;
	}

The code tries to look for the text title of the screen through Xpath and keeps looking for it indefinitely despite being on a method that stops the test if no Id or Xpath is found within 10s. I have not been able to find a solution to my problem, and it’s an urgent issue for a couple sets of tests.

The tests are being performed on an Android Galaxy S6 with an Android 7.0 OS. The server that Appium uses is 1.8.0. The project’s capabilities are as follows:

appium.server.url= http://localhost:4723/wd/hub

capabilities.deviceName=Galaxy S6
capabilities.platformName=Android
capabilities.platformVersion=7.0
capabilities.automationName = Appium
capabilities.noReset=true
capabilities.autoGrantPermissions=true

I appreciate any help you may provide.