Android Studio not recognizing gradle 2.10 - google-app-engine

This question is kind of two fold, I am trying to update my google app engine backend and i keep getting this error:
:contentbackend:appengineUpdate
Please enter code: Encountered a problem: No line found
I was reading around and saw people saying this issue is related to Android Studio and to just manually trigger appengineUpdate like this:
gradlew contentbackend:apengineUpdate
So everytime i try that im getting this error now:
* What went wrong:
A problem occurred evaluating project ':app'.
> Gradle version 2.10 is required. Current version is 1.12. If using the gradle wrapper, try editing the distributionUrl in C:\Users\nicholas\AndroidStudioProjects\TTWebContent\contentbackend\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip
Now i have gone through my project and module setting and made sure everything points to gradle wrapper version 2.10, but i still get this error when trying to updateAppngine. I am using the appengine plugin version 1.9.34. I am aware that this has all moved to using OAuth2.0 so that what im trying to get configured so i can update the backend using the new sdk. Any help is appreciated. Thanks in advance.
EDIT:
Here is the content of my gradlewrapper.properties
#Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

After a lot of trouble i got this working. So i was trying to execute this command from windows powershell, not understanding the instructions from similiar posts saying to do this manually instead of using Android Studio. I got this to work by using the built in 'terminal' in Android Studio. I always thought when people specified to execute manually they meant outside of Android Studio, I now understand they meant using the terminal built in. This is no longer an issue and it let me enter the OAuth key so i could update my backend.

Related

Codenamone project runs on simulator but not on device

I have built an app with codenameone. Tested on the simulator, everything appears fine. However when I build an app, it does not work well on the device. I use the sqlite database and the app is supposed to download data from the server and put into the local sqlite database. From the behaviour, apparently this is not happening. I have struggled to find a way to debug the app with vey little success.
What is the best wy to proceed?
I have the debug running now on Android Studio. I needed to install build tools version 27 and upgrade the gradle. I should be able to fix this.

Reference System.Windows.Forms

Inside a console application (.net 4.5 using vs 2013), it's just not possible for me to add a reference to this lib.(System.Windows.Forms). Have started the new console proj many times from scratch to no avail. Any clues? this seems like a very simple task... but well, it's anything but. (thanks)
NO there is no such issue with console application when we add reference with Windows.Forms library.
Close your visual studio and try again.
Well.... this was interesting. Started playing with the property settings and set the target framework to 4 client and was finally able to add the library. Tried to run and it didn't, then changed it back to .net 4.5 full and set the build platform target as x86 as someone suggested here on SO... and yes !! it worked. So, basically playing around with those settings got me running, but still think it might have been an environment issue and not the platform itself. ... thanks !

Not able to find Windows.IdentityModel for windows 10 store app development

Is this dll not compatible with windows store app, Or is there any other way to achieve the same.
I tried adding it from nuget package also but not happening, I am getting this error:
"Severity Code Description Project File Line Suppression State
Error Package restore failed. Rolling back package changes for 'Solution'."
As far as I'm concerned, you need to intall the Windows Identity Foundation as well as the WIF SDK and then restart the application for the effect to work.
For Windows 10 device, Windows Identity foundation is not an istall but a Windows feature need to be enabled.
Enter Control Panel from Start menu
Click program and features
Choose turn Windows feature on or off
Choose Winodws Identity Framework, click OK
Restart your machine
A similar question here that could be helpful to you. As Moory said in the comment, he fixed this issue by adding the reference below to the csproj file:: ( .
Please also try it. Thank you.

Unhandled exception in WWAHost in Cordova APP using Angular

I'm currently developing a windows modern app using Foundation for Apps and cordova. The app crashes in many ways during navigation, sometimes even immediately after running it.
The crash is this one
And i can't manage to debug it in any way.
I've tried setting up a window.onerror and a WinJS.Application.onerror catch all function with no results. Apparently the crash happens at a lower level. I've also inspected the event viewer but no info are available.
What happens is apparently similar to this question: How to debug unhandled win32 exception in WinJS Win8 store app which is unfortunately unsolved.
What are my options here?
I had the same issue with Visual Studio 2015, Windows 10 and cordova 5.1.1 when I transfer the project to another dev environment. It only occurs at the Windows-x64 app build configuration for the local machine.
After successful building, the app window launches shortly and after that, the win32 exception like the screenshot from sPoz came up. It was reproducible every time.
I try to repair Visual Studio and also I checked the environment variable from my solution as it is described in this Microsoft Article. But I had no luck.
Nothing helped, but simply open the config.xml file and change the Windows Target Version from "Windows 10" to "Windows 8.1" solved the problem and I could run the app with no error:
After that I can turn back to "Windows 10" and everything is fine. This was reproducable on two dev machines.
I do not exactly know if the moved project was the source of the problem and maybe the rewritten config.xml triggers any rebuild mechanism.
Most likely you are hitting an issue related to DOM Ex WWAHost.exe error on Windows 8.1 (apparently fixed on Win10). There is a workaround that should work for most apps; before you click around and get the WWAHost.exe exception, close the DOM Explorer window. This should enable you to debug by hitting breakpoints, etc. If you need to use DOM Ex against a Windows target, you might need try debugging against a remote device (see Kenneth's suggestion here: Why is Cordova Windows 8 app causing an unhandled win32 exception occurred in wwahost.exe?)
What are you using to develop the app ? The Visual Studio Tools for Apache Cordova ? Or Cordova with CLI ?
If you are using the plugin, you must launch the generated WP project to debug. The debug of WP app is not supported currently with the plugin.
I was getting same error during development of cordova windows tablet application, using Visual Studio Enterprise 2015. So far, I was doing try to close DOM-Explorer and use breakpoints and javascript console. After that, while searching javascript intellisense issues with Visual Studio, I figured out that my problem was fixed. What I did to get rid of this problem is that:
Open Tools > Options
Select Text Editor > Javascript > Intellisense > References
Add following references ( angular.intellisense.js, domWeb.js, domWindows_8.1.js ).
I don't know what are the correct reference files, but with these 3 reference files added, my problem has been solved.

Internet Explorer fails to run Silverlight Apps after BitDefender 2013 Install

I have no idea what's happening here. All I know is that my silverlight web apps ran perfectly after being deployed in December, and now when I open my project and run it it dies with the check manifest error:
Error: Unhandled Error in Silverlight Application
Code: 2103
Category: InitializeError
Message: Invalid or malformed application: Check manifest
I know that silly error, and trust me, I didn't change anything (no names, no namespaces, nothing)
A bit of fiddling in fiddler shows that the following 2 files cannot be found each time the app is loading:
/B1D671CF-E532-4481-99AA-19F420D90332/netdefender/hui/ndhui.css
and
/B1D671CF-E532-4481-99AA-19F420D90332/netdefender/hui/ndhui.js?0=0&0=0&0=0
I am not familiar with those files, and in no area of my app am I reffering to them. I am now wondering if the recent installation of BitDefender 2013 has anything to do with it, or maybe it could be the recent windows update that updated the .NET framework 4.0. I tried editing the anti Phishing feature in fact I turned off all the features in BitDefender with nothing availing. If anyone knows what to do regarding this, I would be most thankful for a tip.
Well then, I was right after all; BitDefender was at fault. I finally made up my mind and decided to uninstall bitDefender 2013. So I ran the BitDefender Uninstall tool I used to uninstall bitDefender 2012. It seemed to have gone through the process ok, then as expected asked for a restart to complete uninstallation. I didn't realize that only the uninstall tool specifically made for bitDefender 2013 could uninstall it. So, after restart bitDefender 2013 was still present and running perfectly. However, the difference now was that visual studio had no problem debugging my applications neither my browsers any problem loading my Silverlight apps either locally or externally.
Weird? Believe it.
From error code 2103, it seems that there is an issue with manifest file. Most probably you have changed namespace. Here are 4 links that might be helpful.
MSDN Blog
One More MSDN Blog
Code Project
StackOverflow Thread

Resources