小编Abd*_*dul的帖子

属性工厂附件未找到

我在使用材质组件时无法运行项目.

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'android.arch.lifecycle:extensions:1.1.1'

    implementation 'com.facebook.fresco:fresco:1.11.0'
    implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
    implementation  'com.fxn769:pix:1.2.5'




    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:support-v4:28.0.0'

}
Run Code Online (Sandbox Code Playgroud)

错误日志:

Android资源链接失败输出:D:\ Android Projects\Ghar3\app\src\main\res\layout\main_layout.xml:23:错误:属性fabAttached(aka com.recreation.ghar:fabAttached)未找到.错误:链接文件资源失败.

命令:C:\ Users\Abdul Qadir.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\93d85fd8448aa5b91b30eb47e2faac6a\aapt2-3.2.1-4818971-windows\aapt2.exe链接-I\D:\ sdk\Android\sdk\platforms\android-28\android.jar\--manifest\D:\ Android Projects\Ghar3\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest. xml\-o\D:\ Android Projects\Ghar3\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\-R\@D:\ Android Projects\Ghar3\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\--auto-add-overlay\--java\D:\ Android Projects\Ghar3\app\build\generated \not_namespaced_r_class_sources\debug\processDebugResources\r\--custom-package\com.recreation.ghar\-0\apk\--output-text-symbols\D:\ Android Projects\Ghar3\app\build\intermediates\symbols\debug\R.txt\--no-version-vectors守护进程:AAPT2 aapt2-3.2.1-4818971-windows守护进程#0

android material-design

9
推荐指数
1
解决办法
2880
查看次数

未找到样式属性“app:attr/cornerRadius”

我从下面的代码中收到编译时错误。

<style name="TextButton">
        <item name="android:textSize">12sp</item>
        <item name="fontFamily">@font/raleway_bold</item>
        <item name="app:backgroundTint">@color/colorPrimary</item>
        <item name="app:cornerRadius">25dp</item>
        <item name="app:rippleColor">@color/colorAccent</item>
        <item name="android:textColor">@color/whiteFont</item>
</style>
Run Code Online (Sandbox Code Playgroud)

android android-layout material-design

2
推荐指数
1
解决办法
1230
查看次数

标签 统计

android ×2

material-design ×2

android-layout ×1