Re: Grit Error setup

5 views
Skip to first unread message

Eoin Kelly

unread,
Nov 18, 2013, 2:55:58 AM11/18/13
to youlay hong, grit-learning
Hi Youlay,
I think I understand the problem now. In order to build grit you actually need 3 git repositories. I know this is quite confusing so hopefully I can help clear it up using an example:

Let us say that you keep source code on your machine in /home/code. You would do the following

  1. Clone the grit-android repository into a directory in /home/code e.g.
     cd /home/code
     git clone https://github.com/GritLearning/grit-android
  2. Next, the grit repository has to be put into the assets/www directory within the grit-android project:
     cd /home/code/grit-android/assets
     git clone https://github.com/GritLearning/grit www
  3. Finally, clone the grit-khmer repository into a directory called content within grit e.g.
     cd /home/code/grit-android/assets/www
     git clone https://github.com/GritLearning/grit-khmer content

I hope that helps. I am sorry that it is so confusing to get started - we are trying to simplify it but there are complications with wanting to use different licences for different parts of the code. I am hoping we can simplify this process in the future.

Don't hesitate to get in touch if you have any more questions.
cheers
/Eoin/



On Mon, Nov 18, 2013 at 3:08 PM, youlay hong <youla...@gmail.com> wrote:
Dear Eooin Kelly,

For this error I check it and saw that the assets/www/index.html does not exist so please download the project from my attachment or you can download from https://github.com/GritLearning for your original source code.

Thanks you very much.

Best regard
youlay HONG


On Sat, Nov 16, 2013 at 9:52 AM, Eoin Kelly <eo...@eoinkelly.info> wrote:

Hi Youlay,
Sorry for taking so long to get back to you - work & life have been very busy recently.

Within the android project, the assets/www/index.html is the HTML file that phonegap loads. It seems like that file does not exist or is failing to load. Is it possible for you to share the code with me? If you can send me a copy or, even better, share the git repository with me, that would make it easy to help.

/Eoin/



On Thu, Nov 7, 2013 at 7:54 PM, youlay hong <youla...@gmail.com> wrote:
Dear Eoinkelly,

I am Youlay in Cambodia and I write this message to ask you about error when I setup Grit in my Eclip so the error  There was a network error. (file:///android_asset/www.index.html). 

I try to find in asset folder but I can't fix it

Thanks you.

I am looking forward to receive your reply soon

Your Fancifully, 
youlay HONG



--
Eoin Kelly | @eoinkelly | Github | Blog 




--
Eoin Kelly | @eoinkelly | Github | Blog 
Reply all
Reply to author
Forward
0 new messages