Jump to content

Mobile App/Cordova Development Notes: Difference between revisions

Line 36: Line 36:
</pre>
</pre>


Clone the Open Food Facts Cordova repository
=== Possible errors ===
<pre>git clone https://github.com/openfoodfacts/cordova-app.git</pre>
=== Errors ===


==== "error android_home is not set and android command not in your path" when doing "cordova platform add android" ====
==== "error android_home is not set and android command not in your path" when doing "cordova platform add android" ====
Line 69: Line 67:


Run SDK Manager, install Android build tools.
Run SDK Manager, install Android build tools.
== Get the source code ==
Clone the Open Food Facts Cordova repository
<pre>git clone https://github.com/openfoodfacts/cordova-app.git</pre>


== Android version code ==
== Android version code ==