I want to make Ionic Framework projects work on Android 4.0.3
-
Android 4.0.3 is API Lvl 15, download it via ADV
-
npm install -g [email protected] (Newer versions may not work with android-15)
-
ionic platform add android
-
edit config.xml > ``
# Nginx: | |
server { | |
if ($host = mcloud.MY-HOMELAB.com) { | |
return 301 https://$host$request_uri; | |
} # managed by Certbot | |
listen 80; | |
server_name mcloud.MY-HOMELAB.com; | |
} | |
server { |
# To check the listening ports and applications on Linux: | |
# Open a terminal application i.e. shell prompt. | |
# Run any one of the following command on Linux to see open ports: | |
sudo lsof -i -P -n | grep LISTEN | |
sudo netstat -tulpn | grep LISTEN | |
sudo ss -tulpn | grep LISTEN | |
sudo lsof -i:22 ## see a specific port such as 22 ## | |
sudo nmap -sTU -O IP-address-Here |
BUG: | |
Could not connect to address=(host=127.0.0.1)(port=2234)(type=master) : Could not connect to 127.0.0.1:2234 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server) | |
Could not connect to 127.0.0.1:2234 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server) | |
Could not connect to 127.0.0.1:2234 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server) | |
unexpected end of stream, read 0 bytes from 4 (socket was closed by server) | |
unexpected end of stream, read 0 bytes from 4 (socket was closed by server) | |
SOLUTION: | |
set connect string : |
vim .bashrc | |
et ajoutez cette ligne: | |
export LC_ALL="en_US.UTF-8" | |
export LANG="en_US.UTF-8" | |
export LANGUAGE="en_US.UTF-8" | |
Enregistrez le fichier et validez vos changements immédiatement avec la commande source : | |
source .bashrc |
<?php | |
/** | |
* @file | |
* Drupal site-specific configuration file. | |
* | |
* IMPORTANT NOTE: | |
* This file may have been set to read-only by the Drupal installation program. | |
* If you make changes to this file, be sure to protect it again after making | |
* your modifications. Failure to remove write permissions to this file is a |
I want to make Ionic Framework projects work on Android 4.0.3
Android 4.0.3 is API Lvl 15, download it via ADV
npm install -g [email protected] (Newer versions may not work with android-15)
ionic platform add android
edit config.xml > ``
cd <localdir> | |
git init | |
git add . | |
git commit -m 'message' | |
git remote add origin <url> | |
git push -u origin master |
$ git remote -v | |
$ git remote rm origin | |
$ git remote add origin [email protected]:newgit/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master | |
$ git push |
# Update system | |
sudo apt-get update -y | |
# Install the software-properties-common Package | |
sudo apt install -y build-essential libssl-dev software-properties-common python-software-properties curl autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev git-core | |
# Elementary Tweaks | |
sudo add-apt-repository ppa:philip.scott/elementary-tweaks | |
sudo apt-get update |