Underc0de

Foros Generales => Dudas y pedidos generales => Mensaje iniciado por: binar1io en Mayo 14, 2016, 09:06:00 PM

Título: [SOLUCIONADO] Cómo instalar apk-multitool
Publicado por: binar1io en Mayo 14, 2016, 09:06:00 PM
Buenas Noches Compañeros el dia de hoy es estado instalando la app apk-multitool y no eh podido aun estos son los pasos a seguir segun el READMEN que trae el instalador aca los pasos :

Installing APK Multi-Tool Itself
Instructions (Linux):
- Create a folder in your sdk called "APK-Multi-Tool" and put the contents of the extracted APK-Multi-Tool into it or Rename the extracted APK-Multi-Tool folder to just APK-Multi-Tool and put it into the sdk folder.
- Go to the the "sdk/APK-Multi-Tool" folder and rename "Script.sh" to "script.sh".
- Go into the "other" folder, right click on one executable file at a time, select properties, go to "permissions" in the new window and check the "allow file to be run as a program" box (do this with all the executables/.exe's).
- Open a terminal in the APK-Multi-Tool folder (or type in terminal: cd "PATH TO THE script.sh"). Type in:
  chmod 755 script.sh
- chmod 755 all files inside other folder. (thanks for the tip bkmo  )
- Install "sox": Open the software center of the linux service and searched for sox. Once installed you will have SOX working
- To add the path to your folder open up a terminal and type in:
  sudo su
  PATH=$PATH:/THE PATH TO YOUR "SCRIPT.SH"
  (for me this looks like the following)
  PATH=$PATH:/home/username/sdk/APK-Multi-Tool
- Export PATH:Open up a terminal in the APK-Multi-Tool folder (or type in terminal: cd "PATH TO THE script.sh") and type in:
  export PATH={PATH}:/PATH TO Your SDK/sdk/platform-tools/adb
  (for me this looks like the following)
  export PATH={PATH}:/home/username/sdk/platform-tools
  ("username" is the user name that appears on your computer).
- Now open a terminal in the APK-Multi-Tool folder (or type in terminal: cd "PATH TO THE script.sh") and type in:
  ./script.sh

Y esto es lo que yo hago:

1-- descomprimo el  .tar en la carpeta SDK que cree con mkdir SDK
2 cd SDK/APK
3 --  chmod 755 *.sh
4 .. chmod 755 other/*.*
5  --- PATH=$PATH:SDK/APK/script.sh
6-- creo otra carpeta en la carpeta SDK mkdir SDk/PLATFORM-TOOls
-7-- export PATH={PATH}:sdk/platform-tools/adb
8 ./script.sh

el abre la aplicacion pero no hace nada y cuando cierro la terminal y vuelvo a ejecutar el script.sh me aparece el siguiente msj:

oading defaults & preferences... Done.
Checking required binaries & files...

The program optipng is missing or is not in your PATH.

Please install it or fix your PATH variable


The program adb is missing or is not in your PATH.

Please install it or fix your PATH variable


The program aapt is missing or is not in your PATH.

Please install it or fix your PATH variable

Y no se que hacer alguien lo instalo sin problemas de antemano muchas gracias feliz noche.... ;) ;) ;) ;) ;) ;)
Título: Re:AYUDA!!!!!!! como instalar apk-multitool
Publicado por: D3ivid en Mayo 15, 2016, 10:58:44 AM
Muy buenas @binar1io (https://underc0de.org/foro/index.php?action=profile;u=53972) nosé mucho de linux, pero dice que no está creado el path. Modifica el paso numero 5 para que quede de esta manera

--- PATH=$PATH:/SDK/APK/script.sh     Por lo que he visto en internet para declarar una path debes poner $path dos puntos y diagonal, en tu ejemplo no veo la diagonal, quizás sea eso.

Por último para asegurarte de que tienes la variable de entorno bien hecha pon este comando
$ echo $PATH

Así verás todas las variables creadas, espero serte de ayuda
Título: Re:AYUDA!!!!!!! como instalar apk-multitool
Publicado por: binar1io en Mayo 15, 2016, 10:42:45 PM
buenas noches Gracias por responder.

es correcto me faltaba una diagonal y adicional a eso se debe realizar de la siguiente manera para que pueda funcionar adecuadamente:

- descomprimo el  .tar en la carpeta SDK que cree con mkdir SDK
2 cd SDK/APK
3 --  chmod 755 *.sh
4 .. chmod 755 other/*.*
5  --- PATH=$PATH:/root/SDK/APK/script.sh
6-- creo otra carpeta en la carpeta SDK mkdir SDk/PLATFORM-TOOls
-7-- export PATH={PATH}:/root/sdk/APK/  *** se exporta el patch eb la misma carpeta donde esta es script.sh ****
8 ./script.sh

de esta manera la aplicacion instalada sin problema alguno!!

Muchas Gracias por la ayuda