• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing apktool: jar file problem

 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to install the apktool. I am using the following link:

APKTool
The link instructs to download the jar file and batch file and store it in the C:\Windows directory.
Batch file has following contents:

@echo off
if "%PATH_BASE%" == "" set PATH_BASE=%PATH%
set PATH=%CD%;%PATH_BASE%;
chcp 65001 2>nul >nul
java -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0\apktool.jar" %*

When I am executing batch file apktool.bat from command line, I am getting following error:
Error: Unable to access jarfile C:\Windows\apktool.jar
I have windows 10 Pro installed on my system. I have i7 machine. I have provided the path of "C:\Windows" directory in PATH system variable. Some body please guide me.

Zulfi
 
Zulfi Khan
Ranch Hand
Posts: 183
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am able to solve this problem. I downloaded the file apktool_2.3.4.jar. So I renamed it as apktool.jar and it solved my problem.

Zulfi.

 
reply
    Bookmark Topic Watch Topic
  • New Topic