在命令行输入命令,想查看到app的包名,报错,如下:
D:\测试\测试\android-sdk_r16-windows\android-sdk-windows\platform-tools>aapt dum
p badging testApp (8).apk
W/asset ( 6872): Asset path HaiWangApp is neither a directory nor file (type=1
).
ERROR: dump failed because assets could not be loaded
原因:app名称“testApp (8).apk”中有空格,将app名改为“testApp(8).apk”后就可查看到其包名了。