eclipse error with plugins after update - java

I encountered a problem with
This version of the rendering library is more recent than your version of ADT plug-in.
Please update ADT plug-in
i tried this as learned from: Eclipse reports rendering library more recent than ADT plug-in
1. Click Help > Install New Software.
2. In the Work with field, enter: https://dl-ssl.google.com/android/eclipse/
3. Select Developer Tools / Android Development Tools.
4. Click Next and complete the wizard.
new problem:
An error has occurred. See error log for more details.java.lang.NullPointerException
i tried this on windows cmd ( again through some stackoverflow forums):
eclipse -clean -clearPersistedState
But i have not got any solution
This is new message:
An error has occurred. See error log for more details.com/android/utils/SparseArray
Error log has a lot of messages like:
Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
It shows whenever i try to open any layout xml file
after reverting ( as suggested by aumand) i am back on my first problem again with this msg on graphical layout of xml files ( i dont remember the exact words, but i think issue is something like >>>library i am using is 4.1.2 and the taget has loaded 4.4)
This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in.
Plz help guyz..

Update your DDMS and ADT to latest version form Help>Check For Updates. this solved my problem!

Download and install the Eclipse/ADT bundle from google. Eclipse won't need any updates, and you will only need to run the SDK manager to check for a few updates and install any previous versions you want.
I did this after my initial Eclipse install, with ADT added later, decided it didn't want to run any more (crash on startup). The package works better than the previous stuff, even though they were both up to date.
You can also copy anything from your previous sdk folder to the new one, so you don't have to install it again.

Download Eclipse ADT Bundle its best , go here and download it http://developer.android.com/sdk/index.html and you can run sdk manager to check for any kind of updates.

Related

Cannot update eclipse ADT to 23.0.3 even after trying everything found on google

I am using eclipse for the first time. I copied an adt-bundle and everything worked fine until i connected to the internet. Then every time I open eclipse it says
This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.2.v201403212031-1085508. Please update ADT to the latest version.
I tried to update by going to help>install new software
and used both options
1.archive(by downloading plug in) and
2.work with 'https://dl-ssl.google.com/android/eclipse/'
but end up getting the same error
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.3.1327240 (com.android.ide.eclipse.adt.feature.feature.group 23.0.3.1327240)
Software currently installed: Android Developer Tools 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.package.product 22.0.5.v201307292155--757759)
Only one of the following can be installed at once:
ADT XML Overlay 23.0.3.1327240 (overlay.com.android.ide.eclipse.adt.overlay 23.0.3.1327240)
ADT XML Overlay 22.6.2.v201403212031-1085508 (overlay.com.android.ide.eclipse.adt.overlay 22.6.2.v201403212031-1085508)
Cannot satisfy dependency:
From: Android Development Tools 23.0.3.1327240 (com.android.ide.eclipse.adt.feature.feature.group 23.0.3.1327240)
To: overlay.com.android.ide.eclipse.adt.overlay [23.0.3.1327240]
Cannot satisfy dependency:
From: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508)
To: overlay.com.android.ide.eclipse.adt.overlay [22.6.2.v201403212031-1085508]
Cannot satisfy dependency:
From: ADT Package 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.package.feature.group 22.0.5.v201307292155--757759)
To: com.android.ide.eclipse.adt.feature.group 22.0.5
Cannot satisfy dependency:
From: Android Developer Tools 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.package.product 22.0.5.v201307292155--757759)
To: com.android.ide.eclipse.adt.package.feature.group [22.0.5.v201307292155--757759]
I tried everything, like uninstalling current adt and then installing, installing one at a time, copying files from tools/proguard etc. Nothing worked. Can somebody please help me?
This happened to me couple of times....This happens when you update eclipse ADT. There is nothing you can do to fix it other than download a fresh copy of eclipse ADT .Switch to Android studio . It get updates more frequently and it's easy to code using it. Android studio is still behind eclipse ADT but Google is updating it faster to change that.
Delete the adt folder and install eclipse as given below
Steps for updating eclipse
1. Download eclipse from the official site
2. Download and install jdk latest version
3. After installing the eclipse , Go to Help > Install New Software.
4. Click Add, in the top-right corner.
5. In the Add Repository dialog that appears, enter "ADT Plugin" for the
Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
6. Click OK.
7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
9.Read and accept the license agreements, then click Finish.
10. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
11. When the installation completes, restart Eclipse.

Eclipse does not work after update through Android SDK Manager

I have just updated my eclipse through Android SDK Manager, my eclipse pop out and error about the Android SDK.
This Android SDK requires Android Developer Toolkit version 23.0.0 or above.
Current version is 22.6.2.v201403212031-1085508
When I pressed the button "Check for Updates", the result from eclipse is "No Updates were found."
I am sure that my Android SDK should be 23.0.0 above.
All my project listed in the left corner of above picture contains errors.
I have studied this thread and I found that the "Java build path" was "Unable to get system liberary for the project"
The project was not built since its build path is incomplete
Whenever I tried to add the JRE System Library, it failed beacause of "Could not write file: C:\Users\Admin\workspace\ICEAPP(20140819_uc).classpath."
Can anyone give me so help?
Update the ADT-Plugin in eclipse (Help > Check for updates)
You have to remove the whole installation and reinstall everything again. This update seems to fail always. But reinstall works for all of this issues. With the new version 23. It seems there is a big compatibillity problem unsolved yet.
Check for updated fails but eclipse say it need one update. Also SDK Manager seems to be up to date.
Anyway, even if you get ot working, there still are problems for example with implementation of google play service.
Had a lot of issues by myself and others to, but reinstall solved it

