is there any way to push a commit from android Studio that assigned to a issue that make issue done ?
my Git-lab is on our corporation Local serverand it's version is GitLab Community Edition 8.5.0 I tried:
Closes #issuenumber
Fixes #issuenumber
but these not works and just Gitlab findouts that my issue mentioned in commit.
I found this link with same problem. I also do:
Edit /etc/gitlab/gitlab.rb and add the line gitlab_rails['gitlab_issue_closing_pattern'] = '((?:[Cc]los(?:e[sd]|ing)|[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?#\d+(?:(?:, *| +and +)?))+)'
Run gitlab-ctl reconfigure
but it does not solve the problem.
According to this page on GitLab
When you create a commit with a message starting with ‘Fixes #1’ or 'Closes #1’ and push it to master GitLab will close the issue you referred to. If you create a Merge Request targeting master with commits in it that will close Issues, GitLab will tell you which Issues will be closed.
That should solve your problem
Related
I have a Xamarin for Android app that has been working until today. I needed to make a change but before I did, I ran a test to ensure no VS or Nuget package updates caused an issue. I have Xamarin.Essentials in my app and this line worked before, not sure what is happening now.
if(DeviceInfo.Model == "TC72"){scannerIndex = 1;}
Exception Unhandled:
Xamarin.Essentials.NotImplementedInReferenceAssemblyException: 'This
functionality is not implemented in the portable version of this
assembly. You should reference the NuGet package from your main
application project in order to reference the platform-specific
implementation.'
Any insight would be helpful. TIA
I changed the DeviceInfo.Model to Build.Model and get the same info I was expecting. That fixed my issue. If anyone has a different suggestion, happy to entertain them.
Added 8/11/21 3:25pm CT
I also found that changing my Compile Target to 10.0 fixed the Xamarin.Essentials issues. So far the application is working on 8.1 on the device (Zebra MC3300).
I'm new to NativeScript and took over a project recently upgraded from NativeScript 4 to 6. Here is my environment detials:
Windows 10
Node v16.6.1
NativeScript 8.0.2
Android Studio 11 (with al
the recommended updates to date)
VS Code 1.58.2
I can create a new Native script project with "tns create" and build/run it in the simulator just fine. However, when I try to run the project the build throws the following error:
java.lang.RuntimeException: Class not found android.support.v4.view.ViewPager.OnPageChangeListener
at org.nativescript.staticbindinggenerator.Generator.getClass(Generator.java:551)
at org.nativescript.staticbindinggenerator.Generator.getInterfacesFromCache(Generator.java:534)
at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:283)
at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:171)
at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:234)
at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:121)
at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:97)
at org.nativescript.staticbindinggenerator.Main.main(Main.java:55)
Here is the run command I'm using: "tns run android --emulator"
I have tried tons of things and searches but no luck resolving this issue.
So I had an idea and searched with a different search engine than I normally use. I did find some ideas which helped me resolved the issue.
I had previously searched in VSCode for variations on "android.support.v4.view.ViewPager.OnPageChangeListener", but only found the log file with the error. Then I learned you have to change the filter options of the find in file search otherwise the files you are looking for can be excluded from the search results. I also used Baregrep to confirm I was getting everything.
I fixed the issue by replacing all occurrences of:
android.support.v4.view.ViewPager with androidx.viewpager.widget.ViewPager
Also you may need to install widgets:npm i tns-core-modules-widgets
Since the files where I made the changes were all non-project files (many of them in the node_modules directory) there is probably something else that involves updating Node or NativeScript that may solve this as well.
If someone else figures that out, I'll be watching this thread for updates, and thanks in advance!
Fissh
Hi,I tired to develop Azure Active Directory, But I am facing some issue, I installed Microsoft.Identity.Client NuGet package, but it shows like**"The name 'AuthenticationAgentContinuationHelper' does not exist in the current context**" AuthenticationAgentContinuationHelper.SetAuthenticationAgentContinuationEventArgs(); Please Help me to find the Solution.
I'm not able to find AuthenticationAgentContinuationHelper class in Microsoft.Identity.Client github repo.
By checking the Configuration requirements and troubleshooting tips for Xamarin Android with MSAL.NET, which should be the latest, it's using
AuthenticationContinuationHelper.SetAuthenticationContinuationEventArgs()
You're probably referring an old doc, please check the latest document and update your code accordingly.
Earlier I was attempting to remove a commit from my commit history, and went through some stackoverflow threads doing stuff like rebasing etc.
Now here I am attempting to push a new commit, but I get this error which I feel is because of what I did earlier.
Error rebasing
fatal: update_ref failed for ref 'refs/heads/master': cannot lock ref 'refs/heads/master': ref refs/heads/master is at 9529c90e148e9b2620db0f366587312e75d507b6 but expected 808b9dfbc4141d16a29fadb4bd8171c6fe8f4914
Yes, you need to rebase first and then submit the checklist, currently the local and remote are at different level.
Just save your changed files, in some tmp directory, do the rebase(Menu->VCS->GIT->Rebase).
Once origin and remote are at same level, you may manually copy these files from temp, which will be shown in version control section of android studio. You can rightclick changelist and commit and push.
Regards
Ashish
I'm unable to run even the default App Engine connected Android app, since updating my SDK. I've gone as far as deleting eclipse and all of my libraries and reinstalling them with no success. I've followed Google's tutorial to the letter and verified the validation tool is in my build path. This is the error I'm getting (and yes requestfactory-client.jar is in my library).
dalvikvm(375): Could not find method com.google.web.bindery.requestfactory.vm.RequestFactorySource.create, referenced from method com.Util.getRequestFactory
dalvikvm(375): VFY: unable to resolve static method 84: Lcom/google/web/bindery/requestfactory/vm/RequestFactorySource;.create (Ljava/lang/Class;)Lcom/google/web/bindery/requestfactory/shared/RequestFactory;
I'm completely lost at this point and about to pull some hair out, please help. Thanks
In my case it's an issue with the new ADT 17 and how it handles library projects. This post is a good explanation on how to fix it:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17
I, too, was going crazy on this. Hope this helps.
The validation step can be important too (like you did):
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation