• 15

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

When I try using Android Studio 3.3.2 with the Android Q Beta 2 SDK, classes that are new to Beta 2 (over Beta 1) are not recognized by the Android Studio editor:

Android Studio Editor, Showing Unrecognized Symbols

However, the app builds and runs just fine. So, the compiler sees the symbols, but not the editor.

What gives?

Apparently, Android Studio (at least 3.3.2) is not realizing that the SDK changed, and so its indexes are out of date.

To clear up the problem, choose "File" > "Invalidate Caches and Restart" from the Android Studio main menu. This will force Android Studio to re-index the SDK and should allow those symbols to be recognized.

  • 1
Reply Report