Error when try install plugin

I'm trying to install a plugin in Eclipse Luna. I installed Papyrus and am trying to install SWT designer, but before the download/installation is completed I get an error:
An error occurred during the
org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=epp.package.standard,
phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,
operand=, action=). Error reading signed content. error in opening zip
file
After this error I can't install anything and the install manager does not work anymore and shows me the same error all the time only one way I delete the current Eclipse directory and extract it again.
This time I install Papyrus, SWT designer and some other, but I get the error between install another plugin again. This is wrong if I get an error on install any of plugin reinstalling Eclipse and the other plugin again.
Is this a bug or a problem?
OK finally i found the solution for solve this problem. I don't know why Eclipse is showing me this error and i don't know if this is the best solution. I solve my problem with delete the artifacts.xml file in Eclipse root directory.
After deleting this file try to install that plugin again but this time after few second everything completes and works perfectly.
UPDATE:
If you get that error again then just go to Eclipses' root directory and search for "artifacts.xml" and delete all the files is in the result ;)
Remove the artifacts.xml from the folder.
Keep a copy of it in some other location (preferably external devices such as pendrive or hard disks etc).
Restart Eclipse.
Install the software plugin you want to install (it will ask for permission again).
After installation paste the artifacts.xml file back into the eclipse folder.
Restart eclipse and set the SDK location.
Code to death!!! ;p
Run Eclipse as an administrator, then try to install the plugin again via help->Install New Software. it worked for me
I installed E4 RCP Patch(bugzillas 445122)(Install new software -> Eclipse 4.4.1 Patches for bug 445122) and this helped me.
I ran across this problem while updating eclipse's internal software. I discovered that the jar file org.eclipse.epp.mpc.help.ui_1.5.2.v20161004-1655.jar (found in the error details) in the eclipse plugins directory was corrupted (7-Zip was unable to inspect its contents). I redownloaded and manually replaced this file with one downloaded from their site, and I was then able to install the software without an issue. Hope this helps :)
(If it was a different JAR file for you, you can click "show directory contents" on this page and download the one you need.)
The reason for this error is typically a damaged jar in the bundle pool. You can fix this without manually editing files:
run the Eclipse installer ("Oomph")
select "Bundle pools" from the menu
hit the "Analyze agent" button
wait until the column "Damaged Artifacts" doesn't show a percent number anymore (scanning has finished)
You can now filter the bottom view to show only damaged artifacts, and choose to either delete or repair them (repair means to download them again from the Internet).
Recently i had this issue & i did a few workaround to make things right,
Drag and dropped from official page, normally eclipse restarts after the download, and a pop-up will ask us to select the svn connectors from list. but that didn't happened to me.
Install svn Plugin. (By drag and drop or install new software or any)
After this goto window->preferences->Team->svn
select Connector Tab and click Get connectors Button then the prompt will appear select any one connector to get it done (i use NativeHL 1.8).
I solved this problem by editing the artifacts.xml.
Close Eclipse.
Edit the artifacts.xml.
Find and delete previous entries related to the plugin you are
trying to install.
Save artifacts.xml.
After this you should be able to start Eclipse normally and install your plugin.
I tried many solution from here including the one which says removing artifacts.xml and try installing with opening software with Run as Administrator also tried to install from the Help option "Install new software" none of this worked for me.
Then I updated to the latest version of JDK and it worked perfectly.
I hope this help you.
Thanks.
Vijay P.
org.aspectj.weaver_1.8.10.201704242114.jar
File will be downloaded for google, and it can be placed in eclipse/plugin/org.aspectj.weaver_1.8.10.201704242114.jar can be replaced with older jar file.........it can be solved for your problem...........
Try this from the Eclipse marketplace
1. Click Help>Eclipse marketPlace (Eclipse marketPlace dialog box will open)
2. Type the name of your plugin (ex: type SWT Designer) in the find edit box, make sure to keep default values for All markets and all categories, and click go button.
3. The page will refresh and display all plugins that have swt designer in their name.
4. Click intsall or update button on the one that fits your needs.
5. The installation or update will be done successfully.
6. Restart your eclipse
7. The installation will be fine.
It's a failure in Eclipse.
Try to uninstall it then download it from: https://www.eclipse.org/downloads/
and install it.

Google adt/gwt support for eclipse 4.4 (Luna)

