Unable to fix "cannot resolve R character" from Android Studio

Well, this is a long story, but in order to illustrate how this happened, please let me blah blah blah ...

So, let's go:

First of all, I want to declare 2 things:

1. I saw this question:

Another similar question asked earlier. (but ... which did not solve my problem.)

2. My computer system Elementary OS 64bit , which is based on Ubuntu .

Then this is what I met:

enter image description here

As a result, I left the game, I tried to clear the project:

Assembly β†’ Clean Project

And I crash, This is the message I received from the Android Studio terminal:

: : /home/glenn/Softwares/Android/Sdk/build -tools/21.1.2/aapt s -i /home/glenn/Proj _Android/DroneKit-Android-Starter-0dbaf9478c864a9a9ff46cd2b3793399c21bc9cf/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-mdpi/abc_btn_switch_to_on_mtrl_00012.9.png -o/home/glenn/Proj_Android/DroneKit-Android-Starter-0dbaf9478c864a9a9ff46cd2b3793399c21bc9cf/app/build/intermediates/res/debug/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png : 127 : /home/glenn/Softwares/Android/Sdk/build -tools/21.1.2/ aapt: , : libstd++. so.6: file: /home/glenn/Softwares/Android/Sdk/build-tools/21.1.2/aapt: : libstd++. so.6: file: /home/glenn/Softwares/Android/Sdk/build -tools/21.1.2/aapt: : libstd++. so.6: file: : app: mergeDebugResources FAILED /home/glenn/Softwares/Android/Sdk/build -tools/21.1.2/aapt: : libstd++. so.6: file: /home/glenn/Softwares/Android/Sdk/build -tools/21.1.2/aapt: : libstd++. so.6: file:

, :

aapt: , : libstd++. so.6: file:

 , aapt, ,

sudo apt-get install lib32std++ 6 lib32z1 lib32z1-dev

enter image description here

,

sudo apt-get install lib32gcc1

,

libc6-i386,

, , libc6,

, libc6,

enter image description here

, ?

+4

Source: https://habr.com/ru/post/1616865/


All Articles