App Inventor is unable to compile this project. The compiler error output was

509 views
Skip to first unread message

Giovanna Silva

unread,
Jan 13, 2018, 1:25:31 AM1/13/18
to MIT App Inventor Forum
O erro e 
App Inventor is unable to compile this project. 
The compiler error output was 
________Preparing application icon
________Creating animation xml
________Creating style xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 0.444 seconds
________Compiling source files
(compiling appinventor/ai_GigiRsv4g/Smarthouse/Screen1.yail to appinventor.ai_GigiRsv4g.Smarthouse.Screen1)
ERROR: appinventor/ai_GigiRsv4g/Smarthouse/Screen1.yail line 24: duplicate declaration of 'Screen1$OtherScreenClosed'
ERROR: appinventor/ai_GigiRsv4g/Smarthouse/Screen1.yail line 24: (this is the previous declaration of 'Screen1$OtherScreenClosed')
Kawa compile time: 2.394 seconds

Eu sei q e porque tem dois blocos iguais eu nao posso retira los me ajudem
 

SteveJG

unread,
Jan 13, 2018, 9:38:00 AM1/13/18
to MIT App Inventor Forum
You most likely have a duplicate  Screen1.OtherScreenClosed block.   The error is  ERROR: appinventor/ai_GigiRsv4g/Smarthouse/Screen1.yail line 24: duplicate declaration of 'Screen1$OtherScreenClosed'  

Do you see a Red x anywhere?  You did not show/post  an image of your blocks, so we can only guess.

Regards,
Steve


Reply all
Reply to author
Forward
0 new messages