I'm trying to checkout the Mozilla Fennec code and connect it with Eclipse for making some changes and deplyoing it on the device.
I'm referring this link. Visit: https://wiki.mozilla.org/Mobile/Fennec/Android#Connecting_Eclipse_to_Android_Build_tree
I have checked out the whole code and added path as required in mozconfig_values file. When I execute run ./create_projects.pl, it gives me error with:
No command 'run' found, did you mean:
I think I'm mentioning the path in mozconfig_values file as wrong. Please guide me to overcome this problem or tell me how to run "Perl" file on Ubuntu 12.04.
You literally typed run ./create_projects.pl, but that is wrong. Your shell/operating system is complaining rightfully that there is not command run.
Type perl ./create_projects.pl instead.
Type
./create_projects.pl
without anything before it
Related
I'm attempting to install NativeScript with Angular2 with no luck. After installing TNS, I follow the next step which is Step 3. Install iOS and Android requirements in the tutorial and run the following command:
#powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"
However, I get the following error message every time I try it:
The error says: 'powershell' is not recognized as an internal or
external command, operable program or batch file.
My question is what can I do to fix the powershell command and get this installed? Do I have any other alternatives to install this?
Note: My PC is Windows 7 - 64 bit, and I have TNS installed correctly, I will greatly appreciate it if anyone know how to solve this problem. I just want to be able to install Nativescript and Angular2 and get started. Thank you!
UPDATE 1: I added the following to the environment variable: variable path cmd> set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
And I was able to finish the 3rd step on an elevate command prompt. I installed all the android components in accordance to the step, but when I went back to run the tns now I get the following error: tns is not recognized as an internal or external command
What can I do to fix this issue? Do I need to somehow revert the path variable to get the TNS working?
Sounds like you don;t have your environment path set.
You can either try to set your environment path or manually install everything needed for development with NativeScript.
For the first option you can try to set your path with:
cmd> set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
And then try to run the script for the autmated instalation.
If you prefer to install everything "by hand" you can take a look at this article. Installing everything manually can sound intimidating, but at least you will have an idea what exactly you are going to use in the mobile development. When I say installing "by hand" I mean that instead of running the Powershell, you can install all the required dependences one by one (Node.js, JDK, Android SDK, Android build tools and environment path setup)
Add the following to the environment variable: variable path cmd
> set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
This should work.
I am currently using Eclipse to develop Android apps. Following the Android Developer tutorial, they had the option to program using the command line. I am interested in doing it this way but ran into a number of errors. I have tried several solutions available on the internet and I fear that I might have added to many things on my PATH file. None of the solutions have worked for me.
I am very lost with all these directories. Please help for Linux Mint specific distribution.
Key errors to address are:
android: command not found
and
ant debug
Buildfile: build.xml does not exist!
Build failed
I downloaded adt-bundle-linux-x86-20130717.
Update:
I think I managed to get the android command working by hardcoding the following on my bash.bashrc:
/etc/.../sdk/tools
/etc/.../sdk/platform-tools
Please let me know if it is recommended to do this another way.
However, ant debug is still not working.
If ADB is properly in your path, the android command should launch the SDK updater. Here is what I have in my .bashrc
# SDK
PATH=${PATH}:~/android-sdk/tools
PATH=${PATH}:~/android-sdk/platform-tools
You put the environment variable configuration in which files? configuration is completed, use the source command to run the file, or try to restart the computer
I am trying to install the application using ADB. I am getting an error for file path. I checked many times and the path is correct. All other functions I am able to do using ADB like restarting, checking versions etc. but not able to install.
Can anyone help me with that?
make sure that you have not set the path to
C:\...\...\tools\
and change to
C:\...\...\platform-tools
I'm trying to build the V8 javascript engine for Android but I can't succeed for some reason. I follow the instructions given here. It all starts very well. I can issue the make android_arm.release -j8 command from my terminal and it seems very sweet for a while. Then suddenly I get this output:
/bin/sh: 1: /home/dbm/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/*-ar: not found
The statement is correct: there is no *-ar file at the specified location.
But what is an *-ar file? And how can I resolve this error?
The environment is a beast running Ubuntu 12.10 on a 64-bit architecture (with ia32-libs installed) and I build for/with/against Android NDK r8c.
There seems to be a problem in Ubuntu!?
Anyway - extracting via tar -jxf worked for me. See http://code.google.com/p/android/issues/detail?id=41187
The issue lies with the fact that the NDK build system prefixes the platform name to the commands that are run to build the source. If you notice the error you get, the correct platform prefix is missing from *-ar. Somehow, the platform name is being set to * instead of the correct prefix arm-linux-androideabi (giving the correct name arm-linux-androideabi-ar). You'll need to figure out where this information is being skipped. That should fix your problem.
PS. If I get some free time, I'll try and replicate your issue and see if I can give you the exact fix.
Use the 'tar -jxf' to extract the android ndk. If you use the 'Extract here' option, it seems to be leaving out some files.
ar is archive utility from gnu tools. Normally you should have a $NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-ar available in your tool chain. which looks like missing in yours.
I am a Test Engineeer. I am new to Monkey Talk. I have downloaded the Monkey Talk from the site and extracted the zip file.
I ran the MonkeyTalk IDE. I am getting No virtual machines found.... Javaw.exe
How to resolve this?
Thanks
Chandra..
Have you installed the MonkeyTalk agent on your app? If not, check this out: http://www.gorillalogic.com/testing-tools/monkeytalk/documentation/monkeytalk-quick-start
Since you don't have the source code, try using Robotium. Here is a link to their page: http://code.google.com/p/robotium/wiki/QuestionsAndAnswers
This should get you headed in the right direction. Hope this helps! Good luck!
Hii the issue is due to Path that was set up during installation of JDK. Please make sure the path set up is correct. I got the same error while I was trying to install ANT on my system fixing environment variables would solve this issue.