Ошибки при смене Git-веток при работе в Android Studio, как фиксить?

Android Studio 3.1.2
Работал над проектом, сменил ветку с master на testing, и получил множество ошибок, что делать?

Android resource linking failed
Output: /home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/activity_child__page.xml:36: error: resource string/tab_text_1 (aka com.example.smartnok:string/tab_text_1) not found.
/home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/activity_child__page.xml:42: error: resource string/tab_text_2 (aka com.example.smartnok:string/tab_text_2) not found.
/home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/activity_child__page.xml:48: error: resource string/tab_text_3 (aka com.example.smartnok:string/tab_text_3) not found.
/home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/activity_child__page.xml:54: error: resource string/tab_text_4 (aka com.example.smartnok:string/tab_text_4) not found.
/home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/fragment_fragment1__child.xml:9: error: resource string/fragment1_child (aka com.example.smartnok:string/fragment1_child) not found.
/home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/fragment_fragment2__child.xml:9: error: resource string/fragment2_child (aka com.example.smartnok:string/fragment2_child) not found.
/home/valentin/Программирование/SmartNovotroitsk/app/src/main/res/layout/screen_child.xml:8: error: resource string/screen_child (aka com.example.smartnok:string/screen_child) not found.
error: failed linking file resources.

Command: /home/valentin/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/c0cf98eabde217847c0cf89936f4feae/aapt2-3.2.1-4818971-linux/aapt2 link -I\
/home/valentin/Android/Sdk/platforms/android-28/android.jar\
--manifest\
/home/valentin/Программирование/SmartNovotroitsk/app/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
-o\
/home/valentin/Программирование/SmartNovotroitsk/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
@/home/valentin/Программирование/SmartNovotroitsk/app/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/home/valentin/Программирование/SmartNovotroitsk/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--custom-package\
com.example.smartnok\
-0\
apk\
--output-text-symbols\
/home/valentin/Программирование/SmartNovotroitsk/app/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0
  • Вопрос задан
  • 153 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы