Last active
August 7, 2016 07:40
-
-
Save hiyali/684f29e18c472d89d0f2929e7ec1df64 to your computer and use it in GitHub Desktop.
This file contains 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 characters
##################################### | |
::: gradle ::: | |
[prod-path]/platforms/android/cordova/lib/builders/GradleBuilder.js | |
var distributionUrl = 'distributionUrl=http\\://services.gradle.org/distributions/gradle-2.2.1-all.zip'; | |
And replace it with your own file's location: | |
var distributionUrl = 'distributionUrl=../gradle-2.2.1-all.zip'; | |
#################################### | |
::: android target ::: | |
[prod-path]/platforms/android/project.properties | |
target=android-23 # or your installed version | |
#################################### | |
::: locally download jdk and android ::: (in your .bashrc || .zshrc || .config/fish/config.fish) | |
set -gx JAVA_HOME /work/zulu8.15.0.1-jdk8.0.92-linux_x64 | |
set -gx PATH $JAVA_HOME/bin \ | |
$HOME/OLD/lida/apps/vuze \ | |
/work/android-studio/gradle/gradle-2.10/bin \ | |
/work/android-sdk-linux \ | |
/work/android-sdk-linux/tools \ | |
/work/android-sdk-linux/platform-tools \ | |
/work/android-sdk-linux/build-tools/23.0.1/ \ | |
$PATH | |
set -gx ANDROID_HOME /work/android-studio/ /work/android-studio/bin/ | |
#################################### | |
::: for (:CordovaLib:processDebugResources FAILED) ::: | |
If you are using a Ubuntu 32bit version | |
sudo apt-get install libgl1-mesa-dev | |
If your Ubuntu is a 64bit and its version is <= 13.04, run: | |
sudo apt-get install ia32-libs | |
In case of Ubuntu 64bit and version >=13.10, run: | |
sudo apt-get install libgl1-mesa-dev:i386 | |
################################### | |
::: debug (after cordova run android) ::: | |
adb logcat | |
################################### | |
set RAM size / etc.. to bigger than |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment