Apktool: dot in folder name crashes apktool

Created on 28 May 2018  路  2Comments  路  Source: iBotPeaches/Apktool

Information

  1. Apktool 2.3.3
  2. Windows
  3. PlayStore

Steps to Reproduce

c:\svm>"java.exe" -jar "C:\svm\tools\apktool\apktool_2.3.3.jar" b "c:\TEMP\kodiak\Android_nextel.apk_28_05_2018-12_21_43\"

I: Using Apktool 2.3.3
brut.directory.DirectoryException: java.io.FileNotFoundException: c:\TEMP\kodiak\Android_nextel.apk_28_05_2018-12_21_43" (El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del volumen no son correctos)

The problem is the name of directory. if name is ".apk"
if you eliminate the dot (".") in directory "Android_nextel.apk_28_05_2018-12_21_43" the problem is fixed

Most helpful comment

Tested on both windows and unix. Just made decoded directories the package name, so "foo.bar.baz" and had no issue.

All 2 comments

Okay, so using a "dot" in the folder name doesn't work. I haven't confirmed yet but just investigating tickets.

Tested on both windows and unix. Just made decoded directories the package name, so "foo.bar.baz" and had no issue.

Was this page helpful?
0 / 5 - 0 ratings