Hi,
Maybe I'm birdbrained, but I'm trying to run the VTM playground/desktop applications, but I always got this message:
Fehler: Hauptklasse org.oscim.test.MapsforgeTest konnte nicht gefunden oder geladen werden.
Process finished with exit code 1Translation: Main class org.oscim.test.MapsforgeTest/GdxMapApp could not be found or load.
So it doesn't even compile. But while building no error is thrown.
What I tried to do:
- Run on Windows 10 in AS
- Run on Ubuntu 17.10 in AS
- Reinstalled AS
- Fresh reload project from master
- Add mapfile to program arguments of course
- Edit config classpaths (to classpaths of module)
- Edit config working directory (to assets etc...)
- Run dependencies/classes/build/... in gradle window
Tried it in all variations...
The confusing point is:
All classes (with main() method) work, which do not extend from a class which implements the gdx
ApplicationListener.
So am I missing any dependency?
Then I found this page on
Stackoverflow.But there's no "other -> Run" at vtm-playground gradle options. And the "application -> run" throws another error:
Error:(74, 1) Execution failed for task ':vtm-android-example:run'.
> java.io.IOException: Cannot run program "null/platform-tools/adb": error=2, File or folder not found
Although the android-example has nothing to do with the playground I think.
Thanks for your help, I'm just before to freak out.
Gustl