Android Question Optimized dexer no longer works after updating SDK

NeoTechni

Well-Known Member
Licensed User
Longtime User
I know it's not your fault cause the update moved zipalign.exe too...
Where do I find the dexer and where do I put it back?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

derez

Expert
Licensed User
Longtime User
After upgrading to sdk 21 I have problems adding zip or apk files to files tab, I get "Packaging files" error. Maybe other types too, or size problem.
 
Upvote 0

derez

Expert
Licensed User
Longtime User
Parsing code. 0.02
Compiling code. 0.12
Compiling layouts code. 0.02
Generating R file. 0.02
Compiling generated Java code. 0.47
Convert byte code - optimized dex. 0.30
Packaging files. Error
 
Upvote 0

derez

Expert
Licensed User
Longtime User
I added a jpg file and it works. Then I added a zip file or an apk file and it got stuck.
I added another jpg or png - it works.
Removed all code and libraries - still the same.
I tried adding small files - still the same.
I'll continue checking.

edit: took a perfect app that ran like charm a minute ago, added an apk file of 251 k and it gets the error.
Debug or release - the same.
Android.jar 16 or 21 - the same.
Re-installed b4a 3.82 - the same.

Add txt file - ok. exe - no. doc - no.
wav - ok, xls - ok !
htm - ok.
xml - no.
ini - ok.
ico , dat - no.
 
Last edited:
Upvote 0

derez

Expert
Licensed User
Longtime User
I tried adding small files - still the same.
This workaround works. I changed the extension of apk to jpg and it didn't get stuck.
Working but not always, my original problem which involved two big files is the same even after changing them to jpg.
 
Last edited:
Upvote 0

derez

Expert
Licensed User
Longtime User
Upgraded android with sdk 21, zipalign from 19 was not deleted. Copied zipalign from 21 and it also works.
I don't know what happened but now everything works (like many other cases in software)...
 
Upvote 0
Top