簡體   English   中英

在運行程序時在android中出現aapt錯誤

[英]getting aapt error in android while running the program

我經常收到此錯誤消息

我完美地安裝了所有組件

錯誤

幾天前,我遇到了同樣的問題。 不知道該解決方案是否也適用於您,但是如果症狀相同,則可以嘗試一下。

1. I have an antivirus that moved aapt.exe to the quarantine. 
   Hence check the settings of the antivirus if you have one, 
   and place the folder that contains aapt.exe 
   (that means all the versions) into the exclusion folder.

2. Once that is done, If the antivirus complains that aapt wants to modify 
things and it may harm the system, select watch if you have 
such an option (or basically allow, and keep under watch).

3. And build the project again.

希望對您有所幫助並為您工作。

嘗試這個..

1)檢查您的xml或檢查是否有任何寫錯的東西

2)清理您的項目

3)否則關閉月食並重新開始

我也發生了同樣的問題,這將是我的style.xml文件,因此我使用適當的syntex更改了它,並且在重新啟動Eclipse之后得到了解決。

希望這對您有所幫助。

暫無
暫無

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

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