Я повторно использую старый проект webview после рефакторинга имен пакетов.
Но теперь выдает ошибку
Android resource linking failed
error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.homerevise.studyapp:style/Theme.AppCompat.Light.NoActionBar) not found.
Я посмотрел на это решение, но не уверен, как его применитьэто здесь. ошибка: не удалось связать ссылки.-> QueuedJob
Это styles.xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colortrans</item>
<item name="colorPrimaryDark">@color/colortrans</item>
<item name="colorAccent">@color/colortrans</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
</resources>
Я вставляю код сборки gradle ниже, который показывает ошибку при реализации строки 'com.android.support:appcompat-v7: 26.1.0 '
dependencies {
implementation 'com.google.firebase:firebase-core:17.0.0'
// implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.volley:volley:1.1.0'
implementation 'com.android.support:multidex:1.0.1'
// compile "me.leolin:ShortcutBadger:1.1.19@aar"
}
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:27.1.0'
}
}
Я не очень опытен в Android.Поэтому я не могу понять, почему это происходит.Любая помощь будет принята с благодарностью.Спасибо