Last active
November 25, 2017 15:35
-
-
Save cgraamans/de512134c7b2bee7f92cfd9c169fe413 to your computer and use it in GitHub Desktop.
Revisions
-
cgraamans revised this gist
Nov 25, 2017 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,10 @@ # Installing android-sdk on Raspberry Pi 3: # # # NOTE: Up to this point, Android Studio SDK does NOT support ARM chipsets. To build an actual .apk you will need to either install # a 64 or 32 bit OS on your Raspberry PI. Without this you're up a very dirty creek without a rowing implement. # # 1. Install openjdk # -
cgraamans revised this gist
Nov 24, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,10 +32,10 @@ cp /usr/share/java/swt.jar /media/usb1/android-sdk-linux/tools/lib/arm sudo mkdir /opt/gradle cd /opt/gradle sudo wget https://services.gradle.org/distributions/gradle-4.3.1-bin.zip # Note: https://gradle.org/releases/ cd /opt/gradle sudo unzip -d gradle-4.3.1-bin.zip # # 5. Set android-sdk path -
cgraamans revised this gist
Nov 24, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -54,6 +54,9 @@ export _JAVA_OPTIONS="-Xmx128m" # reload bashrc source ~/.bashrc # # 6. Install all sdk packages # cd android-sdk-linux/tools ./android update sdk --no-ui -
cgraamans revised this gist
Nov 24, 2017 . 1 changed file with 35 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,31 +1,59 @@ # # Installing android-sdk on Raspberry Pi 3: # # # 1. Install openjdk # sudo apt install openjdk-8-jdk # # 2. Download android sdk # cd /media/usb1 wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz tar -xvf android-sdk_r24.2-linux.tgz # # 3. Get ARM specific swt.jar if not in /usr/share/java # sudo apt-get install libswt-gtk-3-java # put this in android-sdk-linux/tools/lib/arm mkdir /media/usb1/android-sdk-linux/tools/lib/arm cp /usr/share/java/swt.jar /media/usb1/android-sdk-linux/tools/lib/arm # # 4. Install Gradle # sudo mkdir /opt/gradle cd /opt/gradle wget https://services.gradle.org/distributions/gradle-4.3.1-bin.zip # Note: https://gradle.org/releases/ cd /opt/gradle unzip -d gradle-4.3.1-bin.zip # # 5. Set android-sdk path # nano ~/.bashrc # add these lines, save, and exit export PATH=${PATH}:/media/usb1/android-sdk-linux/tools export PATH=${PATH}:/media/usb1/android-sdk-linux/platform-tools export ANDROID_SWT=/usr/share/java export PATH=${PATH}:/opt/gradle/gradle-4.3.1/bin export _JAVA_OPTIONS="-Xmx128m" # Note: _JAVA_OPTIONS for java mem heap size # reload bashrc source ~/.bashrc # 6. Install all sdk packages cd android-sdk-linux/tools ./android update sdk --no-ui -
cgraamans revised this gist
Nov 24, 2017 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,5 @@ # Installing android-sdk on Raspberry Pi 3: # install openjdk sudo apt install openjdk-8-jdk -
cgraamans created this gist
Nov 22, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ # Installing android-sdk on Raspberry Pi 3: sudo npm install -g phonegap sudo npm install -g cordova # install openjdk sudo apt install openjdk-8-jdk # download android sdk cd /media/usb1 wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz tar -xvf android-sdk_r24.2-linux.tgz # get ARM specific swt.jar if not in /usr/share/java sudo apt-get install libswt-gtk-3-java # put this in android-sdk-linux/tools/lib/arm mkdir /media/usb1/android-sdk-linux/tools/lib/arm cp /usr/share/java/swt.jar /media/usb1/android-sdk-linux/tools/lib/arm # set android-sdk path pico ~/.bashrc # add these lines on top, save, and exit export PATH=${PATH}:/media/usb1/android-sdk-linux/tools export PATH=${PATH}:/media/usb1/android-sdk-linux/platform-tools export ANDROID_SWT=/usr/share/java # reload bashrc source ~/.bashrc # install all sdk packages cd android-sdk-linux/tools ./android update sdk --no-ui