I have switched to Android Studio 3. After many problems that I fixed, I got these errors:
Why, in my layout do I get this error?
When I have commented out "@style/TextAppearance.StatusBar.EventContent"
, it gets uncommented out again after rebuild.
Above this layout page there is a note:
Files under build folder are generated and should not be edited
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:paddingRight="15dp"
android:text="سامانه پایش همراه"
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
android:textSize="18sp"
android:textStyle="bold" />
This is the complete layout,
and you can see whole Gradle config from this link.
This is my Gradle project.
The Android resource linking failed error can also occur if you have an error in any of your XML resources.
AAPT: Error: failed writing to '… \app\build\intermediates\runtim_symbol_list\debug\R. txt': … Error log. The cause of this issue is all about the combination of Android Gradle Plugin Version and Gradle Version.
To fix : 1st bring all the dependencies from your project to zoom sample application and check whether the same issue exist. 2nd comment your dependencies one by one and build the zoom sample application this will lead to finding the dependency that has conflict with zoom sdk .
I don't see TextAppearance.StatusBar.EventContent defined In your style : change it into defined style or remove it if it is unacessary
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With