Custom attribute not resolved inside styles and theme

VSB*_*VSB 6 android gradle android-theme android-styles android-attributes

I have android application with custom themes which was developed 2-3 year ago. I had this stylable in my attr.xml resouce file:

<declare-styleable name="EVETextViewPlus">
    <attr name="customFont" format="string" />
    <attr name="pageStripFont" format="string" />
</declare-styleable>
Run Code Online (Sandbox Code Playgroud)

And I've used this inside my style_warm.xml resource file:

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android"
    <style name="style_display_page_title_warm">
        <item name="my.app.package.:pageStripFont">fonts/b_titr.ttf</item>
        <item name="android:textSize">25dp</item>
        <item name="android:textColor">@color/colorDisplayPageTitle</item>
    </style>
....
Run Code Online (Sandbox Code Playgroud)

When I'm going to sign my app, it checks for errors and prompts:

Cannot resolve symbol 'my.app.package:pageStripFont'

I should mention my.app.package is package name of my application defined in manifest.

This is piece of code which was working until 2 years ago and when I migrated my application to latest android SDK tools, Gradle and androidX, this error was eventually appeared and I don't know what's wrong.

我没有看到这个答案这一个,但我无法找到问题。

我也检查了这个这个看起来更令人振奋,但是我没有意识到如何解决该错误。

Jig*_*ani 3

替换这个

<item name="my.app.package.:pageStripFont">fonts/b_titr.ttf</item>
Run Code Online (Sandbox Code Playgroud)

有了这个

<item name="pageStripFont">fonts/b_titr.ttf</item>
Run Code Online (Sandbox Code Playgroud)