It’s outdated, make sure to use version: 3.0.22 Build date: 20160919-0918.
The easiest way is to generate BL project directly from Backendless Application console. Just navigate to tab “Business logic”, switch to any “handler” or “code block” section and click “Download”.
Archive would contain latest Coderunner automatically.
We cannot reproduce your issue.
Please, zip your project ( all together with bin, libs, classes etc ) and send us to support@backendless.com with link to this topic.
Thank you!
Alex
Не понимаю тогда в чем дело. Таймер видит, работает с ним, позволяет дебажить, а сервис не видит, хотя они лежат в одном пэкэдже. Если убрать таймер (как в случае с примером отправленным вам), то пишет “There is no code, which can be deployed to Backendless.”
Полностью удалял bin, удалял classes, всё билдил по несколько раз. В чем может быть еще проблема, что посоветуете еще сделать/проверить?
I do not understand then what happens. CodeRunner works with timers (“0 events 1 timers”), allowing to debug, but the service does not working, even though they belong to the same package. If I remove the timer (as in the case of the example sent to you), then occurs error “There is no code, which can be deployed to Backendless.”
I already tried: completely remove the bin folder, delete classes with folder, everything builds on several occasions.
In clean generated BL project, created as I’ve described a few posts above, create new package “services” near “models”, and put there class with easy code like this:
package com.your_app_name.services;
import com.backendless.servercode.IBackendlessService;
public class MyService implements IBackendlessService
{
public static boolean getTrue()
{
return true;
}
}
Then build project and try to deploy/debug it.
Notify us about result please.
Thank you for patience,
Alex