General :: Failed To Execute Box Appears In SDK
May 19, 2013when i run the sdk manager i get. Failed to execute tools/android.bat:error 2 the system cannot find the file specified
View 1 Replieswhen i run the sdk manager i get. Failed to execute tools/android.bat:error 2 the system cannot find the file specified
View 1 RepliesI need to customize the launcher application. I built it from the android source, and installed it to the emulator successfully(By renaming its package name to solve signing conflicts). When I tried to run my build, an exception occurred, and I can't find where it actually from because it seems to be from an internal thread.After an whole day trying, I found that the exception is thrown by the line in Launcher.java possibly: setContentView(R.layout.launcher)Does anyone have any suggestion?
View 9 Replies View RelatedI am trying to create an Android maps project. Everything was working fine until i added Salesforce classes into it. Now it doesn't even compile. It gives me: Type Conversion to Dalvik format failed: Unable to execute dex: null error.
I tried 1) Increasing memory in the .ini file. That didn't help. 2) Project -> Clean option. It cleans, builds again and then gives me the same error.
I am using Snow Leopard and i have the latest version of Android on my system. I just installed it last week. Plus, my eclipse is Ganymede. I even tried it with Galileo.
I am new user in the area of Android, but have Linux knoweldge. I am trying to configure my android device LG Nexus 4 to act as Document Camera
For this purpose, I have to scp the files and then remove the files remotely. I have installed SSH server and my scp works, but my remote execution of commands using ssh not working, it throws error
with -v ssh gives the following messages
"Authenticated to 192.168.21.233 ([192.168.21.233]:57388).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending command: rm -rf /storage/emulated/0/DCIM/Camera/IMG_20130822_111706.jpg
exec request failed on channel 0 "
when I goggled it says that editing ssh_config file and uncomment: 'AddressFamily all' and changing it to 'AddressFamily inet' will work I checked in the android devices /etc directory, I did not find the ssh_config
Basically I have been working on a Boot animation changer for the Nexus 7 and the program so far is coded in a C# form for windows.
I have coded everything fine up till now. I need to run a ADB command to push a file from my Program files x86 to the nexus 7 and write over the original Boot file.
But is there a simple and easy solution for writing this code? Or do I need to make a console application which does this process when started?
( I can push files manually via ADB, but the point is to make the tool " one click " If you get my drift.)
I am trying to create a tasker automated thing, which would show a scene which will have a button to execute a shell command (The command should be executed as root). how to do it?
Code:
reboot recovery
It seems there is a lack of support for using tasker.
My aim: When ran, use a tasker task to execute the WiFi for Root users tether start, and if I'm lucky, stop as well in a separate task.
What I have done: I have locale execute plugin. I start an execute task and in configuration I typed
Code:
/data/data/com.googlecode.android.wifi.tether/bin/tether start
as this is what is displayed when enabling tethering in the WiFi tether app itself.
The problem: Though when ran, this exe task does nothing. Wrong code? Wrong plugin in tasker? I want to do this not just for convenience, but also to learn.
See attached for reference.
I've installed LinuxOnAndroid with Fedora 19, I'm trying to get the /dev/fuse /sdcard to mount with exec permissions.
Currently it's only mounting /dev/fuse without execute permissions.
I Want to run This File in my phone (via terminal emulator).
but after type ./amxxpc i have error
line 1: syntax error: unexpected "("
File which I Want to start is in scripting.zip
What I want to do is be able to map arbitrary keycodes to execute custom commands. I purchased a Bluetooth numeric keypad, and with CM7, I am able to sync it and generate key events. However, they're not mapped to anything, so it's pretty useless. My hope in buying this product was the ability to map the keys to input events and be able to control my phone (Maps, IME, etc) while my phone is docked in my car so I'm not doing the "distracted driving" thing. So, is there a way I could code an app/service that would capture key/scancodes and execute user-defined commands (such as screen events)? Further, could this service change its behavior when the IME is active, allowing me to map the keys to the on-screen keyboard? I use a T9 app, and if the program could map to screen events when the IME is active allowing me to type T9 on a physical keyboard, that would be amazing.
View 1 Replies View Relatedi have made a kinda theme installer (for stockrom)..
so.. first of all i extract needed file from assets to sdcard
n on button click i add this line of code..
the code is work n sometimes not...
when execute the code, my phone hang for several time
"here is the line of execution code :
Code:
Process ppush;
try {
ppush = Runtime.getRuntime().exec("su");
DataOutputStream os = new DataOutputStream(ppush.getOutputStream());
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
");
os.writeBytes("cp /mnt/sdcard/dys/SystemUI.apk /system/app
");
[code].....
I would like to execute adb commands from my Java application. At the moment I use Runtime.getRuntime().exec(command), is there a better way? Maybe even a library?
View 5 Replies View Relatedin my device htc one x mt6577 it have ram 1g but always used 802mb and free 186mb its high usage of ram and in same time i dont open any app and when i connect device to computer and run eclipse program this appear in this picture
it appears 82% of ram uknown it need same to format it
When I start to type in any notepad app, although the cursor moves (sometimes to the right, often down a line or two or three first and then to the right) no text appears on screen. However, when I then exit the keyboard, the text miraculously appears. This only happens in notepad apps. My notepad of choice is "Note Everything", but I've now duplicated the problem in two other notepad apps. Im using Galaxy Note.
View 5 Replies View RelatedI just plugged my phone into the computer, pushed a file to the sdcard and then unplugged it. When I opened Root Explorer, it didn't default to my sdcard as usual so I opened the built in file manager and it found the card just fine. I checked the /mnt folder and sure enough the sdcard appears in there. /sdcard has always shown in my root directory and has done so up until now. Now, instead of a /sdcard folder, I see a file in the root directory named sdcard. I fear the location change could cause issues (the least of which is tweaking out my OCD).
I didn't do anything out of the ordinary. USB Debugging is enabled, I left the phone in charge only mode, I ran the command "adb push C:directoryfile /sdcard" and it appeared to be successful, I unplugged it without using the "eject" function on the computer. I've done this many many times before and this has never happened to me. I have a Droid X and am running Wizard0f0's MIUI build. Again, none of my steps vary from what I've done before. The computer is the same, the drivers are the same, the location of adb is the same, etc.
I am trying to root my samsung galaxy s duos. I have done all procedure for rooting but it says me as signature verification failed. I tried to boot into cwm but it never boots into it, i tried all possible combinations.
View 1 Replies View RelatedI noticed that my Nexus One (stolen the 8th of July) still appears on my devices lists on Google Play, with some interesting information I want to clarify that this happens with the Google Account password changed (because I did it after the theft)!
My carrier wasn't Wind but H3G.
I assume there is nothing I can do, because I've changed the password of the Google Account (for security reasons), but I'm curious if there is some different way to find the new SIM number.
The IMEI would be blocked on the entire territory from tomorrow, so this thief will be able to use it with no phone functions.
My cell phone is a LG Optimus Hub E510... i have instaled the Cyanogen 7.0 to substitute my Android 2.3.4 that was in my cell phone... but after i've instaled the Cyanogem the apps and games have disappear... facebook, whatsapp and other... i tried to install the apps again but my cell sends a message that they're already instaled... what can i do to my apps appear again?
View 2 Replies View RelatedMy mobile is xolo q800, see my attachments in 100 % zoom .1st image shows a comparison between the original pic (left side) and the same pic as my phone wallpaper (right side) with no cropping and scrollable taken by default screenshot (hold vol- and power button simultaneously). i have marked the problem areas with black circles for u to compare notice the scar below the eyes appears smudged in my phone...the same pic looks good without smudging when viewed with astro file manager or quickpic....but even when i set the same pic from quickpic(no smudging in quickpic app) as the wallpaper....the wallpaper looks smudged again.
View 1 Replies View RelatedI am under ICS 4.03 on Acer Gallant Duo (E350) (MT6575)
/sdcard = internal storage
/sdcard2 = removable storage
I change build.prop parameter to ersist.sys.usb.config=mass_storage,adb
My device switched fro MTD to UMS correctly but only internal sdcard in visible and mount on my computer.
/sdcard2 (external sdcard) is not visible and not mounted on computer.
The strange part of the process is that /sdcard2 is unmount from the device (ACER) but not presented to the computer.
I tried to reformat the external sdcard2 without success.
I own a Karbonn A9+/Cherry Mobile Flare (JB 4.1.2), with CMX JB as my current ROM.
Now, I had got a problem with my device once when I restarted it. My phone just showed me the splashimage for about 2-3 mins and showed a blue screen, which just stuck to it. I removed its battery & restarted it, but it just booted up the same blue screen again.
I solved it by restoring my system.img by my previous nandroid backup. But still, I'm curious to know why and how the blue screen appears.
Screenshot:
I want to use my android device (4G Systems One Tab) to remotely execute a batch file on my PC via WIFI-Connection.
I want to have an Icon on my homescreen and when its clicked the batch-file on the desktop computer is executed. (no feedback or output needed, this is all done by the batch).
What I am trying to do is get either nest-api in PHP or pynest in python to run out of SL4A in order to control my Nest thermostat ultimately out of Tasker. Both are found on github, but I can't link to them as I apparently need ten posts to do so. So a google search for "nest-api github" and "pynest github" will have to do I suppose.
I have absolutely no issues getting either to run out of Terminal on my MacBook Air, but for whatever reading the SL4A shell seems to escape my understanding. I would rather have the PHP script work, as it has more options for things I can set, which I like. Where to put the nest.class.php on my phone in order for the PHP shell to reference it when running the example.php or any script I write myself. When I put both files in the sdcard/sl4a/scripts folder and try to run either from within either sl4a or sl4a's shell I get a call to undefined function error.
For the python script, I'm not sure how I need to import the module so that I can call it with nest.py at the beginning of my command line prompt and follow it up with the user name and password and so on. I've done everything including trying to create an .egg file, which I've since been told is not necessary, and that I simply have to put it in the /sl4a/scripts folder. That doesn't make sense to me though, as I needed to run the setup.py command on my computer in order to start using it, and the .egg file should be the equivalent of that on the phone, no?
So what I am looking for is the foolproof way to get either a php or python script running through the shell that isn't actually hooking into the Android environment at all, which is what all the writeups I have found in my searching seems to pertain to. Then eventually make sure that they are available in a way that Tasker can call them. I should also note that all this has been done in an emulator through eclipse until this point, as I didn't want to go screwing around with my brand new Nexus 4's file structure until I had the best practice perfected.
All TextViews in my app appear like this, including my settings screen. The text do you see are images. The application continues functioning just fine and we are not able to reproduce the issue consistently, it just seems to happen after a long period of use.
View 1 Replies View RelatedI want to set this picture as my Wallpaper. The problem is, when I select "Set As", the picture suddenly appears with a lower quality.
Here's the picture as it is, and then after I press on "Set As".
As you can see, in the second picture, the wallpaper has a lower quality. I didn't zoom in or anything, but somehow I cannot get the best quality (shown as I see it in my gallery), as soon as I try to set it as my wallpaper, the quality lowers.
Whenever i start my samsung galaxy y s5360 screen appears completely white like a flashlight, but the phone is working i can recieve callls on my phone but cannot see anything on my device. even in dwnld mode & recovery mode the same problem persits, i cannot see anything .
I have installed custom creed v2.0 rom on my android device. Recently i have replaced motherboard of my device. Under Warranty.
I Want To Flash stock rom on my device but i cannot see anything on my device so i am unable to flash my device.
Another problem is that when i enter download mode odin detects my device but when i try to flash the rom it says unable to open com port.
At Present my device is working properly but when i restart my device the problem returns !!!!!!
I got HTC flyer 3G from my friend as gift....that one was rooted and s-off .when i tried to flash custom rom it showed option like recovery,wipe/factory reset,.
After 2 days,I have installed AVAST Anti theft app and forgot the password for it...so i gave it to reinstall the OS...and it was back to normal...So I thought to put custom rom..and started to boot the device with SD card inside....BUT the recovery didnt show any options as it was shown earlier,the black screen appears with triangle mark with '!' symbol....
The screen shows the following message
FLYER PVT SHIP S-OFF L
HBOOT- 6.10.1002
MICROP-0850
RADIO-3809.04.04.2LM
eMMC-boot
may 4 2011
My Motorola maxx has a broken screen, there is no image at all. The device appears to power cycle, and when connected to win 7 there are 2 drives to explore, both appear as unformatted.
How to recover my files ? When I connect my new maxx the folders are also unreadable.
i had installed an lg rom on my sky vega racer 760s... but after that no touch is working and also no recovery appears after pressing the volume up + search + power on key... what should i do ? ..
View 1 Replies View Relatedi have tried to install kitkat version for galaxy y duos s6102,for that i installed clockwork mod n cynogenmod n kitkat file..but after installing the screen goes blank,nothing appears except Samsung logo screen,
View 2 Replies View Related