0
I have an app that was migrated from the eclipse, it uses a component: http://actionbarsherlock.com/, but it generates error in opening the application, so I needed to comment on the code below so that it was possible to compile the project, I need to replace this component so that the menu options are visualized , basically it mounts the application menu, are only 3 aap screens:
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>
use: extends Appcompatactivity
– Caique Oliveira