Android :: Setting Path For Sdk In Ubuntu ?
Apr 11, 2010
Export PATH=${/home/mohit/}:<android-sdk-linux_86>/tools
This is what i am using..
error:--bash: PATH=${/home/mohit/}:: bad substitution
This is the path of sdk
CODE:...................
View 2 Replies
Aug 13, 2010
I am trying to find the path for the android database files on Ubuntu 10.4, because I want to access with SQLite Browser. Someone can tell?
View 2 Replies
View Related
Aug 10, 2010
I am developing an Android App and would like to have a video file (mp4) bundled inside the .apk so that when the app is launched I can play a short intro video. Unfortunately I'm having trouble figuring out where in my project folder I should place this video file, and also how to access it (the path to the file).
I am using videoView.setVideoPath();
View 2 Replies
View Related
Aug 6, 2012
I've been trying to setup a perfect development and testing environment for:
1. 1st attemp
I installed Android (android-x86-4.0-RC2-eeepc.iso) on Virtualbox but run into these problems:
* No Wi-fi, but Ethernet instead (a Wired Android... duh!)
* "adb remount" not working, even with "su"
* I had to run this every time I start the device (8.8.8.8 is Google DNS)
Code:
# dhcpcd; setprope net.dns1 8.8.8.8
* Google apps not responding
2. 2nd Attemp
I used Buidroid (buildroid_vbox86p_4.0.3_r1-20120518.ova) and run into these problems:
* ALT F1 does nothing, I know I can use a terminal emulator but I like ALT F1
* I had to run this every time I start the device (8.8.8.8 is Google DNS)
Code:
# dhcpcd; setprope net.dns1 8.8.8.8
View 2 Replies
View Related
Jul 5, 2010
I've set set files to localhost an set the href links for the epub files.
<a href="more-utopia.epub" target="_blank"> more-utopia </a><br>
And I've try to browse from my custom web view but when I click to download the link, it appears no download and open the file in the browser with custom web view.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WebView web = (WebView) findViewById(R.id.webview);
web.getSettings().setJavaScriptEnabled(true);
web.loadUrl("http://10.0.2.2/epub");
web.setWebViewClient(new myWebView());
} class myWebView extends WebViewClient{
@Override public boolean shouldOverrideUrlLoading(WebView view, String url) {
url = "http://10.0.2.2/epub/"; view.loadUrl(url); return true;
} }
What I want to do is to download the files and want to set path the download location to user selected location.
View 1 Replies
View Related
Jul 5, 2010
Is there a way to read the points created when drawing a path? It seems silly to me that a path cannot be readable.Or is it just better to manually write the current finger position to an array?
View 1 Replies
View Related
May 1, 2009
Has anyone been able to get the sdk version 1.5 to work with Ubuntu 9.04 (64 bit)? I have tried the upgrade from and it fails with: Eclipse throws a "An SWT Error has occurred" message then I get a second dialog saying: pingUsageServer failed Android SDK Ping pingUsageServer failed. Anyone else getting this? I tried to do a reinstall of the sdk and eclipse and I have the same issue. Everything worked great with SDK 1.1 R1. Any help would be greatly appreciated.
View 9 Replies
View Related
Oct 26, 2009
It appears as though the emulated GSM portion of the android emulator is not working on my system. After scouring the web I have yet to find anyone with information about what might be causing the problem. When I fire up my avd (any avd), it says "No Service" If I go to Settings -> Mobile Networks -> Network Operators, I get an error message: "Error while searching for networks" I am running Ubuntu 9.04 x64 desktop edition. I have SDK 1.6r1 downloaded. I'm hoping this is a simple thing to fix.
View 5 Replies
View Related
Apr 29, 2009
Is Ubunto 9.04 compatible with development in Android? Before i ugrade, deploy on device was normal. Now, using 9.04, doesn't recognize it using "adb devices". This below is already set on my ubuntu: 1. Login as root and create this file: /etc/udev/rules.d/50- android. rules.
For Gusty/Hardy, edit the file to read: SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
For Dapper, edit the file to read: SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666" 2. Now execute: chmod a+rx /etc/udev/rules.d/50-android.rules
View 8 Replies
View Related
Nov 27, 2009
I have installed Karmic Koala (Ubuntu 9.10) and have installed Eclipse 3.5 (Galileo) on the same. When I tried to install ADT, I am getting the following error message:
"Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group 0.9.4.v200910220141-17704) Missing requirement: Android Development Tools 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group 0.9.4.v200910220141-17704) requires 'org.eclipse.gef 0.0.0' but it could not be found" Can someone point me to where I can find this missing plug in?
View 7 Replies
View Related
Jul 30, 2010
This is my first post and it should be an interesting one. Today I was trying to install Ubuntu on my rooted Galaxy S Vibrant. But, When I was moving the Contents of the download to my SD card, I realized that I didn't have enough space. I had a 2 gig SD card and the contents were just over 2 gigs (Plus the SD card really only had about 1.9 gigs) so obviously THAT wouldn't work. So I asked around and someone said that they had dropped the ubuntu contents into the internal memory instead of the SD card on their Moto DROID. Basically I am wondering if it is possible to do the installation process through my 16gb internal memory instead of the sd card. So for example in the guide telling you how to install ubuntu on android where it says to access the files for installation, they wouldn't be in the SD card, they would be in the internal memory.
View 10 Replies
View Related
Jan 25, 2009
I shut down my PC (running Ubuntu 8.10, fully updated) overnight and when I booted the following day, 'adb devices' failed to recognize my stock, OTA-updated, RC30 G1. I followed the instructions listed here:
http://code.google.com/android/intro/develop-and-debug.html#developin...
evan@evan-desktop:~$ cat /etc/udev/rules.d/50-android.rules SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" evan@evan-desktop:~$ adb kill-server && adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached emulator-5554 offline
To answer some preliminary questions:
- Yes, I have my phone on.
- It's on a USB 2.0 port.
- Yes, it sees the emulator(s), but not my device.
- Yes, "USB debugging" is enabled on the phone (and I tried toggling it).
- I've rebooted both the phone and the PC.
- I'm using the latest the 1.0_r2 SDK from the site.
- I'm on 64-bit Ubuntu, but it also fails to work in my 32-bit VM (that also previously worked)
View 3 Replies
View Related
Nov 5, 2009
During my very short time experience with Android, I found that Linux is most suitable environment for development compared to Windows. Please correct me if I'm too inexperienced. My question is, Which version of the Linux is best suitable. [Redhat/Fedora/Ubuntu..] Please let me know. Is Linux version really matters.
View 6 Replies
View Related
May 3, 2010
Was not able to launch the emulator on Ubuntu 10.04. Getting the below error in eclipse. Is there a work around or a fix for this?
[2010-05-02 23:35:34 - HelloWorld] Automatic Target Mode: Unable to detect device compatibility. Please select a target device. 2010-05-02 23:35:39 - HelloWorld] Launching a new emulator with Virtual Device 'android15' [2010-05-02 23:35:42 - HelloWorld] New emulator found: emulator-5554 [2010-05-02 23:35:42 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched... [2010-05-02 23:35:43 - emulator] XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" [2010-05-02 23:35:43 - Emulator] after 7 requests (6 known processed) with 0 events remaining. [2010-05-02 23:35:43 - HelloWorld] emulator-5554 disconnected! Cancelling 'com .paad.chapter2 .HelloWorld activity launch'
Is this a known issue with the 10.04 Lucid lynx ubuntu? You received this message because you are subscribed to the Google Groups "Android Developers" group.
View 5 Replies
View Related
Aug 6, 2010
When I trying run Android Emulation, i Have error message:
$ tools/emulator -avd Default -verbose -debug-all
emulator: found SDK root at /opt/android-sdk-linux_86
emulator: /home/jupeter/.android/avd/Default.ini: parsing as .ini file
emulator: 1: KEY='target' VALUE='android-8'
emulator: 2: KEY='path' VALUE='/home/jupeter/.android/avd/Default.avd'
emulator: /home/jupeter/.android/avd/Default.ini: parsing finished
emulator: root virtual device file at /home/jupeter/.android/avd/Default.ini
emulator: virtual device content at /home/jupeter/.android/avd/Default.avd
emulator: /home/jupeter/.android/avd/Default.avd/config.ini: parsing as .ini file........
View 1 Replies
View Related
Jun 28, 2010
I just wanted to run my first android application, but unfortunately in my AVD i don't see anything, just 'ANDROID_' and not my 'Hello, World' which i tried to display. I don't know where the issues is and I tried to search this Discussion as well. In my AVD Manager I created on AVD named it 'TestDevice' platform 2.2 etc. and even if I start it there I just get the letters 'ANDROID_' and noting else even the home button won't work.
View 2 Replies
View Related
Mar 15, 2010
I can't get Ubuntu 9.10 to recognize the Nexus One as a debug device. I tried following the instructions found here but they are not working: http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10
Anyone know of a link or know how to get the Nexus One to debug correctly in Ubuntu 9.10?
View 4 Replies
View Related
Oct 13, 2010
After upgrading Ubuntu to 10.10, my android projects in Eclipse stop working.
Lots of people seem to have this problem: http://forum.xda-developers.com/showthread.php?p=8591101
please, has anyone got a solution?
View 2 Replies
View Related
Jun 27, 2010
I have a HTC Desire which i would like to debug and run my Android application on. But when i in Eclipse gets the Window where i can choose between devices my HTC Desire is listed with only questionmarks (???).
I have tried this:
Enabled USB Debugging on my device and enabled debugging in my application Manifest.xml file.
In Terminal i have do this:
1. Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
2. SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
3. sudo service udev restart
View 1 Replies
View Related
May 2, 2009
I am running Ubuntu Linux (Jaunty) JDK 6.0 and am getting a strange error for my first app. i created the project and set the SDK home. And also the JAVA_HOME is set. But I can't run the app.
Your Project Contains error(s) please fix them before running your application.
The only thing I see on the console logs are the following:
CODE:.................
--------------
When I click Run as Android Application, I get the following error.
View 3 Replies
View Related
Aug 14, 2010
I tried to test my application on my android phone, but the it can't be able to detect the device compatibility. The debug mode on phone is enabled.
My phone: Motorola.
My ubuntu: 10.04.
IDE: Eclipse.
I even tried to add the following line:
SUBSYSTEMS==husbh, ATTRS{idVendor}==h22b8, ATTRS{idProduct} ==h41dbh, MODE=h0600"
to my /etc/udev/rules.d/90-android.rules.
But every time I tried to run the application, the device can't be detectable.
View 2 Replies
View Related
Jun 21, 2010
I've been coded for a kind of integrated map Android app on my Windows. , Then, I've been switched to Ubuntu and tried with Eclipse.. Later, when I start my app, I couldn't see my integrated map on both Emulator and my N1.
View 1 Replies
View Related
Dec 12, 2009
I've been trying for days to build the android source in Ubuntu. I followed all the steps outlined in "http://source.android.com/ download", but the actual make of the source fails. I captured the terminal output and saved it to Google Docs in the hopes that someone a lot smarter than me can figure out what I'm doing wrong :)
http://docs.google.com/Doc?docid=0Ad3KKVAuyg0zZGQ1cTN6ejVfMGdzd3ByM2M...
View 3 Replies
View Related
Mar 17, 2009
I have a problem. First my environment: -Ubuntu 8.10 -Eclipse 3.4.2/ADt 0.8 android SDk 1.1.r1
R.id.icon reference i snto showing upo. my R java file shows: Code...
Was implementing ViewHoldr/Wrapper classes when I noticed it. As you can see label show up fine
View 2 Replies
View Related
Feb 15, 2010
I got a huge problem with the Android Development Tools ADT running in Eclipse Galileo (3.5.1) on Ubuntu 9.10, 64bit.On this platform, I do not manage to see any property edit dialogs for layout properties. E.g. the one where you can select a string resource ID for text fields, or a drawable ID for image fields or backgrounds.Whenever I click on the button next to the property value - nothing happens, except this button disappears.Properties with a list of possible values, e.g. "wrap_content" or "fill_parent" are displayed in a dropdown box directly in the properties field.On a different system I work in a Windows environment with Eclipse 3.4 and the same ADT: no problems whatsoever, everything works fine, the dialogs come perfectly.Does anyone know what to do here? Where's the problem? Why does Eclipse not tell me that something goes wrong?
View 4 Replies
View Related
Sep 21, 2012
I have been trying all morning and half g today trying to get the bloody thing to instill. I have followed the instructions in the txt file inside but when I go into terminal and CD into the folder and type Android like the instructions day it cannot find three file or if I try it as ./tools/android permission denied and I sudoed in before hands so I have root access.
View 9 Replies
View Related
Sep 22, 2009
I just switched from Ubuntu 8.10 to Ubuntu 9.04 and noticed that Eclipse Content Assist isn't working anymore. I tried the following variations on Ubuntu 9.04: Eclipse 3.4.2 or 3.5 (cleaned / reinstalled) with ADT 0.93 and Android SDK 1.5r3 Using Sun Java 1.6. No combination works. I've reinstalled everything a bunch of times. I have another machine with Ubuntu 8.10 and Eclipse 3.4.2 with ADT 0.91 or 0.93 and Code Assist works for all those. I just refuse to develop without code-assist and I know lot of people would agree with me on that.
View 2 Replies
View Related
Oct 16, 2010
I'm a junior iphone developer and got familiar with developing on xcode on top of Mac OS.I wanna build some Cross-Platform apps in the near future and wanna Use Ubuntu as my Operating system.I found many solutions that run only on Mac OS or need mac to build apps for iphone but this is not what i need. i need something which can keep me far from mac (for some reasons).I heard about AIR packager for iOS and that also AIR does apps for android but i'm not a flash guy (but can learn if it will do the job), so i wanna guidance from experience people like you about what is the suitable route should I take.
View 1 Replies
View Related
Oct 26, 2010
Over the years I've been able to get my fiancee to (for the most part) comfortably use Ubuntu on my computers. Recently I got her to jump ship to the DI and so far she is loving it. My request now is, what is the EASIEST program to sync music with? (Obviously, it needs to be Linux compatible) I've never been a music/mp3 listener so I'm not real fluent on the best methods for storing/playing music. Do you keep all your music in one folder on your phone or SD card? Do you organize it via folders? Do you use the stock music player app? If you all don't mind, give me ideas on the best music management and I'll get her setup and running smoothly so she'll never look back to iPods/Windows again!!
View 1 Replies
View Related
Jan 28, 2010
I am facing an issue as below when building kernel image. Code...
View 2 Replies
View Related