Error When application run

junaidahmed

Well-Known Member
Licensed User
Longtime User
When I run application,it shows an error most of the time as

Compiling code. 0.47
Generating R file. 0.00
Compiling generated Java code. 2.23
Convert byte code - optimized dex. 2.48
Packaging files. 0.89
Signing package file (debug key). 0.50
ZipAlign file. 0.06
Installing file to device. Error
Process timed out.
Restarting ADB Server may solve this problem.
Tools - Restart ADB Server. Device serial: emulator-5554


Pls advise where it is problem
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Make sure not to include any large images or other large files inside your project.
Working with a real device instead of the slow emulator will fix this problem.

You can however increase the timeout value.
It is configured in the INI file. Change the ProcessesTimeoutSeconds value.
On windows XP it is located under:
C:\Documents and Settings\<user>\Application Data\Anywhere Software\Basic4android
Vista / Windows 7:
C:\ProgramsData\<user>\Roaming\Anywhere Software\Basic4android

Close the IDE before changing this value.
 
Upvote 0
Top