Answer the question
In order to leave comments, you need to log in
Errors when changing Git branches when working in Android Studio, how to fix?
Android Studio 3.1.2
I was working on a project, changed the branch from master to testing, and got a lot of errors, what should I do?
Android resource linking failed
Output: /home/valentin/Programming/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/Programming/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/Programming/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/Programming/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/Programming/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/Programming/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/Programming/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/Programming/SmartNovotroitsk/app/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
- o\
/home/valentin/Programming/SmartNovotroitsk/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
-R\
@/home/valentin/Programming/SmartNovotroitsk/app/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
/home/valentin /Programming/SmartNovotroitsk/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
--custom-package\
com.example.smartnok\
-0\
apk\
--output-text-symbols\
/home/valentin/Programming /SmartNovotroitsk/app/build/intermediates/symbols/debug/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question