Giter Site home page Giter Site logo

kefir500 / apk-editor-studio Goto Github PK

View Code? Open in Web Editor NEW
928.0 30.0 119.0 15.3 MB

Powerful yet easy to use APK editor for PC and Mac.

Home Page: https://qwertycube.com/apk-editor-studio/

License: GNU General Public License v3.0

C++ 93.43% Batchfile 0.12% Shell 0.13% Python 0.30% CMake 5.30% Objective-C++ 0.61% C 0.11%
apk-editor apk-decompiler apktool qt

apk-editor-studio's Introduction

APK Editor Studio

Build Status (GitHub Actions) Latest Release Download Count License Donate via PayPal Become a Patron

APK Editor Studio is a powerful yet easy to use APK reverse-engineering tool written in C++/Qt.

Downloads

Features

  • Resource Manager
  • Icon Editor
  • Title Editor
  • Image Editor
  • Code Editor
  • Manifest Editor
  • Permission Editor
  • Android Explorer
  • Signature Viewer
  • APK Cloner
  • APK Signer
  • APK Optimizer
  • APK Installer

Compilation

Follow the compilation guide if you want to manually build APK Editor Studio from source.

Translation

To improve the crowdsourcing experience for non-developers, this project is translated on Transifex. Please follow the translation instructions and avoid direct editing of the language files in this repo.

Third-Party Components

Notice

The repacked APK files should not violate the original licenses.

apk-editor-studio's People

Contributors

bovirus avatar kefir500 avatar madguyyy avatar wakdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apk-editor-studio's Issues

apksigner does not verify apks signed by apk editor

I added my own keystore, and when I edit a file and save it, and transfer ir to my linux box, and verify it using apksigner 0.8 it says this:

apksigner verify --verbose --print-certs -Werr 3.apk
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Number of signers: 1
Signer #1 certificate DN: CN=XXX, OU=XXX, O=XXX, L=XX, ST=XX, C=XX
Signer #1 certificate SHA-256 digest: 6d10f63293b22811e3594fda32046bebb2a14fd5f60e56179aa1d0ddeff20882
Signer #1 certificate SHA-1 digest: 44396f81ce9153e62cba10e427e556cb86fdbaae
Signer #1 certificate MD5 digest: b03255f394c102752dde18e2729717e5
Signer #1 key algorithm: RSA
Signer #1 key size (bits): 2048
Signer #1 public key SHA-256 digest: 2356ebc8b84b8d4d0b7849052bc3e8b2a7ea67863f3ed720d5d9f125be340821
Signer #1 public key SHA-1 digest: befe52c988993ba380542727c2e90818fd0c09d4
Signer #1 public key MD5 digest: 684a1e6aac5d9c9be38b7713134b326c
WARNING: JAR signer UPLOAD.RSA: JAR signature META-INF/UPLOAD.SF references unknown APK signature scheme ID: 3
WARNING: APK Signature Scheme v2 signer #1: Unknown signature algorithm: 0x421

Add AppImage deployment to Travis CI

Compile APK Editor Studio on Travis CI upon each git push, and upload an AppImage for Linux to your GitHub Releases page.

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

TODO

  1. https://github.com/appimage/appimagekit
    1.1 https://github.com/probonopd/linuxdeployqt
    1.2 https://github.com/probonopd/uploadtool

PLEASE NOTE: For this to work, you need to enable Travis CI for your repository as described here prior to merging this, if you haven't already done so. Also, You need to set up GITHUB_TOKEN in Travis CI for this to work; please see https://github.com/probonopd/uploadtool.

For example, take a look on on Android File Transfer for Linux repo on GitHub:

If you have questions, AppImage developers (i.e. @probonopd and other) are on #AppImage on irc.freenode.net

C:/Java/jdk-12.0.2_windows-x64_bin.exe/bin/java: Process failed to start: System cannot find specified file

I installed the program and when I open an APK, it returns this error. I added all the java paths, including the bin folders, and it still doesn't work. I reinstalled Java multiple times but I am unable to fix this problem. Issue #2 is similar to this, but the solution that I saw there didn't work, and since it was closed I couldn't ask. Need help.

The original error is in spanish:

C:/Java/jdk-12.0.2_windows-x64_bin.exe/bin/java: Process failed to start: El sistema no puede encontrar el archivo especificado.

Support for relative tool paths

Currently, the software still does not support opening files with file names containing UTF-8 characters (when opening these files, you will receive an unpacking error). I hope the next update will support opening these files.
Also, the current version of ADB has the issue (although I don't know exactly what the problem is), please replace it with the latest version here: https://developer.android.com/studio/releases/platform-tools
When signing the APK I use a custom key, which is stored at D:/APK Editor Studio/tools/mykey.jsk. I want to use it in another computer, and for others (I'm using the portable version). But not everyone decompresses the software with the above path, so I hope the next version will have a path variable instead of just being able to use the absolute path as now.

For example:
Current: D:/APK Editor Studio/tools/mykey.jsk
Next version: %variable_path%/tools/mykey.jsk (%variable_path% = "Drive letter":/APK Editor Studio)
Or just: tools/mykey.jsk or ./tools/mykey.jsk at "Keystore path".

In addition, please improve APK compression (can add the APK compression level menu in the settings so users can choose the APK compression level they want), by default raising it to 9 (highest). The current APK compression ability is much less than the APK Editor Pro software on Android.
Thanks very much.

Warning about change of encoding or retain encoding

I had a UTF-16-encoded XML file with BOM that started with:

<?xml version="1.0" encoding="utf-16"?>

After editing the file, the discrepancy between encoding="utf-16" and a UTF-8-encoded file broke the app. I didn't immediately realize that and had to do some digging and comparing. (When I did, I changed the text to encoding="utf-8".)

So, a solution would be to do what the title says. If the second option has to wait, the first option may be a quick fix that should be prioritized (message should include a word on the above problem).

Project improvements proposal

@kefir500

Switch default to 1.5.0 (current beta).
master (1.4.0) it's a close project because you are working on 1.5.0.

Update language files for 1.5.0 in src/translations

Modifiy /src/translations/translation.pri to add missing languages (not included in github repository but more than 50% translted in transliflex repository - ex Italian).

Modify source code to have a multi-language installer (with same language of GUI languages).

would not pack my apk

it keeps giving my errors sense i've installed this software and this is the error here is what it saying I: Using Apktool 2.4.0
I: Copying C:\Users\Keith\AppData\Local\Temp\apk-editor-studio\apk{b1efa490-ec91-461d-a1a8-21717dd0b5e9} classes.dex file...
I: Building resources...brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = -1073741515): [C:\Users\Keith\AppData\Local\Temp\brut_util_Jar_4684150323672512547.tmp, p, --forced-package-id, 127, --min-sdk-version, 3, --target-sdk-version, 28, --version-code, 871110004, --version-name, 1.11.0.4, --no-version-vectors, -F, C:\Users\Keith\AppData\Local\Temp\APKTOOL1333876901961663252.tmp, -0, png, -0, lang, -0, json, -0, fsb, -0, ogg, -0, jpg, -0, h, -0, txt, -0, nbt, -0, res/drawable-hdpi-v4/com_facebook_tooltip_black_background.9.png, -0, res/drawable-hdpi-v4/com_facebook_tooltip_blue_background.9.png, -0, res/drawable-mdpi-v4/com_facebook_tooltip_black_background.9.png, -0, res/drawable-mdpi-v4/com_facebook_tooltip_blue_background.9.png, -0, res/drawable-xhdpi-v4/com_facebook_tooltip_black_background.9.png, -0, res/drawable-xhdpi-v4/com_facebook_tooltip_blue_background.9.png, -0, mp3, -0, arsc, -I, C:\Users\Keith\AppData\Local\apk-editor-studio\frameworks\1.apk, -S, C:\Users\Keith\AppData\Local\Temp\apk-editor-studio\apk{b1efa490-ec91-461d-a1a8-21717dd0b5e9}\res, -M, C:\Users\Keith\AppData\Local\Temp\apk-editor-studio\apk{b1efa490-ec91-461d-a1a8-21717dd0b5e9}\AndroidManifest.xml]
Capture

Error packing APK

Hi,
can't really figure out how to continue.
Downloaded the APK, edited only the MIN SDK Version number and tried to save.

This is the error log:

I: Using Apktool 2.4.1
I: Copying C:\Users\Stefan\AppData\Local\Temp\apk-editor-studio\apk{b2863aec-bedc-41de-84bd-2cea16aa32a1} classes.dex file...
I: Building resources...W: C:\Users\Stefan\AppData\Local\Temp\apk-editor-studio\apk{b2863aec-bedc-41de-84bd-2cea16aa32a1}\res\values\styles.xml:13: error: Resource entry AppTheme already has bag item android:statusBarColor.
W: C:\Users\Stefan\AppData\Local\Temp\apk-editor-studio\apk{b2863aec-bedc-41de-84bd-2cea16aa32a1}\res\values\styles.xml:12: Originally defined here.
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Stefan\AppData\Local\Temp\brut_util_Jar_48184101202116821.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 20201014, --version-name, 3.1.5, --no-version-vectors, -F, C:\Users\Stefan\AppData\Local\Temp\APKTOOL6716385221402879324.tmp, -e, C:\Users\Stefan\AppData\Local\Temp\APKTOOL4901568594843723801.tmp, -0, arsc, -I, C:\Users\Stefan\AppData\Local\apk-editor-studio\frameworks\1.apk, -S, C:\Users\Stefan\AppData\Local\Temp\apk-editor-studio\apk{b2863aec-bedc-41de-84bd-2cea16aa32a1}\res, -M, C:\Users\Stefan\AppData\Local\Temp\apk-editor-studio\apk{b2863aec-bedc-41de-84bd-2cea16aa32a1}\AndroidManifest.xml]

Any ideas?

Material You colors support

Hey,

I was trying to add Material You colors to Twitter (it's a @android:color/... value) but when I wanted to save the APK of it, it gave me this error:
"Error: No resource found that matches the given name (at twitter_blue with value @android:color/...)"

When building the apk myself using apktool b it works but I'm not able to sign it correctly without Twitter's Keys so that's not an option too.

C++ alternatives to Java tools

Are there C++ implementations of apktool.jar, apksigner.jar and demo.jks?

For make APK Editor Studio fully free of JAVA/JRE dependencies?

adb install wrong success message

I was trying to install my apk with adb like I was doing the past days and my APK wasnt really installing.
I got the Install APK done message when in fact it wasnt installed correctly. I uninstalled the apk on my device, tried to install with adb and still the apk didnt appear.
image

Turns out that it was still installed, the apk didnt install but APK Editor Studio was returning done which confused me a lot.
When I tried to install it through normal adb is when I realized that the apk was already installed, I think that it should return an error message rather than done.
image

Add ability to create resources

@kefir500

Could be possible to add an option when I open a .apk file to add a folder like values-xx (ex. values-ru) and copy on it a new strings.xml file?

I think it ex to add a new language to an app.

I check that seems with current Apk Editor Studio I can just edit/replaca an existing strings.xml file in an exuisting values-xx folder.

If the values-xx folder is not included in the application I cannot create it.

Thanks.

Bundletool implementation

@kefir500, I was just wondering if you had any plans for implementing the following BundleTool (jar) within the Studio Software?

https://github.com/google/bundletool

A friend of mine had asked me about the BundleTool and, after looking into it, I thought that it would be interesting to see if you could do anything with it.

Thanks a bunch! :-)

~Ibuprophen

Version 1.5.0 (03.01.2021) - Strings untranslated

@kefir500

I just tested latest beta available here

https://github.com/kefir500/apk-editor-studio/releases/tag/development

Please change info in VERSION from 1.4.0 to 1.5.0.

The translation for Italian language is 100% translated but seems that there are some strings untraslated.

The follow strings are untranslated

File -> Open recent
File -> Open recent s Mo recent files
File -> Install External APK...
File -> Optimzie External APK...
File -> Sign External APK...
Strumenti -> View Signature
Finestra -> Open New Window

When I open an .APK file the File -> Open show as file type the string "Paccketto Android (*.apk)".
Where can I localize this string?

Cannot find Java in Windows

My PC installed java and setup java path also, but when I open apk file it showed errors

Process failed to start: The system cannot find the file specified. ("java")
Screenshot_8

Thanks!

Cannot build from source code

Hi! I am not able to build APK Editor Studio from source, either from linux (it says "system is too new") or windows.
Can someone provide an explicit way on how to build it? Which linux distro suits best?

Shazam not open

Hi, I can't open the Shazam APK.
It gives me an error: "Error unpacking APK."
Is there any way to solve it?
Thank you for your cooperation and good work

Paolo from Italy

Allow multiple instances

Please add feature to open the apk editor studio in multiple instances (windows), because it's better if you switch between projects.

Improve Java version check

This program appears to have an unreliable means of determining the correct version of Java to run. Here is the situation on my PC:

  1. I launch APK Editor Studio
  2. I click Open APK and pick one.
  3. Log messages appear:

Unpacking APK...
Error unpacking APK.

3a. The details for "Error unpacking APK." are as follows:

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

How strange. I inspect the program events with Process Monitor. Here's what I've surmised.

  1. After clicking Open APK, APK Editor Studio checks the registry path HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\java.exe.
    1a. Is it trying to locate the most current version of java.exe? This bizarre-looking key is very unusual and does not exist on any of my PCs. Why not use the Path and/or JAVA_HOME vars?
    1b. Presumably, APK Editor Studio defaults to some fallback, since the registry key does not exist.
  2. APK Editor Studio launches %windir%\SysWOW64\java.exe.
    2a. Is this a hardcoded default path? No matter where this magic path comes from, it is not a good choice. That particular java.exe doesn't seem to be dependable. It is merely a copy from the actual Java install location and only exists on one of my PCs. Furthermore, the 1.8 JDK and JRE installers do not overwrite it with the latest java.exe, so it has remained at 1.7 for a long time (on my PC).
  3. The launched java.exe (again, version 1.7) checks the registry key HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\CurrentVersion. It reads 1.8, determines it is outdated, and terminates.
  4. This is likely the point where APK Editor Studio reports the errors.
    4a. The registry path provided by the APK Editor Studio's error message ('Software\JavaSoft\Java Runtime Environment'\CurrentVersion') is highly questionable. There is no hive specified. On my PC, the closest match is HKLM\Software\JavaSoft\Java Runtime Environment\CurrentVersion, and that key was never even read, as detected by Process Monitor.

Navigation Bar

Cannot find a way to hide Navigation Bar before re-compiling.

При сборке апк бьет ошибку

I: Using Apktool 2.6.0
I: Copying C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218} classes.dex file...
I: Building resources...
W: C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\res\values-v31\colors.xml:68: error: resource android:color/Indigo_800 is private.
W: C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\res\values-v31\colors.xml:69: error: resource android:color/Indigo_700 is private.
W: C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\res\values-v31\colors.xml:71: error: resource android:color/GM2_grey_800 is private.
W: C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\res\values-v31\colors.xml:72: error: resource android:color/Blue_800 is private.
W: C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\res\values-v31\colors.xml:73: error: resource android:color/Blue_700 is private.
W: error: failed linking references.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\USER\AppData\Local\Temp\brut_util_Jar_61461278321448149256608643709329001819.tmp, link, -o, C:\Users\USER\AppData\Local\Temp\APKTOOL2246561254213341046.tmp, --package-id, 127, --min-sdk-version, 25, --target-sdk-version, 31, --version-code, 89, --version-name, 4.0.18, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -e, C:\Users\USER\AppData\Local\Temp\APKTOOL1058837461426118934.tmp, -0, arsc, -I, C:\Users\USER\AppData\Local\apk-editor-studio\frameworks\1.apk, --manifest, C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\AndroidManifest.xml, C:\Users\USER\AppData\Local\Temp\apk-editor-studio\apk{5a78d378-cd8e-4621-ab56-cfa7e6cd2218}\build\resources.zip]

brut.common.brutexception

So I tried this out today, took an APK from the google playstore that I have been trying to modify with APKTOOL as well, but it seems this editor has the same issue. Here is the two errors I am seeing.

C:\Users\admin\AppData\Local\Temp\apk-editor-studio\apk{98c956b2-d76f-4d33-9c59-0db18bce18a4}\res\values\public.xml:152: error: Public symbol ^attr-private/actionBarItemBackground declared here is not defined.

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

An error when saving the APK

I'm trying to edit alarmy app, but I get this error when I try to save the apk

Error Parsing APK.

W: invalid resource directory name: C:\Users\muslim\AppData\Local\Temp\apk-editor-studio\apk\{b395a8bf-e0a8-4071-99a7-9a54484b1459}\res navigation brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\muslim\AppData\Local\Temp\brut_util_Jar_3807460567675597666.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 29, --version-code, 42308, --version-name, 4.23.8, --no-version-vectors, -F, C:\Users\muslim\AppData\Local\Temp\APKTOOL1635734550941627566.tmp, -e, C:\Users\muslim\AppData\Local\Temp\APKTOOL8287019898804827416.tmp, -0, arsc, -I, C:\Users\muslim\AppData\Local\apk-editor-studio\frameworks\1.apk, -S, C:\Users\muslim\AppData\Local\Temp\apk-editor-studio\apk\{b395a8bf-e0a8-4071-99a7-9a54484b1459}\res, -M, C:\Users\muslim\AppData\Local\Temp\apk-editor-studio\apk\{b395a8bf-e0a8-4071-99a7-9a54484b1459}\AndroidManifest.xml]

Linux Mint install not working

So the .AppImage file on Linux Mint 20.02 Cinnamon works, but when I try to sudo apt install the .deb file, it does this:

djcook@djcook-OptiPlex-380:~/Downloads $ sudo apt install ./apk-editor-*.deb

 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 Note, selecting 'apk-editor-studio' instead of './apk-editor-studio_linux_1.5.0.deb'
 The following additional packages will be installed:
   adb android-libadb android-libboringssl android-libcrypto-utils
   android-sdk-platform-tools-common
 The following NEW packages will be installed:
   adb android-libadb android-libboringssl android-libcrypto-utils
   android-sdk-platform-tools-common apk-editor-studio
 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
 Need to get 764 kB/21.1 MB of archives.
 After this operation, 26.2 MB of additional disk space will be used.
 Do you want to continue? [Y/n] y
 Get:1 /home/djcook/Downloads/apk-editor-studio_linux_1.5.0.deb apk-editor-studio amd64 1.5.0-1 [20.3 MB]
 Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 android-libboringssl amd64 8.1.0+r23-2build1 [538 kB]
 Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 android-libcrypto-utils amd64 1:8.1.0+r23-5ubuntu2 [8,324 B]
 Get:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 android-libadb amd64 1:8.1.0+r23-5ubuntu2 [123 kB]
 Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 adb amd64 1:8.1.0+r23-5ubuntu2 [87.6 kB]
 Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 android-sdk-platform-tools-common all 27.0.0+12 [6,648 B]
 Fetched 764 kB in 2s (474 kB/s)                               
 Selecting previously unselected package android-libboringssl.
 (Reading database ... 456206 files and directories currently installed.)
 Preparing to unpack .../0-android-libboringssl_8.1.0+r23-2build1_amd64.deb ...
 Unpacking android-libboringssl (8.1.0+r23-2build1) ...
 Selecting previously unselected package android-libcrypto-utils.
 Preparing to unpack .../1-android-libcrypto-utils_1%3a8.1.0+r23-5ubuntu2_amd64.d
 eb ...
 Unpacking android-libcrypto-utils (1:8.1.0+r23-5ubuntu2) ...
 Selecting previously unselected package android-libadb.
 Preparing to unpack .../2-android-libadb_1%3a8.1.0+r23-5ubuntu2_amd64.deb ...
 Unpacking android-libadb (1:8.1.0+r23-5ubuntu2) ...
 Selecting previously unselected package adb.
 Preparing to unpack .../3-adb_1%3a8.1.0+r23-5ubuntu2_amd64.deb ...
 Unpacking adb (1:8.1.0+r23-5ubuntu2) ...
 Selecting previously unselected package android-sdk-platform-tools-common.
 Preparing to unpack .../4-android-sdk-platform-tools-common_27.0.0+12_all.deb ..
 .
 Unpacking android-sdk-platform-tools-common (27.0.0+12) ...
 Preparing to unpack .../5-apk-editor-studio_linux_1.5.0.deb ...
 Unpacking apk-editor-studio (1.5.0-1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-xqLw5A/5-apk-editor-studio_
 linux_1.5.0.deb (--unpack):
  trying to overwrite '/usr/share/icons/hicolor/64x64/mimetypes/application-vnd.a
 ndroid.package-archive.png', which is also in package apk-icon-editor 2.2.0-1
 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
 Errors were encountered while processing:
  /tmp/apt-dpkg-install-xqLw5A/5-apk-editor-studio_linux_1.5.0.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

System Information:

Operating System: Linux Mint 20.2 Cinnamon
Cinnamon Version: 5.0.5
Linux Kernel: 5.4.0-86-generic
Processor: Pentium© Dual-Core  CPU      E5400  @ 2.70GHz × 2
Memory: 3.7GiB (4GiB)
Hard Drives: 161.4 GB
Graphics Card: Intel Corporation 4 Series Chipset Integrated Graphics Controller

Error packing apk (exit code = -1073741795)

I just changed the minimum SDK and got this error:

I: Copying C:\Users\Jose_alberto\AppData\Local\Temp\apk-editor-studio\apk{83db5205-760f-41a0-9731-e10d36628c53} classes.dex file...
I: Copying C:\Users\Jose_alberto\AppData\Local\Temp\apk-editor-studio\apk{83db5205-760f-41a0-9731-e10d36628c53} classes2.dex file...
I: Building resources...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = -1073741795): [C:\Users\JOSE_A~1\AppData\Local\Temp\brut_util_Jar_16418201016540944904885590755305668709.tmp, compile, --dir, C:\Users\Jose_alberto\AppData\Local\Temp\apk-editor-studio\apk{83db5205-760f-41a0-9731-e10d36628c53}\res, --legacy, -o, C:\Users\Jose_alberto\AppData\Local\Temp\apk-editor-studio\apk{83db5205-760f-41a0-9731-e10d36628c53}\build\resources.zip]

Some help? Thanks in advance

Left dock layout not saving on exit

@kefir500

Coudl be possible to enable the saving of window application layout (size/position)?

Currently if I enlarge left and right panel at next application start it reset to default.

Thanks.

Error packing APK

I'm trying to edit the minimum sdk inside the manifest for https://github.com/tachiyomiorg/tachiyomi/releases/tag/v0.13.1 so I can install it on an older device.

Using latest version downloaded from releases. Any apk I open and edit or just try to save give the following...

I: Using Apktool 2.6.0
I: Copying C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9} classes.dex file...
I: Copying C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9} classes2.dex file...
I: Building resources...
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\res\values-v31\colors.xml:55: error: resource android:color/Indigo_800 is private.
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\res\values-v31\colors.xml:56: error: resource android:color/Indigo_700 is private.
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\res\values-v31\colors.xml:58: error: resource android:color/GM2_grey_800 is private.
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\res\values-v31\colors.xml:59: error: resource android:color/Blue_800 is private.
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\res\values-v31\colors.xml:60: error: resource android:color/Blue_700 is private.
W: error: failed linking references.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\redacted\AppData\Local\Temp\brut_util_Jar_3778716622906264969779879433062686851.tmp, link, -o, C:\Users\redacted\AppData\Local\Temp\APKTOOL1028719028145311478.tmp, --package-id, 127, --min-sdk-version, 23, --target-sdk-version, 29, --version-code, 74, --version-name, 0.13.1, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -e, C:\Users\redacted\AppData\Local\Temp\APKTOOL6502224307922860886.tmp, -0, arsc, -I, C:\Users\redacted\AppData\Local\apk-editor-studio\frameworks\1.apk, --manifest, C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\AndroidManifest.xml, C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{376602b3-fc95-475e-a062-385b168bfee9}\build\resources.zip]

I've also tried several other apks, running as admin, different pc etc. Same issue packing but different reasons each time.

Another apk gives...

...
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{172ab282-e8de-43fb-8ec5-b7c32c0a5acb}\res\values\arrays.xml:51: error: invalid value for type 'array'. Expected a reference.
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{172ab282-e8de-43fb-8ec5-b7c32c0a5acb}\res\values\arrays.xml:160: error: invalid value for type 'array'. Expected a reference.
W: C:\Users\redacted\AppData\Local\Temp\apk-editor-studio\apk\{172ab282-e8de-43fb-8ec5-b7c32c0a5acb}\res\values\arrays.xml: error: file failed to compile.
...

APK compilation error

when i try save apk compile give error

I: Using Apktool 2.4.0
I: Copying Local\Temp\apk-editor-studio\apk{fe7f26d6-178b-4c7f-9bc7-9c2b41931976} classes.dex file...
I: Building resources...brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = -1073741515): [brut_util_Jar_1187083305258947798.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 21, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, Cl\Temp\APKTOOL6804990328343567596.tmp, -0, arsc, -0, res/drawable-hdpi-v4/abc_ab_share_pack_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_ab_share_pack_holo_light.9.png, -0, png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-hdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-hdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-ldrtl-hdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-mdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xxxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-mdpi-v4/abc_ab_share_pack_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_ab_share_pack_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-mdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-mdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-mdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-mdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-mdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-mdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_ab_share_pack_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_ab_share_pack_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_ab_share_pack_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_ab_share_pack_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, arsc, -I, C:\Users\ \AppData\Local\apk-editor-studio\frameworks\1.apk, -S, C:\Users\AppData\Local\Temp\apk-editor-studio\apk{fe7f26d6-178b-4c7f-9bc7-9c2b41931976}\res, -M, C:\Users\ \AppData\Local\Temp\apk-editor-studio\apk{fe7f26d6-178b-4c7f-9bc7-9c2b41931976}\AndroidManifest.xml]

Android explorer is not working in my PC !!

Hi there!
I happen to be a user of this software & really do admire for amazing works;. But sorry to say that android explorer is not being activated in my windows 10 PC.It would be great if u give some reply.
Best Regards.

Smali code editing

Fisrt, Thanks for your program, I tested today modify a string in a hello world app in the smali decompiler and worked.
That Said, not sure if is just me who Don't know how to use the program properly yet or really is missing features.
Anyway I will say what I think will be cool to be included in the project:

First, The smali decompiler works but looks like he force us to open the decompiled folder and modify with an external text editor.
Personally I think will be very interesting to see the Apk Editor Studio creating a new tab only smali files to we directly open in the Apk Editor Studio with syntax highlighting and things like that.
Personally I think that's the most important thing.

Less important, but a cool feature will be a fast negation of conditional jumps and maybe display arrows in all jumps just like x64dbg or ollydbg does.
https://i.imgur.com/IlpK7aa.png

APK Editor Studio 1.6.0 - CR/LF not get in language file

@kefir500

In language theer some long strings that for me could be read better if you break any paragraph with nel line.

Ex.

You are using the built-in keystore provided for demonstrational purposes. It can be practical for testing or personal usage. However, if you plan to distribute this APK, we recommend you to specify/create your own keystore via Key Manager.

For me this strings is too long withoutr CR/LF and can be better readable like this

You are using the built-in keystore provided for demonstrational purposes.

It can be practical for testing or personal usage.

However, if you plan to distribute this APK, we recommend you to specify/create your own keystore via Key Manager.

In Italian .ts file I used new line but it didn't show right (it seems that for this string new lien is not recognzied).

It works if instead new line I used < br / > (without space - just to show it).

Is it normal?
When I should use < br / > instead newline?

Multilanguage EXE installer

@kefir500

I installed the latest official 1.5.0 version.

Thanks for this nrw stable version.

Is it possible to enable .exe instalelr with multilanguage instalelr?

The program is multilanguage but instalelr is mono language.

What kind of installer maker are you using?

Thanks.

unsupported res type name for bags. Found: style2

Unable to unpack with exception

I: Using Apktool 2.4.1 on facebook-296.0.0.44.119.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: unsupported res type name for bags. Found: style2
at brut.androlib.res.data.value.ResValueFactory.bagFactory(ResValueFactory.java:119)
at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.java:350)
at brut.androlib.res.decoder.ARSCDecoder.readEntryData(ARSCDecoder.java:276)
at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:252)
at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:175)
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:786)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:67)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:59)
at brut.androlib.Androlib.getResTable(Androlib.java:66)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:236)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:118)
at brut.apktool.Main.cmdDecode(Main.java:170)
at brut.apktool.Main.main(Main.java:76)

Bye

Apktool error: exit code -1073741515

I: Using Apktool 2.4.0
I: Copying C:\Users\User\Downloads\apk-editor-studio_win32_1.2.0\APK Editor Studio v1.2.0\data\temp\apk{32a6a7b6-ec87-4051-a649-94c22c1291a6} classes.dex file...
I: Building resources...brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = -1073741515): [C:\Users\User\AppData\Local\Temp\brut_util_Jar_4439074363579959179.tmp, p, --forced-package-id, 127, --min-sdk-version, 14, --target-sdk-version, 23, --version-code, 10, --version-name, 1.3.1, --no-version-vectors, -F, C:\Users\User\AppData\Local\Temp\APKTOOL316442796286204171.tmp, -0, arsc, -0, jpg, -0, png, -0, arsc, -I, C:\Users\User\Downloads\apk-editor-studio_win32_1.2.0\APK Editor Studio v1.2.0\data\frameworks\1.apk, -S, C:\Users\User\Downloads\apk-editor-studio_win32_1.2.0\APK Editor Studio v1.2.0\data\temp\apk{32a6a7b6-ec87-4051-a649-94c22c1291a6}\res, -M, C:\Users\User\Downloads\apk-editor-studio_win32_1.2.0\APK Editor Studio v1.2.0\data\temp\apk{32a6a7b6-ec87-4051-a649-94c22c1291a6}\AndroidManifest.xml]

Comparison to APK Icon Editor

@kefir500, I was just wondering if you could please clarify if the Apk Editor Studio is a Compliment to the Apk Icon Editor AND/OR Expansion of/to the Apk Icon Editor AND/OR Will/Has/about to supersede/superseded the Apk Icon Editor?

Sorry for the lengthy questions/clarifications but, I just bumped into this and plan to give it a try.

Thank you very My Friend! :-)

~Ibuprophen

Missing proper framework files error

When trying to unpack a apk I'm getting a lot of errors and at the end of log is written:
Can't find framework resources for package of id: 36. You must install proper framework files, see project website for more info.
But I can't find any related on your webpage.

What can I do ?

apktool --keep-broken-res support

It would be nice if you could add support for the --skip-broken-res switch of apktool.
It would avoid the following error and would APK Editor Studio allow to open those apks too.
grafik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.