在命令行输入命令,想查看到app的包名,报错,如下:
D:测试测试android-sdk_r16-windowsandroid-sdk-windowsplatform-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”后就可查看到其包名了。