Compile is hanging

jschuchert

Active Member
Licensed User
Longtime User
Just purchased the program last night after using the trial version for a day. I was able to run some code with the trial but now the same code and even sample code won't complete compiling (the green bar goes about 7/8 of the way and stops. It did that before but after a few seconds completed the process. I started the emulator and it seems to be ok and I am not getting any error messages. I must have missed a step or two from installing the trial and now the full version. Also, I am not clear on the steps in naming a new project so I can start mine properly. Thank you.

Jim Schuchert
 

klaus

Expert
Licensed User
Longtime User
I sometimes have problems when compiling with he Emulator,I don't remember exactly the error message, but programs that ran OK before didn't run anaymore.
I deleted the Emulator in the ADV Manager and installed a new one and it worked again.

Best regards.
 
Upvote 0

jschuchert

Active Member
Licensed User
Longtime User
Tried the suggestions without success.

Still hangs using F5...no timeout message after 12 minutes.

Compiles ok using Alt+2 but nothing appears on the emulator, even using the "hello world" example.

When a new emulator instance began, the screen showed only the android icon with the app launcher at the bottom (earlier I had the 'lock' scenario). Then a box appeared explaining how to see the apps loaded. After compiling I thought the 'hello world' app would show but it didn't.

I am using Windows 7 so the small circle rotating indicates something is going on. When I move the mouse into the right panel of the ide the circle continues to rotate but not in the left panel. I don't think this is normal.

When I used the trial version, and a couple of times with the full version the android icon appeared in the system tray for the emulator but now the icon is in the shape of the entire emulator window (small square). I don't know why the change.

After compiling, the screen tells me the file is "temp.ap_" in a deeply buried folder I may have created during the trial period but not recently.

The b4a bridge is disconnected. Is this correct?

Designer says status:disconnected...I followed the instructions and restarted adb server...still nothing..continues to say disconnected when I attempt to add a view.

Maybe I should uninstall everything except the sdk and java and start over. I will continue to fool with it until I hear back. I'm sure it is my ignorance that is the problem. :BangHead:
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Alt+2 only compiles, it doesn't try load the program to a device. The fact that you see the temp.ap_ message, and presumably also "Completed successfully" means that the apk compiled and was built successfully. It indicates that your problem is loading the apk to the device/emulator.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Designer says status:disconnected...I followed the instructions and restarted adb server...still nothing..continues to say disconnected when I attempt to add a view.
You need to connect the Designer manually by Tools -> Connect in the Designer.
 
Upvote 0

jschuchert

Active Member
Licensed User
Longtime User
Well, I un-installed/re-installed everything and it looks like it is working properly now. I will play around with it and see how far I can get before pestering you guys again. Thanks for your time...Jim
 
Upvote 0
Top