lily — 12/20/2023, 8:39:30 AM

what if vendetta for wasteof.mobile

♥ 1 ↩ 0 💬 13 comments

comments

radi8:

what if contributing to wasteof for android because it isn’t closed source

12/20/2023, 12:59:09 PM
lily:

@micahlt what would you think about adding plugin/theme repositories to wasteof.mobile

12/20/2023, 1:09:05 PM
micahlt:

Honestly not quite sure just because there's no existing architecture in place to do support that. However the code is open source and you're welcome to try!

12/20/2023, 4:06:55 PM
lily:

oh wait i remember why i haven’t contributed to wasteof.mobile yet - the app won’t install in the emulator for some reason

12/20/2023, 4:35:26 PM
micahlt:

Can you give me more info? I'd love to help you get it running. What's the specific error?

12/20/2023, 5:33:14 PM
lily:

there isn't an error with a stack trace or anything like that, it just says something like “error: failed to install to device” and to run with the --verbose flag, but if i do so, no extra information is printed. is the error in a log file, or something?

12/20/2023, 5:57:13 PM
micahlt:

How are you calling the verbose flag? And what command are you using to run the app? Also, are you starting the emulator before running the app?

12/20/2023, 7:46:59 PM
lily:
  1. npm run android --verbose (i know this does at least something)

  2. see above

  3. no, the emulator starts up, then the app is attempted to be installed on it, all from running the first command

12/20/2023, 7:53:43 PM
micahlt:

Ok - does the emulator close after the command fails or does it stay open? Also, if wasteof for Android or an older version of wasteof.mobile is already installed in the emulator, install it before running the command. The verbose flag isn't doing anything because it has to be passed to Gradle (the Android build tool) instead of NPM.

12/21/2023, 4:06:43 PM
lily:

it stays open

yeah, i’ve never been able to get this to work, so no, nothing is installed.

how do i pass an argument to gradle if i’m using npm to run the program?

12/21/2023, 5:09:39 PM
micahlt:

Ok so to do that you need to run the app server and the Gradle compiler separately. So to do that you run `npm run start` instead of `npm run android`. Then you open the wasteof for Android repo in Android Studio and run it from there.

12/21/2023, 5:55:33 PM
lily:

okay, i’ll try that

12/21/2023, 7:30:33 PM
micahlt:

In order to run the Gradle build and install with more information, you have to open wasteof for Android's repository in Android Studio and run it from there. If you still can't get it from here, let me know and I'll do my best to help you keep troubleshooting.

12/21/2023, 4:08:31 PM