niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

Using "Double" as a component name causes compilation error #1706

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
OS: Windows Vista SP2
Browser: Firefox 4.0
Android Version: (App hasn't been sent to phone yet - n/a)

Project description:
I was attempting to write a program to automate scoring for the VEX Robotics 
Competition. (If you need information on the game to understand the program, 
see: http://www.vexforum.com/wiki/index.php/Gateway)  The program displays a 
plan view of the field with "hotspots" (made using transparent sprites).  When 
you click on a goal, a score input form is displayed.

Problem:
The app runs fine on the emulator - everything operates as expected, and there 
are no errors whatsoever.  However, when I return to my browser to download the 
app to my computer (clicking "Package for Phone" > "Download to this 
computer"), the message: "Error: Your build failed due to an error when 
compiling the application Screen1" appears at the top of the screen.

I am reporting this as a bug because the app is clearly capable of running - 
the emulator shows that - but it does not compile.

I have attached the project/source file.

This problem might be similar Issue 375: 
http://code.google.com/p/app-inventor-for-android/issues/detail?id=375

Thank you in advance for any help you can offer.

Original issue reported on code.google.com by hsk...@gmail.com on 9 Jul 2011 at 5:36

Attachments:

GoogleCodeExporter commented 9 years ago
Here is the project/source file.

Original comment by hsk...@gmail.com on 9 Jul 2011 at 5:43

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks.  I verified that this is a bug.  We'll see if we can figure out what's 
going on .

Original comment by halabel...@google.com on 10 Jul 2011 at 11:09

GoogleCodeExporter commented 9 years ago
Thank you!

Original comment by hsk...@gmail.com on 10 Jul 2011 at 11:20

GoogleCodeExporter commented 9 years ago
Try renaming the Label that is named "Double" to "Double1". For some reason, 
our compiler does not like the name "Double".

Original comment by lizloo...@google.com on 11 Jul 2011 at 11:40

GoogleCodeExporter commented 9 years ago
It compiled! Thank you.

Original comment by hsk...@gmail.com on 11 Jul 2011 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by halabel...@google.com on 12 Jul 2011 at 12:47