Moodle App

Moodle App

Neha Mishra -
回帖数:2

I took git clone https://github.com/moodlehq/moodleapp. This is a ionic project. When I tried to build the project and when I tried to generate the apk of it. I got following  error.



Please tell what should I do, so that I can generate apk.

回复Neha Mishra

Re: Moodle App

Ezra Zhiri Kolo -
Hi, how did you serve the app? I can't get my to serve using ionic serve or npm run. moodle 4.2.0.

It always opens up a serve.sh file then throws an error.

Thank you
回复Neha Mishra

Re: Moodle App

Dani Palou -
Core developers的头像 Moodle HQ的头像 Peer reviewers的头像 Plugin developers的头像
Hi,

we found this error and it was fixed with this PullRequest. If you're using the "main" branch I think it shouldn't happen anymore. If you're using the main branch and the issue persists please try deleting the "platforms" and "plugins" folders, and then add them again by running "npx ionic cordova platform add android".

Cheers,
Dani