Android Question compile no more working b4a problem!

ilan

Expert
Licensed User
Longtime User
i try to complie my app but it stuck at about 60%

try to reinstal b4a but nothing works, restarts pc ...

it stucks on "Convert byte code - optimized dex"

what do i need to do??
 

sorex

Expert
Licensed User
Longtime User
you can disable the dexer in the B4A ini file. (somewhere in your user profile folder)

UseOptimizedDexer=False
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
earlier versions of B4A didn't use it either, not sure what that thing exactly does besides wasting time :)
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Actually all versions of B4A use the optimized dexer by default and fail to the standard dexer in cases of errors.

The single purpose of the optimized dexer is to reduce the compilation time. It does that by processing the libraries in the background and then waiting for your code to be processed. If it fails then the solution in most cases is to increase MaxRamForDex to a higher value. The issue is probably related to Google Play Services which is a large library.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
i cannot find the ini file also not in users/appdata/..

i think it has something with the last windows update, after that it not working and i am not able to restore my pc

:mad: i hate microsoft!
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
on this Win8 box it's at C:\Users\username\AppData\Roaming\Anywhere Software\Basic4android\

and it's called b4aV0.1.ini
 
Upvote 0
Top