JavaShuo
欄目
標籤
Android AAPT重新生成R文件報錯:First type is not attr!
時間 2021-07-10
標籤
Android 報錯
欄目
Android
简体版
原文
原文鏈接
今天在寫腳本的時候涉及到反編譯,反編譯之後替換所有資源文件以及smali文件,之後就是使用android aapt工具來重新生成R文件,沒想到在運行的時候報錯了,first type is not attr,問了度娘,基本上說是由於apk包是as中的aapt2打出來的,而apktool使用的是aapt,所以生成R文件的時候的時候出現了是用aapt去生成aapt2打的包,最好的解決方法就是替換最新的
>>阅读原文<<
相關文章
1.
Android 回編譯First type is not attr和No resource identifier found for attribute 'usesCleartextTraffi問題
2.
Android R文件生成
3.
Android Studio R文件報錯
4.
xml文件報錯——URI is not registred……
5.
Python報錯: argument of type 'builtin_function_or_method' is not iterable
6.
python報錯:TypeError: ‘type‘ object is not subscriptable
7.
Eclipse導入android項目包xml報錯未生成R文件
8.
Android項目R文件丟失報錯
9.
Android Studio神坑之R文件報錯
10.
R 報錯:package ‘***’ is not available (for R version ****) 的解決方案
更多相關文章...
•
R XML 文件
-
R 語言教程
•
R CSV 文件
-
R 語言教程
•
Docker容器實戰(七) - 容器眼光下的文件系統
•
SpringBoot中properties文件不能自動提示解決方法
相關標籤/搜索
attr
aapt
生成XMl文件
重要文件
Android 文件
type
錯報
報錯
成報
報文
Android
PHP 7 新特性
R 語言教程
MyBatis教程
文件系統
插件
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
微軟準備淘汰 SHA-1
2.
Windows Server 2019 Update 2010,20H2
3.
Jmeter+Selenium結合使用(完整篇)
4.
windows服務基礎
5.
mysql 查看線程及kill線程
6.
DevExpresss LookUpEdit詳解
7.
GitLab簡單配置SSHKey與計算機建立連接
8.
桶排序(BucketSort)
9.
桶排序(BucketSort)
10.
C++ 桶排序(BucketSort)
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Android 回編譯First type is not attr和No resource identifier found for attribute 'usesCleartextTraffi問題
2.
Android R文件生成
3.
Android Studio R文件報錯
4.
xml文件報錯——URI is not registred……
5.
Python報錯: argument of type 'builtin_function_or_method' is not iterable
6.
python報錯:TypeError: ‘type‘ object is not subscriptable
7.
Eclipse導入android項目包xml報錯未生成R文件
8.
Android項目R文件丟失報錯
9.
Android Studio神坑之R文件報錯
10.
R 報錯:package ‘***’ is not available (for R version ****) 的解決方案
>>更多相關文章<<