J junaidahmed Well-Known Member Licensed User Longtime User Mar 31, 2011 #1 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
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 Mar 31, 2011 #2 The problem is that the emulator installation step takes too long. You can try creating a new emulator instance. Did you include many large files in your project? Upvote 0
The problem is that the emulator installation step takes too long. You can try creating a new emulator instance. Did you include many large files in your project?
J junaidahmed Well-Known Member Licensed User Longtime User Mar 31, 2011 #3 yes, i have included 20 activity in my project and also i am using samsung Galaxy Tab Emulator. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 31, 2011 #4 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
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.