Попробуй так
Add(MainForm,10989090,476,133)
{
Height=436
}
Add(WinExec,8347366,805,140)
{
FileName="apktool.bat"
WorkingDir="C:\Windows\"
RunEvent=1
Point(doConsoleExec)
Point(doConsoleInput)
Point(onErrorExec)
Point(onConsoleResult)
Point(onConsoleError)
Point(onConsoleTerminate)
link(onErrorExec,4243533:doWork2,[])
link(onConsoleResult,3170289:doWork2,[])
link(onConsoleError,14340203:doWork2,[])
link(onConsoleTerminate,14340203:doWork3,[(879,181)])
}
Add(Button,5164603,588,140)
{
Left=15
Top=20
Width=200
Height=25
Caption="Декомпилировать"
link(onClick,9275401:doString,[])
}
Add(FormatStr,13856403,651,182)
{
Mask="b C:\Users\Andrey\Desktop\apktool\v"
link(onFString,220270:doWork3,[(697,188)])
}
Add(FormatStr,9275401,651,140)
{
Mask=" d C:\Users\Andrey\Desktop\apktool\v.apk -o C:\Users\Andrey\Desktop\apktool\v"
link(onFString,220270:doWork2,[])
}
Add(Button,4865148,588,182)
{
Left=15
Top=55
Width=200
Height=25
Caption="Компилировать"
link(onClick,13856403:doString,[])
}
Add(HubEx,220270,693,140)
{
link(onEvent,4946081:doReplace,[])
}
Add(Memo,11652268,945,154)
{
Top=100
Width=384
Height=297
ScrollBars=3
}
Add(Charset,1187958,903,154)
{
link(onCharset,11652268:doAdd,[])
}
Add(HubEx,4243533,875,154)
{
link(onEvent,1187958:doCharset,[])
}
Add(HubEx,3170289,875,161)
{
Angle=3
link(onEvent,4243533:doWork3,[])
}
Add(HubEx,14340203,875,168)
{
Angle=3
link(onEvent,3170289:doWork3,[])
}
Add(Replace,4946081,735,140)
{
SubStr="\"
DestStr="\\"
link(onReplace,8347366:doExec,[])
}
Судя по документации (https://ibotpeaches.github.io/Apktool/documentation/)
Надо указывать путь и для скомпилированного файла
$ apktool b bar -o new_bar.apk
// builds bar folder into new_bar.apk