I have been following the steps to create a google app engine app using maven. https://developers.google.com/appengine/docs/java/endpoints/getstarted/backend/auth
I am on the step to deploy using mvn appengine:update but once it gets to the point where it says Updating Google App Engine Application there is a prompt that says Please enter code:. I can not find any documentation on what this code is supposed to be. I can deploy it to the devserver and use localhost:8080 just fine. Does anyone know what this code is supposed to be?
I found the code. I did not realize that Firefox was being opened in the background. From Firefox I was supposed to accept the permissions and it would then supply the code.
Related
I have a doubt, shall we test ios app with .ipa file on mac using appium with out building the app on xcode since its time taking process. Please help me here if we can test with .ipa file itself . Please mention steps if it is possible ....Thanks in Advance
Appium doesn't care where the .ipa is built. It will function exactly the same as if you had built it locally. See the standard documentation for any how-to you're seeking.
I have the Eclipse GAE Plugin keeping memory of a previous Google Authentication and thus not allowing me to upload a GAE app associated to a different account. The strange thing is that I can't find any GAE button at the bottom of My Eclipse Installation (as mentioned in some docs on the Internet). The only thing I have managed to do is to add the --no_cookies option in the upload command which opens a new tab in chrome allowing me to provide the right auth.
Unfortunately this doesn't seem to update the Eclipse configuration so I have to do it at any upload.
How should I fix that?
When I upload using graddle ./gradlew backend:appengineUpdate I get 404 Application does not exist. That's not true. App exist and the app id is fine.
What is the reason of getting this?
This is something that might help if you tried all the other ways found on the internet, but you can aswell try it as the first one.
If you are sure the app id is correct and your app exist this error will sound stupid. In fact this is something related to the ouauth.
Open console and look under your home directory for files starting with .appcfg_oauth2. Delete them.
Now try to reupload your app again. If you use gradle and making a java backend it will look something like
./gradlew mybackendapp:appengineUpdate
At some point you’ll be redirected to the browser, when you should login to proper Google account. When you do that you’ll get some weird string, which they wan’t you to copy into app. But where….? Don’t worry, just get back to the console and paste this into it. The process of uploading should continue and finish… successfully this time.
I have developed an app in Java - Eclipse to upload images to google app engine using Google Picker API. While in development mode it works as it should, when i deploy it to Google app engine, the code stops working (as it does in development mode (stops uploading images to drive)).
I have created a Browser key, and I have that key as API key for the app. Also, in allowed referers, i have it as any referer its allowed.
I suspect that i dont have to show any code, as this isnt a coding issue. If it was, it wouldnt be working in dev mode.
Can you help me out?
I found the error myself.
I read somewhere that an app behaviour in eclipse dev mode could be slightly different than an app behaviour deployed to google app engine.
So, i opened developer tools in chrome, and debugged the application. I found out that a function which wasnt throwing any error in dev mode, was actually throwing a null pointer exception in gae. So I debugged this, and corrected the code that was messing up the code in google app engine.
And now it works.
Have anyone tried to add AndroidMobilePushApp (is provided by AWS) into Eclipse IDE, follow by this tutorial (http://docs.aws.amazon.com/sns/latest/dg/mobile-push-gcm.html) and able to get registrationID for the Amazon Mobile Push app?
I am able to add AndroidMobilePushApp into Eclipse along with 2 extraneous library .jar (android.jar, google-play-service) without any error, created Google API project on Google APIs Console website and copied that project_number into [res/values/strings.xml] according step 3 from the tutorial above. However, when I deploy the application into an Android device (Version 2.3.6 and API level 10), the app does show up,but it doesn't run when I click on...with error says " The application Amazon Mobile Push ( process com.amazonaws.androidtest) has stopped unexpectedly. Please try again! " so It won't able to give me back registration ID as step 4 from the tutorial above.
Any idea why?
Thanks,
Don
I had trouble w/ that sample code also. I finally got AndroidMobilePush to work but not SNSMobilePush in the same tutorial.
Hard to tell what you have done or left out, but I can give you some ideas of where to look:
Check if you have changed package names any place.
I had to declare the PLAY_SERVICES_RESOLUTION_REQUEST = 9000; constant needed in checkPlayServices()
Make sure you have not blocked execution of checkPlayServices and register()
I would set a Log filter to make sure you are at least getting that far. Then, of course, set another to capture the registrationID so you can save it to log.txt. Copy that and supply it to the SNS Console in AWS when you Add Endpoints.
Read carefully Step 3, point 4 and associated image.
If you remove android.jar from the export list, your app will run fine