Tuesday, May 31, 2016

How to input ${sdk.dir} to build.xml | Apache Ant | Ubuntu

Assuming, $ANDROID_HOME (environmental variable ) refers to android sdk directory, you can inject the ANDROID_HOME  into the sdk.dir property using the following ant command. $ ant debug -Dsdk.dir=$ANDROID_HOME ANDROID_HOME must be an absolute path...

Mouse cursor not visible | Ubuntu

SOLUTION: sudo modprobe -r psmouse sudo modprobe psmouse If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged ...

android update project: command not found | Ubuntu

Context: Running android update project ERROR: command not found Solution: export ANDROID_HOME=/Applications/android-sdks Add Tools to PATH export PATH=${PATH}:${ANDROID_HOME}/tools Add platform-tools to PATH export PATH=${PATH}:${ANDROID_HOME}/platform-tools If you enjoyed this post, make sure you subscribe to...

ERROR: subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1 | Ubuntu | Buildozer

Context: Running buildozer android debug ERROR: subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1 SOLUTION: Go to ~/.buildozer/android/platform/android-sdk-24/tools/ant Run ant debug You will find issues. Sort them out. If you enjoyed this post, make...

Monday, May 30, 2016

ERROR: Target id 'android-xx' is not valid. Use 'android list targets' to get the target ids | Buildozer | Ubuntu

ERROR: Target id 'android-xx' is not valid. Use 'android list targets' to get the target ids. ... ... ... File "/usr/lib/python2.7/subprocess.py", line 541, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ant', 'debug']'...

ANT version change | Buildozer | Ubuntu

Type which ant in terminal.  Mine resulted with /usr/bin/ant. If apache ant is not installed already, you might get an error. Uncomment #android.ant_path = line in buildozer.spec use android.ant_path = /usr/bin/ant  Now you can control the...

ERROR: ant/build.xml : Unable to resolve project target 'android-19 | Buildozer | Ubuntu | Android

I am trying to build apk using buildozer and below is the error I've encountered: ant/build.xml :  Unable to resolve project target 'android-19 ... ... ... Traceback (most recent call last):   File "build.py",...

Solution: # Aidl not found, please install it | Ubuntu | Buildozer

ERROR: # Check that aidl can be executed # build-tools folder not found /home/raviteja/.buildozer/android/platform/android-sdk-24/build-tools # Search for Aidl # Aidl not found, please install it. SOLUTION: Above error says build-tools folder is not found....

Solution: E: Sub-process /usr/bin/dpkg returned an error code (1) | Ubuntu

gksudo nautilus Navigate via nautilus to: /var/lib/dpkg/info Search for: package name .. "openjdk-9-jdk" in my case Delete them. close nautilus sudo apt-get update If you enjoyed this post, make sure you subscribe to my...

Page 1 of 49123»