Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed linking references #81

Open
SalmaYassin opened this issue Jun 6, 2020 · 1 comment
Open

failed linking references #81

SalmaYassin opened this issue Jun 6, 2020 · 1 comment

Comments

@SalmaYassin
Copy link

Android resource linking failed
E:\and-nd-firebase-1.00-starting-point\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2096: error: resource android:attr/fontStyle not found.
E:\and-nd-firebase-1.00-starting-point\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2097: error: resource android:attr/font not found.
E:\and-nd-firebase-1.00-starting-point\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2098: error: resource android:attr/fontWeight not found.
E:\and-nd-firebase-1.00-starting-point\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2099: error: resource android:attr/fontVariationSettings not found.
E:\and-nd-firebase-1.00-starting-point\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2100: error: resource android:attr/ttcIndex not found.
error: failed linking references.

@FakhruddinBadshah
Copy link

Add this to graddle properties
android.useAndroidX=true
android.enableJetifier=true
Then in build.gradle in app module
implementation 'androidx.appcompat:appcompat:1.0.0'
write this by replacing android support v7.....
and do the same in Main Activity import statment replace
import android support v7 with
import androidx.appcompat.app.AppCompatActivity;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants