App to Market 4.1 - ERROR: Unable to decompile your .apk file.

700 views
Skip to first unread message

Antonio Sorrentino

unread,
Mar 25, 2018, 5:48:03 PM3/25/18
to AppToMarket
At the end of summer 2017 I filled out my App created with App Inventor "Liturgical Calendar 2018" without problems. Yesterday I made a small update to the App and then I used App To Market to compile it. As soon as I try to decompile it (Key 1), the following message appears: ERROR: Unable to decompile your .apk file.
I tried to decompile some old App created with App Inventor and not recently modified and the decompilation is done correctly. There must be something in the App Inventor that causes this problem.
I hope I have some help. Thank you.
Antonio

Hossein Amerkashi

unread,
Mar 25, 2018, 8:16:48 PM3/25/18
to Antonio Sorrentino, AppToMarket
Antonio, Since 2017, there has been several updates to MIT AI that might cause the decompile issue.
Does the message history show any other messages?

BTW, In our community forum at http://Community.AppyBuilder.com, there is a category called AppToMarket. You can post questions there



--
For Java Bridge (sdkBridger), visit http://code.google.com/p/apptomarket/
---
You received this message because you are subscribed to the Google Groups "AppToMarket" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apptomarket+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/apptomarket.
For more options, visit https://groups.google.com/d/optout.

Boban Stojmenovic

unread,
Mar 27, 2018, 11:55:28 AM3/27/18
to AppToMarket
Hi Antonio,

Try this, a solution maybe others have reported that it works.

/Boban
Message has been deleted

Boban Stojmenovic

unread,
Apr 4, 2018, 5:53:40 AM4/4/18
to Antonio Sorrentino, AppToMarket

Sorry no clue Antonio why it doesn’t work for you but two suggestions.

 

  1. Do a clean install of AppToMarket 4.1, since I see you've had 3.2 before and I don’t know if it interferes in any way (also make sure there is no space in the path) ex. \App Inventor\ to --> \AppInventor\

 

  1. Send me your apk so I can try it (this time privately)

 

Regards

Boban

 

Från: Antonio Sorrentino
Skickat: den 3 april 2018 18:54
Till: Boban Stojmenovic
Ämne: Re: {AppToMarket} Re: App to Market 4.1 - ERROR: Unable to decompileyour .apk file.

 

Hi Boban and I'm sorry if I answer you only now but I was off-site. I confirm that I use AppToMarket vers. 4.1 and I have cid:ii_jfjwkb5c0_1628c6d6961fdc4d
​renamed the 1.apk file, but all useless. As you can see from the screen shot, after clicking on the 1 button, you can not continue to edit the Manifest.

There will also be a solution, but I can not find it.

Thank you, see you soon.

Antonio

 

On Wed, Mar 28, 2018 at 10:31 AM, Boban Stojmenovic <boban...@gmail.com> wrote:

Hi Antonio and sorry didn't see your message of all spam mail

 

FYI. AppToMarket still works if you are using the latest AppToMarket version 4.1

 

If you are unable to decompile a app then this usually helps by deleting 1.apk file in the C:\Users\XXXX\apktool\framework\ 

 

before step 3 (Create New.apk), you can allso delete this in (Edit Manifest)

 

<supports-screens android:resizeable="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true"  android:xlargeScreens="true" android:anyDensity="true" />

 

and this android:theme="@android:style/Theme"  may be different depending on what you selected.

 

If you want to import keystore to MIT Ai2 that was made in AppToMarket do this but do not forget to make a backup

 

https://groups.google.com/group/apptomarket/attach/992e40a17c737/image.png?part=0.1&authuser=0

Btw, Try to reply in the forum than privately only to me..

 

/Boban

2018-03-27 23:46 GMT+02:00 Antonio Sorrentino <i8s...@gmail.com>:

Hi Boban and thanks for the reply. I discovered the reason why App To Market no longer works. Now App Inventor build the app to be able to directly upload it to the Play Store through the Play Console. The problem however arises for the old App that, always updated with App Inventor because they have different certificates and Google Play Console highlights the error.

Best regards.

Antonio



Il giorno domenica 13 settembre 2015 18:57:27 UTC+2, Boban Stojmenovic ha scritto:

Delete 1.apk file in the C:\Users\XXXX\apktool\framework\ folder and try again...

--

For Java Bridge (sdkBridger), visit http://code.google.com/p/apptomarket/
---

You received this message because you are subscribed to a topic in the Google Groups "AppToMarket" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/apptomarket/WYvIq2shaWA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to apptomarket...@googlegroups.com.

Boban Stojmenovic

unread,
Apr 4, 2018, 5:49:26 PM4/4/18
to AppToMarket
Something's is wrong on your side and I can't figure out what though, as you can see, for me it works to decompile your app.

04apr2018_2334.58:  Your Platform: windows 10
04apr2018_2334.59:  Java Version: 1.8.0_161
04apr2018_2334.59:  AppToMarket Version: v4.1
04apr2018_2334.59:  Install folder: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1
04apr2018_2334.59:  Your data was loaded from: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\resource\config.txt
04apr2018_2335.36:  BUTTON CLICKED: 1> Decompile
04apr2018_2335.37:  I: Using Apktool 2.1.1 on Calendario.apk
04apr2018_2335.37:  I: Loading resource table...
04apr2018_2335.37:  I: Decoding AndroidManifest.xml with resources...
04apr2018_2335.37:  I: Loading resource table from file: C:\Users\Boban\apktool\framework\1.apk
04apr2018_2335.37:  I: Regular manifest package...
04apr2018_2335.37:  I: Decoding file-resources...
04apr2018_2335.38:  I: Decoding values */* XMLs...
04apr2018_2335.39:  I: Copying raw classes.dex file...
04apr2018_2335.39:  I: Copying assets and libs...
04apr2018_2335.39:  I: Copying unknown files...
04apr2018_2335.39:  I: Copying original files...
04apr2018_2335.39:  SUCCESS: your .apk was decompiled into: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\temp_myDecompiles
04apr2018_2336.39:  BUTTON CLICKED: 2> Update Manifest
04apr2018_2336.39:  SUCCESS: Manifest updated: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\temp_myDecompiles\AndroidManifest.xml
04apr2018_2336.39:  Completed updates. If you wish, you many now update androidmanifest.xml here: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\temp_myDecompiles\AndroidManifest.xml
04apr2018_2337.05:  writing new .apk file:C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\myApks\Calendario_new.apk
04apr2018_2337.05:  I: Using Apktool 2.1.1
04apr2018_2337.05:  I: Copying C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\temp_myDecompiles classes.dex file...
04apr2018_2337.05:  I: Checking whether resources has changed...
04apr2018_2337.05:  I: Building resources...
04apr2018_2337.07:  I: Building apk file...
04apr2018_2337.07:  I: Copying unknown files/dir...
04apr2018_2337.08:  SUCCESS: The new .apk was generated: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\myApks\Calendario_new.apk
04apr2018_2337.11:  BUTTON CLICKED: 4> Sign
04apr2018_2337.11:  Signing the application...
----------------------------------------------------------------------
04apr2018_2337.17:  SUCCESS: Your app was signed
04apr2018_2337.19:  BUTTON CLICKED: 5> Verify
---------------------------------------------------------------------- 
04apr2018_2337.19:  jar verified.
04apr2018_2337.20:  BUTTON CLICKED: 6> Zip Align
----------------------------------------------------------------------
04apr2018_2337.20:  Verification succesful
04apr2018_2337.20:  SUCCESS: Your zipalign file was generated: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\myApks\Calendario_new_zipAlign.apk
**** You are ready for publishing to Android Market. Publish: C:\Apptool\AppToMarket_v41_1\AppToMarket_v41_1\myApks\Calendario_new_zipAlign.apk ***

/Boban

Antonio Sorrentino

unread,
Jun 24, 2019, 1:43:27 PM6/24/19
to AppToMarket
Dear Boban, thank you! Unfortunately, here is the error I referred to.
Good evening and best regards.
i8swz - Antonio Sorrentino

AppToMarket.jpg

Reply all
Reply to author
Forward
0 new messages