Scratch-Client-4 / itchy-ionic

📱 A mobile app for Scratch
https://itchy.micahlindley.com
23 stars 4 forks source link

How to run on Android? #12

Closed moeenio closed 3 years ago

moeenio commented 3 years ago

I know I'm supposed to hit the "Run" button in Studio, but there are no run configs in the project, so it doesn't really work.

micahlt commented 3 years ago

What do you mean by run configs? It works fine for me - just run npm run production and then hit the play button.

moeenio commented 3 years ago

Run configs, the thing in Android studio that determines what to do when you hit the Play button. Go to Run > Edit Configurations and check "Store as project file" so it gets committed to the project. Without any the Play button is disabled (i ran npm run production)

micahlt commented 3 years ago

Ah, yes! I just used the built-in "Android App" preset - see below: image

moeenio commented 3 years ago

So just check "Share through VCS" :)

moeenio commented 3 years ago

When I go to create a config, somehow it just shows me "no module".

micahlt commented 3 years ago

So just check "Share through VCS" :)

I'll work on that right now 👍

moeenio commented 3 years ago

Fixed in https://github.com/Scratch-Client-4/itchy-ionic/commit/d5eac2ec3f61f9d0865d8a5f910c2cc1b3b7af43