I've been wanting to try using AppEngine in conjuction with my android app. My main problem is i can't seem to get the installation to work corrently, or at least that's what i'm assuming is going wrong.
I installed appengine and all the required plugins with eclipse from the instructions here http://code.google.com/eclipse/docs/appeng_android_install_setup.html But even when i just try run the test project it crashes without error (or at least nothing shows on LogCat or console) when i try and get it to send a message to the webserver and crashes about a minute after just adding a google account on the emulator. Is there any way to fix this that anyone knows of? Or perhaps another tutorial to install, it's getting to the point i'm not really sure where to go from here.
Related
Ive try to send basic Android Build as tutorial says but Im getting this error. PS: I never would made any build before, and every day this message persists. (I`m using the Free account).
build-for-android-device:
[codeNameOne] You have a build in progress within the queue. Only one build may be active at a time
Someone may help me?
Looking at our support logs I think this was an issue that was resolved by a support engineer. The issue was related to an email account containing a + sign in the address specifically name+name#domain.com
Since our system uses emails to identify users this caused some issues and failed to show builds that went thru. So there was a build stuck in queue that never got built...
Restart your IDE, operation system.
You have queue of build right now.
I'm getting
Error: Unable to access jarfile C:\Users\stepa\workspace\sse-chat-java\\activator-launch-1.1.0.jar
when running Markus Jura's Play Framework simple chat application on windows 10 system.
On a Ubuntu machine Markus Jura's Play Framework simple chat application works without any problems.
This is what I tried so far:
reinstalling Typesafe Activator to the currently newest version (2.4.3 - same as on Ubuntu machine)
searching for activator-launch-1.1.0.jar (not present on any of the machines)
searching for someone with same problem
I'm running out of ideas. I appreciate any suggestions.
There are 2 places where you may try to change version. See image below (but please also check another file).
I'm not sure it will fully fix your issue, but it worth a try.
This is a repeat of a question I posted last month that I still haven't resolved. I'm trying to use jcifs in an Android app to talk to my Windows computer, but the app aborts without an error message when it tries to connect to the network. I don't see a problem my code nor the network parameters, and after a month of digging the only hints I've found are the two ideas below.
Can someone verify if either of these are true:
1. The Java SMB will not work in Android. If that is true then which do I have and how do I get the Android version?
2. Putting the jcifs.jar in the libs folder will not work with jcifs. If my program compiles correctly then does that mean the jar is ok?
Trying to use SmbFileInputStream
It works with Android, I am using jcifs-1.3.17.jar
Putting it into the libs folder works for me
Make sure, that you are executing your network code not in your GUI thread. Android does not like that and your app will crash on runtime. As a workaround for now you can add the following before doing your network stuff in the GUI thread:
ThreadPolicy tp = ThreadPolicy.LAX;
StrictMode.setThreadPolicy(tp);
But I highly recommend using this only for testing purposes.
Good day everyone!
I am a graduating student doing Google App Engine-Java Web Application.
My problem is I need to compile/build it so it will run upon click. I've been trying exporting it to a jar file however it outputs no main class.... problem.
I've been looking for other method but internet fails me or maybe i'm not pointing on the right track.
Here's my output whenever I'm using the command line:
its working fine when i'm using eclipse.
Any leads? Sorry if my question is quite silly.
Thanks in advance :))
Firstly you should definitely consider updating your GAE SDK as it seems the defaultZoneTL field was removed from JDK 1.6 U31. Updating the GAE SDK should avoid that problem.
If you can't do that then check http://code.google.com/p/googleappengine/issues/detail?id=6928 and try to implement one of the workarounds suggested. (Essentially launching with -Dappengine.user.timezone.impl=UTC OR -Dappengine.user.timezone=UTC)
I just tried to test my first android app using the emulator, it crashed (as expected). So I load the debug view in Eclipse and now I'm not really sure what I'm looking for...
I see a tab that within the first thread I see a bunch of executions (i guess that's the right word) and they say: Source not found. and has a button that reads Edit Source Lookup Path...
Is there something wrong with my setup here?
No, there's nothing wrong with your setup. My advice is:
As you are still learning Android, use the logcat to catch know what causes your app to crash, instead of using the debugger.
Study how the eclipse debugger works and how to use it (you can learn that writting Java apps, no need of using android)