there are three day I'm trying to have a clear solution to start for each platform. Unfortunately, I'm very frustrating because I can't have that. Now in droid project there is a new kind of error:
java.lang.IllegalArgumentException: already added : Landroid/support/v4/view/VelocityTrackerCompat;
I tried to build and rebuild the project a lot of times without success. What have to do?
Then I tried to update my Droid solution but the result is wrong then before.
I googled a bit but obviuosly I can't find a solution or anyone with my same problem. Visual Studio 2015 shows my a lot of errors.
The version of Xamarin Studio is old.
This is the new list of references for the Droid project. I don't know what I can do now...
To resolve this issue, I removed all references from the Droid project and then I reinstalled all references.
Now it's working fine.
Related
I am facing a very strange problem. Everything was working fine before updating Android Studio. I was using version 4.1 but I found the update and updated IDE to version 4.2. Once the IDE is updated, the Android studio started showing lots of errors all of sudden. All the errors are related to Databinding. I am not able to figure it out yet although I have spent 2 days. For reference, you can see the attached logs.
I have updated my Android Studio to 3.0.1. after starting Studio, I get a strange error. I searched whole day, but couldn't find any solution for this. I even uninstalled Studio twice without keeping the old settings, but still facing the same issue. Please help, if anyone has gone through same issue.
Error:Execution failed for task ':myProject:transformResourcesWithMergeJavaResForDebug'.
More than one file was found with OS independent path 'values/dimens.xml'
Other users have been faced to this kind of issue after an Android Studio update to version 3.
Please see this answer and let us know if it solved your problem.
I am working with Xamarin Android, and in the past couple of days have found that I am unable to install components into projects.
I am on Visual Studio 15.3.0 (2017), and basically whenever I add a component, everything looks fine until I close the project and re-open.
Before:
After:
Things I have tried:
Updating Visual Studio
Reinstalling Visual Studio
Deleting everything Xamarin related in C:\Users{Me}\AppData\Local
I have lost two full days of work because of this and am getting a bit desperate, at this point I'm considering reinstalling Windows.
Can anybody provide any insight on why this is happening?
Regards
Android studio is driving me crazy with this error message! Everything was working fine until my PC crashed and ever since Android Studio is throwing compiler errors for my AsyncTaskClass. It's almost as if the android.os.AsyncTask import doesn't do anything all of a sudden. I'm running the latest build tools (25.0.1) and compiling with the latest API (v25). What can I do to fix this and get my AsyncTask working again?
EDIT: To give some background: I've cleaned and rebuilt a dozen times to no avail. I've also tried the solution here but I already had the proper build/API set. Very confused.
The solution was to open Android Studio and select File -> Invalidate Caches/Restart.
I've been having an issue with android studio for the past two weeks, it started happening out of the blue, everything was working juts fine until one day it just wouldn't start, it's display an error for me, I tried doing the following since then:
Reinstall the same version on android studio (which is the latest)
Install different versions of android studio
Restore my computer to a previous date in which everything was working fine
Needless to say that all of the above hasn't worked
Would anyone know how to solve this problem ?
Thanks in advance
After failing to find a solution, I just downloaded Intellij IDEA, it's great and has the same interface as android studio, so I'd advise anyone having issues with android studio to use it