aapt转储标记失败“转储失败,因为无法加载资产". [英] aapt dump badging fails "dump failed because assets could not be loaded"
本文介绍了aapt转储标记失败“转储失败,因为无法加载资产".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在 apk 上运行 aapt dump Badging 时,出现以下错误
When I run the aapt dump badging on my apk I get the below error
W/asset (17217): Asset path Users/username/Downloads/appname.apk is neither a directory nor file (type=1).
ERROR: dump failed because assets could not be loaded
我找不到原因.
我正在使用iMac.
I couldn't find why it happens.
I'm using iMac.
推荐答案
在我的情况下,我遇到了这个问题,因为它在以下终端命令中缺少(.)点.
I have faced this problem in my case it was missing of the (.)dot in following terminal command
./aapt dump badging /Users/username/Documents/Android/Release/PROD/appname.apk
希望这会有所帮助
这篇关于aapt转储标记失败“转储失败,因为无法加载资产".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文