"packageManager" showing an error!



In the previous chapter, you added that packageManager variable near the bottom of your onCreateView method.

You’ll need to define the code with an error after you create the packageManager variable. Just move that error code near the bottom of your method.

Does that solve your problem?


Hi sorry very new to all this…I get the same error…but don’t understand the solution.
Can you simplify .
Thanks mulilo