簡體   English   中英

在包“android”中找不到屬性“textsize”的資源標識符

[英]No resource identifier found for attribute 'textsize' in package 'android'

錯誤:(14)在包“android”中找不到屬性“文本大小”的資源標識符錯誤:任務“:app:processDebugResources”的執行失敗。 com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/shubham/Android/Sdk/build-tools/23.0.1/aapt'' 以非完成零退出值 1

當我運行程序時,它給出了上述錯誤。 我如何解決它?

確保使用“textSize”屬性 - 沒有空格!

<TextView
    android:textSize="16sp"
    ... />

http://developer.android.com/reference/android/widget/TextView.html#attr_android:textSize

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM