Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android studio/Idea fixes #148

Merged
merged 2 commits into from
May 25, 2017
Merged

Conversation

dkimitsa
Copy link
Contributor

Removed references to Android related classes -- this fixes failures in recent Android Studio
Also fixes issue that it was not able to create new grade project under Idea 2017

- on IDEA 2017 it was not possible to create new gradle based project
- due not calling setupRootModel it was causing extra module mess to be created
@florianf florianf merged commit 125ec86 into MobiVM:master May 25, 2017
@florianf
Copy link
Collaborator

Perfect, thx!

@florianf florianf mentioned this pull request May 25, 2017
2 tasks
@dkimitsa dkimitsa deleted the android_studio_fixes branch May 25, 2017 14:29
@jodik
Copy link

jodik commented May 30, 2017

Oh that's awesome! May I ask you guys how can I use MobiDevelop RoboVM 2.3.2-SNAPSHOT version which includes dkimitsa's commit? On the page I can download only 2.3.1. Thanks!

@florianf
Copy link
Collaborator

@jodik currently you'll have to build it from source.

@jodik
Copy link

jodik commented May 31, 2017

Thanks for answer!

May I ask you how to do it properly? Should I go to root directory of the whole git or to plugins/idea to run:
"mvn clean package -Pdeployment"
I did it in the root dir and I do not know where should I find something like:
"org.robovm.idea-2.3.2-SNAPSHOT-plugin-dist.jar"

Thank you!

@florianf
Copy link
Collaborator

florianf commented Jun 1, 2017

Mhmm, I think you need to build almost all. Because the IDEA plugin includes the complete compiler-distribution. So build.sh in the root it is. Alternatively you could try the latest build from @dkimitsa debugger branch: https://github.com/MobiDevelop/robovm/wiki/Implementing-a-Debugger

dkimitsa added a commit to dkimitsa/robovm that referenced this pull request Jun 8, 2017
* origin/master:
  Ios10.3 bindings (MobiVM#152)
  IDEA -- fixed resource unpack to maintain the timestamp same as it was in tar, otherwise on each launch idea will rebuild all classes in case of snapshot builds (MobiVM#149)
  Remove leftovers of old simulator handling, bringing to foreground.
  Remove old commercial license manager eclipse ui elements and gradle tasks
  Android studio/Idea fixes (MobiVM#148)
  blocks implementation -- added signature generation to blocks as in some cases it crashes with message "Block was not compiled using a compiler that inserts type information about arguments" (MobiVM#147)
@jodik
Copy link

jodik commented Aug 21, 2017

Hi guys, so somehow I did not make it work to compile :/ Recently though, the version 2.3.2 .jar was released. I installed it into the Android Studio 3.0 Canary 3 version but still, it does not work saying:

[ERROR] Couldn't compile app
org.robovm.compiler.CompilerException: Main class com.xy.z.IOSLauncher not found

For any idea, would be very grateful!

@Tom-Ski
Copy link
Member

Tom-Ski commented Aug 21, 2017

Please make a new issue with a pastebin of your full robovm build log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants