Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#Android C compile Notes #install needed files sudo apt install android-sdk adb build-essential git unzip google-android-platform-24-installer openjdk-11-jdk-headless #also could be downloaded from: #wget -c https://dl.google.com/android/repository/platform-24_r02.zip #Might get a smaller sdk with this, but I have not tested it: #https://dl.google.com/android/repository/commandlinetools-linux-6200805_latest.zip #get Google Android ndk #if in repose sudo apt install google-android-ndk-installer ###if not download it### wget -c https://dl.google.com/android/repository/android-ndk-r21b-linux-x86_64.zip unzip ######################## #set paths #if you manually installed sdk and ndk then they might be in a different location export NDK=/usr/lib/android-ndk export ANDROID_HOME=/usr/lib/android-sdk export SDK_LOCATIONS=/usr/lib/android-sdk #CHANGE "android-23" to your version PATH=/usr/lib/android-sdk/platforms/android-23:$PATH #get example code git clone https://github.com/cnlohr/rawdrawandroid --recurse-submodules #compile, push to device, and run make keystore make push run
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)