I recently put Android on my Windows laptop. I want to run Selenium-Webdriver for automation and development. I need Java for Selenium to run this on my Android machine.
This is my first time ever (obviously) putting Android on a laptop and was wondering how to put JDK on it.
I have tried researching this and have had no luck.
Note: I have Termux - so I was able to install everything from NodeJS, Protractor, Selenium, etc.
I tried installing GNURoot Debian as suggested and the application is launching with an error. I have researched the issue and no luck.
Also, the APK file that was in the Stack Overflow answer was invalid.
Related
So I asked this on RaspberryPiExchange but someone there told me to ask here so here it is.
I recently had to reinstall Rasbian on my Raspberry Pi due do something becoming corrupt and apt-get not working. I made sure to backup what I could before I reinstalled. So when I went to reinstall Eclipse and pickup where I left off in one of my Java projects it was very worrying when Java keywords weren't highlighted. I've tried googling to figure out if I skipped a step but it does seem I have. I'm running Jessie 8 with jdk8 that came preinstalled assuming it's the same one you'd get from doing apt-get install. So my question is can anyone help me figure out why it seems Eclipse no longer recognizes Java as a whole. Also, I would like to mention I have already installed the Eclipse Java Development plugin.Here is a screenshot of just a few lines to better show what I'm trying to say Screenshot of an example program screenshot of eclipse
Ok so after updating eclipse using the sudo vnc session when I went back over to the regular vnc session eclipse now finds all java related things
I recently got a new machine and Windows 10, which I've never used. I'm going through the process of re-installing all of my app development software, which includes Git, Java 7, and Android Studio.
I was under the impression that everything installed fine, but I can't actually launch the IDE itself. The launcher is fine and I can go through the steps of creating a project, but whenever I click finish, the screen closes and nothing happens.
I wish I could give more details but that's really all that happens.
Any advice on how to troubleshoot this issue?
Some of my theories:
1) Android Studio doesn't seem to like spaces in path names and gives me warnings when creating projects and installing tools. That seems like a silly issue but it's not impossible I guess. It doesn't like "Program Files" or my username which is my full name, but Windows 10 by default names accounts "FirstName Lastname" and I can't seem to change the username to a string without a space.
2) Android Studio is not detecting Java (7). Perhaps it got the wrong location for the Java SDK since I installed them at the same time? Other people seem to have encountered a similar issue, but I would think that I at least get an error.
3) It's just some dumb tiny bug and I have to reinstall Android Studio.
Any help is appreciated, I want to get to work.
Java 7 is outdated. Download the java 8 JDK. http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html
Set your java path variables accordingly.Environment variables for java installation
Make sure you downloaded and installed the version of android studio
that included the SDK, if not download it separately. https://developer.android.com/studio/index.html#downloads
Set your path variables accordingly. Android Studio - How to Change Android SDK Path
I have Kinect for xbox. I have installed Kinect SDK.
I am trying to program Kinect using Java in Eclispe IDE. I have tried several tutorials. I have installed:
openni-win64-1.5.4.0-dev.msi
nite-win64-1.5.2.21-dev.msi
SensorKinect092-Bin64-v5.1.2.1.msi
sensor-win64-5.1.2.1-redist.msi
and it didn't work, when I run NiSimpleRead it open and then close immediately.
also I have tried to install all above but win32 and it also didn't work.
I have installed ZigFuOpenNI.exe and the problem still exists.
I have tried the tutorial installation of J4K library using the instructions in this site:
http://research.dwi.ufl.edu/ufdw/j4k/eclipse.php
and also it is not working it seems that there is problem with jogl and gluegen-rt native libraries because when I open the folders in the Package Explorer they are empty, but I am following the instructions correctly.
In my case, Kinect only works with Processing 2.2.1. I have tried the examples in this program using SimpleOpenNI and it works.
My question is how can I connect Kinect to Java in Eclipse.
I would be very much appreciated for helping me.
I'm an intern and I'm new to automation. I am trying to familiarize myself with the mobile application automation tool 'appium'. I'm running a windows machine. I found a few sample appium tests using junit here. these tests are for the built-in android / iOS apps, for now I am only concerned with the android ones. I do realize that these apps where written on a MAC machine and I have changed it for my windows machine.
My Issue, however, is to find the .apk's locations for the built in apps on the eclipse emulator so that I can use it in my test.
I hope I've provided enough information. Any help would be appreciated.
Try looking in this location on mac:
/Users/<username>/.android/avd/
There should be 2 files for each emulator you created, *.avd and *.ini
You can always run the manager for the emulators by doing on the terminal:
/<path_to_android_sdk>/android avd
This should list all the emulators you have created. If you cant do via terminal just find the android exe and see if you can open the avd manager via the GUI.
Not sure about windows but my guess would be a hidden folder with the same type of files. Try a global search or some local user directory. I had to manually delete an emulator when it started acting up and those files did the trick.
So, I need to open an eclipse project in my computer. The project was build on a mac and my computer runs windows. Its seems like there is some code missing and when I try to run the app on my avd, I get “Unfortunately, has stopped.”
Any idea ?
Thanks
Android (Java) code has nothing to do with Windows or Mac machines - I'm guessing either your JDK versions are different between the two, or (more likely) you have a different version of the Android SDK. Therefore, you have different versions of the AVD, so your app doesn't nicely transfer. I would suggest running in debug mode and showing us the stack trace, so we can give more helpful information.