- How to sign my debug code the same way as the production code - This way it's possible to work on the Eclipse debug version without need to do 'Export' all the time.
Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts
Wednesday, December 4, 2013
Notes on using Google Play Game Services
Here are few tips & tricks that helped me [on going post]:
Labels:
Eclipse,
Google Play Services
Wednesday, May 15, 2013
Error after updating Android's ADT 22 plug-in on Eclipse
After updating to the latest ADT version on Eclipse Juno, Windows 7, I got the following error:
Solution: To my best of understanding the ADT plugin is trying to change files in location the current user can't. I'm sure there are better solutions, but this is the quickest:
1. Go to folder 'C:\Program Files (x86)\Android\'
2. Right click on 'android-sdk' => 'Properties' => 'Security'
3. Click on 'Users' and then 'Edit', and add 'Full Control' and hit 'OK'
After Windows finish changing the permissions, restart Eclipse.
Error Loading the SDK: Error: Error parsing the sdk. Failed to create C:\Program Files (x86)\Android\android-sdk\build-tools
Solution: To my best of understanding the ADT plugin is trying to change files in location the current user can't. I'm sure there are better solutions, but this is the quickest:
1. Go to folder 'C:\Program Files (x86)\Android\'
2. Right click on 'android-sdk' => 'Properties' => 'Security'
3. Click on 'Users' and then 'Edit', and add 'Full Control' and hit 'OK'
After Windows finish changing the permissions, restart Eclipse.
Thursday, November 22, 2012
Eclipse: Unable to find Action Set
Problem: After updating Eclipse my Android plug-in stopped working. Checking a bit more, all my Eclipse plug-ins stopped working (they even didn't appear in the Help->About windows).
In the errors log window (Window->Show View->Error Log) I saw the error "Unable to find Action Set" for all the plug-ins. For example, the Android plug-ins errors:
Unable to find Action Set: adt.actionSet.lint
Unable to find Action Set: adt.actionSet.avdManager
Unable to find Action Set: adt.actionSet.refactorings
Unable to find Action Set: adt.actionSet.wizards
Solution: I checked many options, bottom line, the problem was solved in my case when I've uninstalled (Help->About->Installation Details) a package called: Object Teams Patch for JDT/Core
In the errors log window (Window->Show View->Error Log) I saw the error "Unable to find Action Set" for all the plug-ins. For example, the Android plug-ins errors:
Unable to find Action Set: adt.actionSet.lint
Unable to find Action Set: adt.actionSet.avdManager
Unable to find Action Set: adt.actionSet.refactorings
Unable to find Action Set: adt.actionSet.wizards
Solution: I checked many options, bottom line, the problem was solved in my case when I've uninstalled (Help->About->Installation Details) a package called: Object Teams Patch for JDT/Core
Labels:
Eclipse
Monday, August 13, 2012
Eclipse autocomplete doesn't work
After formatting my computer I had to reinstall everything. When I started to work with my new Eclipse Juno on my Android project the autocomplete didn't work.
It took my few searches on Google to find the answer, so I'll improve that page pagerank so others can find it faster. The answer is here.
Labels:
Eclipse
Monday, August 23, 2010
Android hangs: "Waiting For Debugger"
I developed an application that worked just fine, and then it started to hang with the message: "Waiting For Debugger". Even when I disconnected the device from the computer the application insisted that it's waiting for the debugger...
Solution:
1. Restart Eclipse [it's probably not needed].
2. Restart the Android device.
Solution:
1. Restart Eclipse [it's probably not needed].
2. Restart the Android device.
Friday, August 20, 2010
Android requires .class compatibility set to 5.0. Please fix project properties.
I've created a new workspace in Eclipse & imported an Android project.
* Issue #1:
Android requires .class compatibility set to 5.0. Please fix project properties.
* Solution:
1. Fix project:
Package Explorer ->
Right click the project ->
"Android Tools" -> "Fix Project Properties"
2. Restart Eclipse:
"File" -> "Restart"
* Issue #2: The following error appears many times
The method xyz() of type ABC must override a superclass method
* Solution:
1. Fix the project again:
Package Explorer ->
Right click the project ->
"Properties" -> "Java Compiler" -> "Compiler Compliance Level" = 1.6
* Issue #1:
Android requires .class compatibility set to 5.0. Please fix project properties.
* Solution:
1. Fix project:
Package Explorer ->
Right click the project ->
"Android Tools" -> "Fix Project Properties"
2. Restart Eclipse:
"File" -> "Restart"
* Issue #2: The following error appears many times
The method xyz() of type ABC must override a superclass method
* Solution:
1. Fix the project again:
Package Explorer ->
Right click the project ->
"Properties" -> "Java Compiler" -> "Compiler Compliance Level" = 1.6
Thursday, August 12, 2010
Eclipse hangs during building Android projects workspace
Problem: Eclipse kept on hanging during auto-building Android projects.
I found a resource which said (escalating solutions):
1. Clean the projects.
2. Create a new workspace & import all projects.
3. Reinstall Eclipse
After trying 1 & 2, I found the following weird solution:
- Remove the auto-build (Project => Build Automatically). Kill the Eclipse (since it hangs...)
- Restart Eclipse.
- Delete the 'gen' folder of all the projects (using the Package Explorer)
- Project => Clean (clean all projects)
- Build the projects
Don't know why it worked (at least until now).
I found a resource which said (escalating solutions):
1. Clean the projects.
2. Create a new workspace & import all projects.
3. Reinstall Eclipse
After trying 1 & 2, I found the following weird solution:
- Remove the auto-build (Project => Build Automatically). Kill the Eclipse (since it hangs...)
- Restart Eclipse.
- Delete the 'gen' folder of all the projects (using the Package Explorer)
- Project => Clean (clean all projects)
- Build the projects
Don't know why it worked (at least until now).
Android/Eclipse: Project 'MyProject' is missing required source folder: 'gen'
I'm having lots of problems with my Eclipse (when I'll solve them I'll write about it).
Anyhow, after creating a new project in a new workspace I get the following error:
Project 'MyProject' is missing required source folder: 'gen'
After building the project there's a second error:
The project cannot be built until build path errors are resolved
A temporary solution: in the Package Explorer delete gen folder. Rebuilding the project again will fix the problem. Why it's temporary? you'll have to do it with every new project.
Anyhow, after creating a new project in a new workspace I get the following error:
Project 'MyProject' is missing required source folder: 'gen'
After building the project there's a second error:
The project cannot be built until build path errors are resolved
A temporary solution: in the Package Explorer delete gen folder. Rebuilding the project again will fix the problem. Why it's temporary? you'll have to do it with every new project.
Wednesday, June 16, 2010
Project wouldn't run after importing to Eclipse
With the following error message:
"The selection cannot be launched, and there are no recent launches"
I got it for my Android project, but it's not limited to android.
Since I'm newbie to Eclipse I started to googling but I couldn't find a solution. Playing with the UI got me to the right place:
In the main menu: "Run" -> "Run configurations..."
Double click the project type you want (in my case "Android Application") & select the project you want to run.
"The selection cannot be launched, and there are no recent launches"
I got it for my Android project, but it's not limited to android.
Since I'm newbie to Eclipse I started to googling but I couldn't find a solution. Playing with the UI got me to the right place:
In the main menu: "Run" -> "Run configurations..."
Double click the project type you want (in my case "Android Application") & select the project you want to run.
Subscribe to:
Posts (Atom)