couldn't able to open existing projects in android adt(eclipse) - java

I've a problem in eclipse, i'm getting the following error and i couldn't able to open any existing projects and not able create any new project as well. I've tried restarting eclipse but it's not working.

Finally it worked after I've uninstalled JDK and installed it again. Thank you all

Related

Android Studio freezes/hangs when i try to open anything

Recently I upgraded my Android Studio to 3.1 and also my gradle to 4.4.
Since then android studio doesn't let me open anything. (Any project , any file location, etc). I am able to create a new project but if try opening an existing one it just freezes. And then I have to kill it through Task Manager.
I am also able to open the settings page through welcome wizard. There also I tried to change the gradle version manually, again while browsing to the location it just gets hanged. Same way as above
I tried upgrading the Java version, installing/uninstalling android studio and everything else I can but its the same.
Any help or suggestions will be appreciated
I encountered similar issue. Please check the system Environment Variable, the JAVA_HOME path should be set correctly according to Java installed in your PC; something like this in my PC "C:\Program Files\Java\jdk1.8.0_172"
This resolved the issue for me.
Cheers!
Herbs

Eclipse plugins build issue

The plugin Workspace(java) that I use while working with eclipse is quite big approx 250MB. Everytime I open a fresh eclipse session with the Workspace, it gives me errors. However reloading the target platform plugins just solves the problem.
When most of the projects are closed & eclipse restarted the error that is described above & the projects which show errors previously are not there & the code runs fine.
I am keen to know, what does a reload do different & want to make it possible to open the workspace without any errors.
Using eclipse oxygen solved the issue. The workspace is loaded directly without any error as was with eclipse mars.

Cannot open project structure anymore in Android Studio

I cannot open project structure in Android studio any more. ctrl+shift+alt+s and file -> project structure both are not working. When I try either of these, nothing happens!
I am on Windows 8.1 and have tried deleting the .AndroidStudio folder from the Users folder. It resets everything but it didn't help.
I also tried File Invalidate/Restart -> didn't work :-(
Uninstalling and Reinstalling didn't work either. Any help would be really appreciated.
This happened to me couple of months back, and I solved it by reinstalling my Android studio and sdk. If you still have the AS IDE in your Download folders, try to reinstall it. I hope it help.
try sync project with gradle.
file -> Sync Project with Gradle Files

Android projects not running in eclipse

I am facing a so weird issue with my eclipse. Android projects are not running in my eclipse
I'm using
Eclipse version 4.4 Luna ,
android SDK latest API level 23
(even earlier versions is not working ).It was running well till some days ago , and all other java projects running fine like web and desktop etc..
Whenever I am running the android project it shows the error dialog box, though no errors are there in the project(for a new project also), I have tried clean build, cleared cache, updated eclipse adt , and is there anything left I need to try other than formatting PC?
Well ,after some struggle I have found out what is the actual problem. It was my debug.keystore file.
I have got an error in my console saying Debug certificate expired
Well I have found my debug.keysotre file in here %USERPROFILE%/.android and deleted it. Eclipse itself will generate a new one when compiling a new project. You may need to clean and then build to generate the certificate.
Thanks everyone for your support.
Problem solved !!! :)

Building project in eclipse?

I've looked for an answer, no luck. Looked a lot.
I've downloaded an android example project from a friend, it's all in the correct layout, and the source files are there. Only I wish to open the whole project in eclipse, so that I can run it using the emulator I have installed. However, I cannot seem to be able to do this. I have all versions of android installed, and I have been advised that the files/project are for 2.3 so should be good. Have tried:
File --> New Android Project --> Using the existing file and build path
It suggested to do file --> Import instead, so went there and imported an android project from existing workspace.
It gave this error:
"Project has no default.properties file! Edit the project properties to set one".
Any help is much appreciated!
New version of ADT plugin uses project.properties while older version use default.properties.
Please upgrade ADT plugin. It will work
I had this problem when trying to open one of my projects on a different computer, you need to update the ADT. In Eclipse go to Help > Install New Software. Type in https://dl-ssl.google.com/android/eclipse/ and install the latest versions of everything. Also make sure everything to do with the SDK is up to date!
Try creating a new project from existing source.

Categories

Resources