Have anyone gotten the release version of eclipse 4.4 to work with adt(Android development) and/or google web toolkit(gwt).
It seems like the gwt/adt plugins don't works with eclipse 4.4, so is there a secret place to download new versions or should I keep using 4.3 -(
Edit:
The reason I thought adt was not working was that the documentation(http://developer.android.com/sdk/installing/installing-adt.html) says that the plugin is called "ADT Plugin" which it is not.
Google just released its official SDK for Eclipse Luna: https://developers.google.com/eclipse/docs/getting_started
For adt ,
help -> Install new Software ->
https://dl-ssl.google.com/android/eclipse/ -> don't select everything
(it worked that way for me) i selected everything except Native development tools(i guess you don't need them if you debelop in java) and it's working well for me .
well… the gwt plugin actually can not work with luna release since it has a bundle dependency for eclipse core.runtime [3.8.0,3.10.0), here, ")" means it NOT includes 3.10.0 wihich is used in luna, however, it can been get rid of by modifying the osgi bundle file and then it will works fine with luna ,at least for me for now.
1 download the last update site zip file from google eclipse plugin site
2 unpack it
3 then you will need to modify 2 files firstly
an osgi META INF/manifest file included in a jar named *gdt*e42 (sorry, forget the full name, you can find it when you are trying to install the plugin, luna will complain that some dep bundle is missed)that is located in plugins dir, just change core.runtime version from 3.10.0) to 3.10.0]
another one should be contents.jar (maybe artifacts. jar), same above
now you can install the plugin if you have already have the eclipse RCP installed
however, install will failed because the md5 hashing is changed,
finally, copy the expected md5 from error message dialog to replace the old md5 value in artifacts.jar(maybe contents.jar)
now reinstall the plugin ,it should work for now
UPDATED:
maybe you should remove the bundle-version from MANIFEST.MF at com.google.gdt.eclipse.platform.e42 jar
and change the version to "0.0.0" from content.xml at content.jar
If you are using the Help----->Install New Software option, you might encounter this error message just like i did trying to install the Android plugin.
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
error in opening zip file
My solution was to go through Help-->Eclipse Marketplace and then search for "Android" Select the plugin from the search result and install it from there.

Eclipse Incorrectly Claiming I have old Rev of Android SDK

Just to preface this I have searched high and low on the internet trying to find an answer to this problem and have yet to find one, there have been people with similar problems as me but not quite the same.
I have been trying to set up Eclipse with the Android SDK. I installed Eclipse (Classic) first and edited the .ini file to find the correct javaw.exe file. I tested eclipse and it was working fine. Then I downloaded the android sdk bundle extracted it and used the SDK manager to download the necessary SDK tools (Rev. 21) and the Android 2.33 API. After finishing that, I went back into Eclipse, clicked "Install New Software" and in the "Work With" field typed
"https://dl-ssl.google.com/android/eclipse/". From there I installed the Developer Tools and NDK plugins and then when finished restarted Eclipse.
Now when I start Eclipse I get the following error
"This version of ADT requires Android SDK Tools revision 21.0.0 rc9 or above.
Current version is 11.0.0
Please update your SDK Tools to latest version"
I know for a fact I have rev 21, it said it when I downloaded it and when I try to go in and update anything whether it be through Eclipse or through the manager it says there are no updates available. I know I have the latest of both the SDK and ADT and I have also tried using the version of eclipse that came with the sdk but that gives me the same issue.
The only other things which seem to set off red flags to me are
1. When the program loads it shows the following message in the console
"[2012-12-01 18:31:48 - Dex Loader] SecurityException: Unable to find field for dex.jar"
2. When I try and open the SDK manager through eclipse it never opens and the console displays the following message
"[2012-12-01 18:37:07 - SDK Manager] [SDK Manager] Error: Expected verb after global parameters but found 'sdk' instead."
I don't know if either of those two have anything to do with what is causing this issue but I hope someone knows what is going on. If someone could help me figure this out I would greatly appreciate it, thank you in advance.
(For reference sake, I have been following the instalation instructions in this tutorial
http://youtu.be/31cxmLN09ss)
When in the SDK Package Manager, try choosing Packages menu -> Reload. Then you should see Android SDK Tools rev21 available and ready to be updated.
i had the same problem. it occurred because once when I was trying to install the adt plugin few months earlier, the location had been saved. I oversaw the old folder location, mistook it for the current updated one and bam! that was all the reason. try to check back the location for tools folder specified.
As follow up to my previous suggestion, better solution is to modify your sdk location in Windows->Preferences->Android to where you install your ADT bundle. For example, if you install your ADT Bundle under C:\Tools\adt-bundle-windows-x86-20130219, enter C:\Tools\adt-bundle-windows-x86-20130219\sdk.
Doing this also fixes other issue with "Android SDK Manager" not launching from within Eclipse discussed on another thread.
I resolved the issue with Eclipse reporting that I have an older sdk even though I have the latest installed by copying the correct sdk version under "C:\Program Files\Android\android-sdk". First save existing "C:\Program Files\Android\android-sdk\sdk" to say "C:\Program Files\Android\android-sdk\sdk_old", in case you need to revert.
This (above) is sound advice: however I went in eclipse and redefined the android sdk location which apparently was on a different android folder for whatever reason which had outdated files in it and I believe now the situation is fixed I tried it and it worked for me too. Thanks.

Categories