NDK-Build, command not found - Android Software Development

Is anyone able to help me?
Running windows 7 x64 i cant get the ndk-build command to work.
Running in cygwin, i do a make -v...gnu make is working
I have the NDK at C:\NDK and have it set in environmental variables
But whenever i try and run ndk-build it allways says 'command not found'

Related

SuSE has to be different

Hello, I've been with XDA Developers since before I got my XDAii. You've helped me with every problem faced so far, and I would love it if you could try help me with this one. please.
I've Downloaded some version of SynCE (which is supposed to be the Linux version of ActiveSync) but I need to compile it with the ./ command. My only problem is SuSE doesn't have a ./ command and the Packages I've downloaded are useless. Does anyone know where I can get SunCE so it will (Atleast) install under SuSE.. If it is not possible Novell is getting an email :twisted:
Thankyou in advance.
./ ???? I think you should read better the instructions... there's no ./ command in Linux (Nor SuSE, nor Debian, Nor everyone) dot slash in Linux refers to actual directory. It's: In windows (MS-DOS command line) you can run any command simply typing it's name and intro because actual path is a path that windows recognize.
For security issues Linux doesn't include actual path in its execution paths so when you want to run some command in actual directory you should write, before the command you want to run, the dot slash in order to say Linux where to find the command you want to run.
After all this, I think you forgot to type the instruction to compile the SynCE so better try to read better the README's or INSTALL's.txt and type the command after ./ And wait to call Novel... specially if your smiley indicates that it's going to be a flaming mail
I'm a linux user and have been for over 5 years now, and ./ is to run a application after you chmodded it properly so the user can run it. SynCE is compatible with any linux because any linux is modable to install any application even though it says it might not be able too! Linux is all editable, all the files, etc. You can get anything running, I sure have.

Can someone help me with booting debian ?

I am following this guide here, http://ubuntuforums.org/showthread.php?t=1413313 but when i type the command
"sh android-sdk-linux_86/tools/ddms"
it says it can't open the file. Any help would be great. Thanks
btw i am already unlocked and rooted so i just need to do steps 2 and 5
does the file exist?
ddms is part of the android sdk. i'm assuming you have installed the linux version of the sdk and know where the tools directory for the installation is?
i don't think you are even required to run this step anyway:
Code:
Now, for example, if you plug in the phone and run
$ sh android-sdk-linux_86/tools/ddms
[b]you will see the phone listed. (Note: this is not a step in the howto) [/b]
-verify the file exists at the location specified
-make sure it is executable to the current user (chmod +x)
or post the exact error message here
Yep the file is there and in the right place but when i type it it tells me "Can't open android-sdk-linux_86/tools/ddms"
Anyone...all i need is to get ubuntu to recognize my phone when i plug it in...
Hmm, seems a little odd. If you type the same command but replace the "sh" with "ls -l" what comes back? Plus, what user are you logged in as?
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
I got it working yesterday, not sure what i did but ubuntu recognizes my phone now.

[Q] Rebuilding adb.exe for windows

Hi,
I patched the adb source code to allow for syncing a device tree to my local system (e.g. only copy files that are not already copied before) so I can do incrmenetal backups of the phone sotrage and externa sdcard.
The linux binary I build from that source works fine!
However, I also want to build the adb for windows. At first site all seems well, but when I run the adb.exe on a windows host it just does nothing. I just gets back to the command prompt without any output, not even the usage info when you run adb without andy command line options. I added a small debug printf as the first thing it does, but still no output.
So I'm seeking help on hwo to properly build adb.exe.
Here is what I have.
Development environment on a Fedora-20 64-bit machine
Installed the mingw-32-gcc toolset.
Setup 'repo' and downloaded the sdk sources.
. build/envsetup.sh
lunch sdk-eng (also tried aosp_arm-eng and aosp_x86-eng)
make adb -> gets me a working linux adb
USE_MINGW=1 make adb -> gets me an adb.exe (and api dlls) but it just does nothing, no output now window1s errors, nothing
The file type seems fine:
file adb.exe
adb.exe: PE32 executable (console) Intel 80386, for MS Windows​
which is the same as an older working adb.exe I downloaed form xda-dveloppers
Any help is much appreciated,
Thanks
How to rebuild adb tool for mac machine?

[Q] Unable to start the emulator

Hi,
I'd like to develop for Android using Qt5. I installed the SDK and the NDK, set the AVD up and tried to launch the Emulator.
If launching the x86_64 machine, the emulator's display is blank (there's only skin).
If launching the x86 machine, I only have the android logo blinking without any progress.
Command line gives the log
Code:
$ ./emulator -avd Androidx86
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: ERROR: _factory_client_recv: Unknown camera factory query name in 'listZ'
emulator: ERROR: _factory_client_recv: Unknown camera factory query name in ''
Killed
The camera is disabled, though. The emulator fails to work no matter if there's snapshotting enabled or not, the same for the "Host GPU" option.
Why does it refuse to work? I'm using Linux Mint 17 with MATE.
check if you setup the right path to the SDK
mlabouardy said:
check if you setup the right path to the SDK
Click to expand...
Click to collapse
I didn't set the path at all. I simply `cd`-ed to the sdk directory and ran the emulator
marmistrz said:
I didn't set the path at all. I simply `cd`-ed to the sdk directory and ran the emulator
Click to expand...
Click to collapse
Search for tutorial "how to set environment variable for SDK path", depend in your machine. Good luck.
Sent from here to there

i want some help with rooting my Fire TV 2 (sloane)

I do not know how to use windows command prompt and ADB and I have little experience installing custom recoveries and roms I would appreciate some help.
Simple.
Find an adb installer, countless links on this site alone gets you that.
In my windows machine, I install adb to c:\adb. I then right click the adb folder then click 'command window here'
If you get no 'command window here', google a registry patch for your os that simply puts 'command window/prompt' here
In the black box that opens, type 'adb devices'
Voila, your now an expert in seeing your device from a different angle, now all you got to do is read everything you can find on this site relating to your device, and follow any instructions., using this black box to type commands which then get sent to your device.

Categories

Resources