Я прошел через http://eixerits.wordpress.com/2013/02/03/a-login-template/
Я закончил со всеми блоками, и я был совершенно уверен, что это не сработает по некоторым причинам (например, учебник сделан, когда client_secret все еще поддерживался Google; много блоков и переменных = много возможностей для ошибок)
Пытаясь скомпилировать, я получил следующую ошибку:
App Inventor is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Determining permissions
________Generating manifest file
________Attaching native libraries
________Copying native libraries
________Attaching component assets
________Compiling source files
(compiling appinventor/ai_xxx/Login/Screen1.yail to appinventor.ai_SQ1P1T2ME.Login.Screen1)
ERROR: appinventor/ai_xxx/Login/Screen1.yail line 75: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)
ERROR: appinventor/ai_xxx/Login/Screen1.yail line 75: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)
Kawa compile time: 1.99 seconds
Есть ли способ узнать, какой блок имеется в виду? Есть ли способ прочитать файлы .yail (или их можно открыть только с помощью blockitor)? Есть ли другой способ найти проблему, кроме сравнения всех блоков 1 на 1?
Забавно, что когда я пытался скомпилировать около 7 часов назад, он сказал
ERROR: appinventor/ai_xxx/Login/Screen1.yail line 19: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)