添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
温暖的牛排  ·  贵阳市见义勇为基金会·  4 周前    · 
耍酷的回锅肉  ·  Android ...·  4 月前    · 
八块腹肌的数据线  ·  当 TiDB 遇见 ...·  10 月前    · 
){outline:none;box-shadow:none;}select::-ms-expand{;}:root,:host{--chakra-vh:100vh;}@supports (height: -webkit-fill-available){:root,:host{--chakra-vh:-webkit-fill-available;}}@supports (height: -moz-fill-available){:root,:host{--chakra-vh:-moz-fill-available;}}@supports (height: 100dvh){:root,:host{--chakra-vh:100dvh;}}
Avatar of Saqib Husain

error: failed linking references.

Hi, getting this error in Android Studio.
error: failed linking references.
I have no idea what to look for next. Please help
Provide entire output, as text, for problem you're seeing.
Context is required to attempt a solution.
As David mentioned more context or info might be required for accurate assistance but in the meantime.. lets give you some ideas about this type of errors.
As our world is getting more "digital" than ever, some users are getting more distracted and even forgetting or just don't understanding how technology is helping and affecting their day to day activities.
That being said, let get to the point... You see this because the document you are trying to view or open has a reference (link) to "something" that can't be accessed. This type of error will come usually into place when several conditions are met:
1.  There is no internet.
2.  The linked object (mail, file, internet page, drive, etc.) can't be reached.
3.  You don't have rights to open the file (if this is an internal document, email).
4.  The document is corrupted.
For all of the above the you might be able to solve only 1 & 4 on your own... get your internet on and by downloading or getting a new copy of the document.  with the other 2 you might need external help.
Good Luck!
Android resource linking failed
Output:  E:\Android\RktCounter\mobile\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml:7: error: resource android:attr/colorError not found.
E:\Android\RktCounter\mobile\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml:11: error: resource android:attr/colorError not found.
E:\Android\RktCounter\mobile\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
E:\Android\RktCounter\mobile\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:234: error: resource android:attr/fontStyle not found.
E:\Android\RktCounter\mobile\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:234: error: resource android:attr/font not found.
E:\Android\RktCounter\mobile\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:234: error: resource android:attr/fontWeight not found.
error: failed linking references.
Command: C:\Users\HP\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\4b9babb21a73ba282dbc631ed370dc4a\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
        C:\Users\HP\AppData\Local\Android\Sdk\platforms\android-25\android.jar\
        --manifest\
        E:\Android\RktCounter\mobile\build\intermediates\split-apk\debug\resources\AndroidManifest.xml\
        E:\Android\RktCounter\mobile\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
        @E:\Android\RktCounter\mobile\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
        --auto-add-overlay\
        --java\
        E:\Android\RktCounter\mobile\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
        --custom-package\
        com.example.t4cjv037.rktcounter\
        --preferred-density\
        xhdpi\