Home > Mobile >  Bosses, please help have a look, why don't getsupportactionbar method USES
Bosses, please help have a look, why don't getsupportactionbar method USES

Time:10-09

It has been hinted that always resolve method getSupportActionBar, also have no what can import, baidu for a long time also didn't find a solution, is there any who can help me solve the

CodePudding user response:

The import android. Support. V7. App. AppCompatActivity;


V7 packages have this method

CodePudding user response:

is also dedicated to under such a package, I am under the official website of the latest version of the as

CodePudding user response:

Don't need you increase in gradle v7 jar package under the as will find their own the jar package

CodePudding user response:

You getSupportActionBar () should be wrapped v7, you can, to guide the kits to replace AppCompatActivity and ActionBar with v7 package

CodePudding user response:

  , I put it yesterday loading and unloading, loading and unloading, and finally again with version 3.2