I have an application that has been migrated from eclipse, it uses a component: link , but it generates error in opening the application, this way I had to comment the code that is below so that it was possible to compile the project, I need to do this component replacement so that the menu options are displayed, basically it mounts the application menu, there are only 3 screens of aap:
O código comentado foi este:
//alterado
//ActionBar actionBar = getSupportActionBar();
//actionBar.setTitle(" Sistema ");
//getSupportActionBar().setSubtitle(" TESTE");
//getSupportActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor("#1985CB")));
Error:Could not find com.android.support:appcompat-v7:22.2.1.
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/support/appcompat-v7/22.2.1/appcompat-v7-22.2.1.pom
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/support/appcompat-v7/22.2.1/appcompat-v7-22.2.1.jar
https://jcenter.bintray.com/com/android/support/appcompat-v7/22.2.1/appcompat-v7-22.2.1.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/22.2.1/appcompat-v7-22.2.1.jar
Required by:
:SafariProjetoPanda:unspecified
Please install the Android Support Repository from the Android SDK Manager.
<a href="openAndroidSdkManager">Open Android SDK Manager</a>