문제

When I try to use the aapt tool in command prompt, I am getting the error as I have mentioned in the below snapshot. Kindly let me know if I need to do some setup to run this tool

$ aapt dump badging C:\Users\pcuser\Desktop\KidsAPP\fun.apk

enter image description here

도움이 되었습니까?

해결책

First, make sure there is appt.exe in C:\Android\platform-tools,

Then try this code:

aapt dump badging C:\Users\pcuser\Desktop\KidsAPP\fun.apk

there is no $ in the command.

You also can enter into C:\Android\platform-tools by

 cd /d C:\Android\platform-tools

to execute the command.

다른 팁

If you do not have aapt in your platform tools folder, try to get the tools in following two links:

https://android-apktool.googlecode.com/files/apktool-install-windows-r05-ibot.tar.bz2

https://android-apktool.googlecode.com/files/apktool1.5.2.tar.bz2

just put all the files in same folder to run.

The aapt project page: https://android-apktool.googlecode.com/

set your android sdk path upto platform-tools in command line e.g if it exit in D:\android-sdks\platform-tools then set that path in command line and then run this command aapt dump badging C:\Users\pcuser\Desktop\KidsAPP\fun.apk

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top