本文介绍了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.
推荐答案
我遇到过这个问题,在下面的终端命令中缺少 (.)dot
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 转储标记失败“转储失败,因为资产无法加载"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!