For Newbies - Porting and starting new apps

The starting documentation seems out-dated. So thought I would create a new topic specifically for people who have just started with MOE. I would be documenting all the errors that I have faced with MOE along with their solutions and the time it took me to get a Hello World app up and running.

I am also going to port my android app ’ Aya - Teach. Learn. Manage. ’ using MOE to iOS all error that I face while doing that will also be documented over here.

Link - https://play.google.com/store/apps/details?id=in.thinktek.aayaa

2 Likes

Day 1 - 6 Hours spent -
Unable to get hello world app up and running.
Using -

Android Studio 3.4.2
Build #AI-183.6156.11.34.5692245, built on June 27, 2019
JRE: 1.8.0_152-release-1343-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.1

Was using JRE and JDK version 12 which was the latest one as of this post. MOE says use JDK 8 and you should use JDK version 8. Had to remove 12 from Mac which was slightly tedious since there isn’t a simple one click method.

For mac users go in Library folder and just delete everything about java

/Library/Internet Plug-ins/
/Library/PreferencePanes/
/Library/Application Support/Java/

open terminal and run the following commands

sudo rm -rf “/Library/Internet Plug-Ins/JavaAppletPlugin.plugin”
sudo rm -rf “/Library/PreferencePanes/JavaControlPanel.prefPane”
sudo rm -rf “~/Library/Application Support/Java”

Then install java 8 from here
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

After that … Open android studio and follow the instructions from here

https://doc.multi-os-engine.org/multi-os-engine/3_getting_started/1_hello_world_app/hello_world_app.html

When you reach the ’ Running and Debugging Your Multi-OS Engine App ’

I was unable to select the module ios from the Run/Debug configuration window

I was unable to create a new configuration due to this.

There was a default ios configuration already there… i was able to run it… Simulator opened up and a blank app was open… No taskbar No FloatingActionButton … Just a blank screen … Will debug this tomorrow.
Off to a shaky start … Will try my best !

Error link -

Error link

I should probably downgrade my android studio version … Will try that

Got it working in Android Studio 3.0 will be posting a detailed procedure soon

Still here Shamik?

Is “soon” going to happen soon? :slight_smile: