Debian Programming :: Can't Build Android App

May 29, 2014

I'm trying to setup tools for developing android apps on my Debian Wheezy (backport) system. Eclipse with android plugins is installed. Android SDK installed using android-sdk_r22.6.2-linux.tgz available from URL...My problem is I can't build the android app. The console in Eclipse tells me something (translated) like this;

Code: Select all[2014-05-30 16:36:45 - adb] Unexpected exception 'Cannot run program "/usr/lib/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory' while attempting to get adb version from '/usr/lib/android-sdk-linux/platform-tools/adb'

I have searched the web quite extensively but found no solution. It seems the issue may be due to I'm having a 64bit system but building the app requires some 32bit stuff.Some older posts suggest adding package by "apt-get install ia32-libs". In later posts (i.e. URL....

Code: Select alldpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

However doing apt-get install libc6:i386 asks me to remove 1536 installed packages and installing just 5 new...

Some info about my system ....
Code: Select all>uname -mrv
3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.4-1~bpo70+1 (2014-05-14) x86_64

View 8 Replies


ADVERTISEMENT

Software :: Build From Source On Android - Where To Start

Nov 30, 2010

I've got myself and Android phone, and I'd like to be able to compile from source ON my phone (I want to be able to run some command line tools like eyeD3, lame, etc.). Problem is, how do I get GCC on my phone with such limited resources? The Android platform isn't exactly meant for developing on. Another option would of couse be compiling on my PC using a cross compiler, but I'm a newb when it comes to that

View 1 Replies View Related

Debian Programming :: Booting Android Emulator Causes User Logout

Jan 15, 2014

I downloaded the ADT bundle for android development and whenever I try to boot an Android Device Emulator either from the eclipse version included in the bundle or from the command line, everything freezes for 1 minute and then a logout from my current Debian user session occurs. In other words, the Debian login screen appears again and all my previously opened applications get lost.

Not even when I run from the command line I manage to fetch any error notification.

I use:
- Debian Wheezy
- kernel 3.2.0-4-686-pae
- jdk1.7.0_09

I tried
./emulator @mydevname -no-boot-anim -show-kernel -shell
but I get the same result: the debian user session restarts

View 2 Replies View Related

Ubuntu :: Install Android Market On Android-sdk Emulator?

May 4, 2011

I installed everything and am running android OS on Ubuntu (using androidphonedriver guide). The problem I'm having now is that I don't know how to install android market application to be able to install other apps like opera etc.).

View 1 Replies View Related

Programming :: Connecting A PC With Android Cellphone Through Wif-fi Network?

Jul 7, 2011

I'm a very experienced Java programmer, have a very basic knowledge about android and java networking.I need a basic idea about how to make a desktop application that connects to android cellphone through wi-fi ? What classes should I use ?

View 1 Replies View Related

Programming :: Having Trouble Receiving Image In Android

Feb 19, 2011

I'm trying to send an image (which can vary in file size) from a python server to an android client . I'm not getting any errors and the file is being created client side however it always seems to fall short of the total file size. I have tried many different options in regards to input streams and buffer sizes but I have had no luck.

View 1 Replies View Related

Programming :: Avoid JNI In Order To Port A C/c++ STL Application To Android?

Jun 16, 2011

I wonder if it is possible to avoid JNI in order to port a c/c++ STL application to android ?Do I have an alternative for calling C/C++ (STL) code ?

View 2 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;

[Code]...

i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Programming :: Build Ip Packet With C,socket Programming?

Jan 30, 2011

How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:

Code:
struct sockaddr_in sock;
sock.sin_family=AF_INET;

[code]...

View 5 Replies View Related

Debian Configuration :: Android SDK And The Shared Libraries?

Aug 10, 2011

i have a notebook where i wont to install andorid SDK, I have a Debian 6, 64bit that work well.After install android sdk, i test installation but i have this

:~/android-sdk-linux_x86/tools$ ./emulator
./emulator: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
i use comand ldd
:~/android-sdk-linux_x86/tools$ ldd ./emulator

[Code]...

View 6 Replies View Related

Debian Multimedia :: Can't Transfer Files From KDE To Android 5 Via USB

Aug 26, 2015

I have a new smartphone with Cyanogenmod 12 (based on Android 5) and a new ext SD card in the phone which has been formatted. I turned on "USB debugging" in Android and connected the phone to Debian KDE with a USB cable. The phone shows up and mounts, and I can browse the files in Dolphin and copy from the phone to the desktop, but I can't copy from desktop to phone or modify the contents, even on the ext SD card. In Dolphin I always get the same error message, "writing to camera is not supported", even though I mounted the device as MTP* (not PTP) and even though I'm trying to write to the ext SD card which is not even where the phone camera stores things.

I chose to mount as MTP within Android. I don't know if I also need choose an MTP option within KDE somehow, or how to do that.

View 4 Replies View Related

Debian :: Android Tethering / Wired Changes To Mobile Broadband

Aug 27, 2015

I am trying to tether internet from my LG Leon to a new debian 8.1 install so i can install network drivers but i keep getting disconnected.After activating the tethering, it works fine, and appears as a "wired" connection in Network, after a minute it will always change from wired to "Mobile Broadband" and asks me to select my "Network". (Then the internet doesn't work until tethering is reset.) Is there any way i can stop debian from doing this? The silly thing the internet works perfectly until it shifts it like this.

View 3 Replies View Related

Debian Multimedia :: Banshee 1.6 - Android Devices Not Mounted

Dec 28, 2010

I have a sony x10mini and it is correctly seen in nautilus and shotwell. But nor in banshee 1.6 (testing and sid) nor in 1.9 (experimental) is mounted. Fact is that I know it works for sure in fedora and debian so I wonder if it a problem of some dependency missing, configuration or permissions. I use the testing distro by the way...

View 11 Replies View Related

Debian Configuration :: Android Rndis In Case No Driver For Internal WiFi

Feb 12, 2016

tried android usb internet tethering from your android with an usb cable to your laptop. zero configuration, the connection is detected as Enternet Usb and there you go Working 100%, quite simple

View 0 Replies View Related

Debian Configuration :: Permission Denied To Copy Files Onto Android Phone?

Jul 9, 2011

Here is a copy of my fstab # /etc/fstab: static file system information.

#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices

[code]...

View 6 Replies View Related

Debian Multimedia :: Mount Android Mass Storage Device In Thunar

Apr 12, 2016

Since I use openbox with some packages from Xfce4 (mainly for convenience) I get most stuff "for free" as it were when using openbox, but I can't figure out how to mount android devices in a simple way. I can either do it manually, or install some other file manager that has this capability. This leads me to my question, I've noticed that if I install Nautilus, which automatically mounts android devices OotB, I get this functionality in Thunar as well. This leads me to believe that there is clearly a dependency package of some kind installed when running apt-get install nautilus that enables it, It'd be great to get this functionality in Thunar without having all the nautilus packages just littering about for no good reason. the required package is gvfs-backends, which I should have realized when I was unable to browse smb:// addresses. You forget a lot when you only make a fresh install once every 2 years or so.

View 0 Replies View Related

Debian Hardware :: Android Phone No Longer Mounting Since Wheezy -> Jessie

Aug 7, 2015

Used to be, when I connected my phone and turned on USB Storage, it would automount, and I'd get a popup window asking me what I wanted to do (open and view files, or import photos with gthumb). I would just choose open and view files, move photos, music, etc. back and forth...

I would see the device listed in pcmanfm or thunar. Now, nothing happens. I do not get the popup, nor see the device in any file manager, etc. When I do fdisk -l, I do not see the phone listed, but when I do lsusb, I do see it.

Code: Select allBus 008 Device 067: ID 0482:0734 Kyocera Corp.
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

It's a Kyocera Hydro Elite, an android device, set for USB Mass Storage upon connection. The phone knows when it's been connected and gives me the option to turn on the mass storage, which used to trigger the popup on the computer, but the computer no longer responds.

I have thunar-volman and mtp-tools installed.

I don't seem to have any relevant entry in /etc/fstab. Not sure if I did before upgrading to jessie from wheezy or not... I don't believe so...don't think an upgrade would wipe anything from there.

Why I'm not getting access to the phone now? Or how I can mount it without knowing it's location from fdisk? I do not use gnome, but rather plain openbox.

View 12 Replies View Related

Programming :: Build A Spi Program Using C++?

Jan 19, 2011

I'm trying to build a spi program using c++. I'm able to perform half-duplex transfers using the read/write functions, it works perfectly. Now I need to perform a full-duplex transfer, but I'm facing some problems. When I try to receive more than one byte, the slave returns to me only one byte.Ex: I send: FF FF FF FF FF The slave must return: 03 02 00 13 04 But what is happening is:

1st Transfer:

tx: FF FF FF FF FF
rx: 03 00 00 00 00

2nd Transfer:

tx: FF FF FF FF FF
rx: 02 00 00 00 00

[code].....

View 3 Replies View Related

Programming :: Ant Build.xml And Regular Expressions?

May 31, 2011

i am trying to create an exclude regular expression for my build.xml. The problem is, that i am trying to find some info on which REs are acceptable/valid for ant... Is ant using standard regular expressions? POSIX ones? Since it is a java-based tool, the "Java REs" are probably valid. I am a little bit confused. If somebody can help me out with the different RE standards, i would be most obliged.

View 1 Replies View Related

Programming :: Ant Build.xml File For Eclipse?

Mar 26, 2011

I've spent all day trying to figure how to write an ant build.xml file for eclipse. I must have read 20 sites on the web but some how I just am missing it I continue to get the error

Code:
/home/knox/workspace/HW/src/projectBuilder.xml:5: the file attribute is required
here is my file at this point after many variations
Code:
<?xml version="1.0" encoding="UTF-8"?>

[Code]...

It works fine if I leave out the Main-Class line in manifest but then the jar is not executable Dick

View 3 Replies View Related

Programming :: How To Build VS2005 Projects

Feb 3, 2011

I need to create a SW project both for Windows (written with MS Visual Studio 2005) and Linux. Currently I have a build script for windows and another for Linux. I would like to build the project for both platforms on a single PC. Is there a way of building VS2005 projects with Linux (not using Cmake)?

View 2 Replies View Related

Programming :: Can't Build Parted 2.3 On Kernel 2.6.34?

Jun 18, 2010

Im trying to build parted 2.3, but I always end-up in the same error:

Code:
In file included from arch/linux.c:42:
/usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8'
/usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length':
/usr/include/scsi/scsi.h:163: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'

[Code]...

View 14 Replies View Related

Programming :: Build A Package Using A Different Lib Than The One Installed?

Jul 11, 2011

Is is possible to compile (but not install) a library, and then compile a package using that library instead of the version that's installed?

View 4 Replies View Related

Programming :: Build A 2D Graph In Java As A Picture?

Feb 3, 2011

I am trying to build a 2D plot for my data and I have the code for it. However, I want to save it as a jpg/png file so that I can have a link to it for my webpage. Below is the code:

Quote:

import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import javax.swing.*;

[Code].....

View 1 Replies View Related

Programming :: GCC And G++ Build Results If The -march=TYPE Is Not Specified?

May 25, 2010

I'm sure this has been covered somewhere before, but I couldn't find anything and so figured I would post here. I have been using Linux OSes for the past couple of years and also using GCC/G++ for application development. However, I have almost always been on x86 systems and never gained much experience using the wide range of optimization options available.

My question is, if I do not specify the -march=PROCTYPE option, will GCC still be able to detect the current architecture and build the code accordingly? I primarily ask this because I am working with an x86_64 system, and specifying -march=x86_64 in my makefiles generates errors about it being an unknown processor type, even though the CPU and OS are X86_64. I know this sounds like a newbie question, but it's just ground I've never had to cover before until now.

View 7 Replies View Related

Programming :: Build Whole Distribution From Source Codes?

Dec 11, 2008

I have downloaded whole linux source codes of fedora in a dvd. There are several rpm packages and lots of directories in it. I want to load all source codes to version control system (svn or cvs) which is loacated in a server and develop it step by step .During this time I want to build my own distribution. So I need to know how to build all these packages at once. Is there anyone who can explain "how to do" to me

View 1 Replies View Related

Programming :: How To Use X86 To Build Assemly Program For Arm Machine?

Apr 14, 2011

my build machine is x86 machine that is running ubuntu10.04, my target machine is tegra2 that is running on Andrioid, I wish my program can run under shell of android, as first step , I wrote a simplest assembly program which does nothing, but I got a link error, can somebody help me?

View 4 Replies View Related

Debian Configuration :: Build A Package - Debian / Rules Error?

Apr 2, 2011

I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.

dh_install -pemerald  --sourcedir=debian/tmp
dh_install: emerald missing files (usr/bin/*), aborting
make: *** [binary-install/emerald] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

[Code]...

View 2 Replies View Related

Programming :: Anjuta And Geany: Build Menu Is Grayed Out?

Mar 25, 2010

I am new to using Linux (Debian) and I wanted to install an IDE that covers all languages (C++, Java, SQL) so I decided to try Anjuta, but when I entered a simple "Hello World" code and tried to run it, I noticed that the Build > Compile selection was grayed out. I read on another forum that Anjuta can only compile projects so I switched to Geany, same problem. Do I have to install a compiler?

View 1 Replies View Related

Programming :: Make A Automated Build-script With Bash?

Apr 14, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors that I can't seem to figure out. Could anyone please tell me what's wrong with this package of build-scripts? I'm posting the main build-script and attaching the rest of the scripts in a compressed form. The errors mainly comes from the scripts in "/first_installation/usr/share/siem-live/init"

[Code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved