Tag Archives: eclipse

1,255 views

Eclipse ADT plugin not recent graphical layout editor

Click to Android version combobox – drop down menu and select your version, which just using (have instaled). For example: You updated ADT by SDK manager, but forget to update Android version. You can use lower version from drop down menu, … Continue reading

Posted in Eclipse | Tagged , | Comments Off on Eclipse ADT plugin not recent graphical layout editor
10,653 views

Eclipse Error: Error parsing android-22\android-wear\armeabi-v7a\devices.xml

Issue: Error: Error parsing Program Files\Android\sdk\system-images\android-22\android-wear\x86\devices.xml cvc-complex-type.2.4.d: Invalid content was found starting with element ‘d:skin’. No child element is expected at this point. Error: Error parsing Program Files\Android\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml cvc-complex-type.2.4.d: Invalid content was found starting with element ‘d:skin’. No child element … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Tagged , | Comments Off on Eclipse Error: Error parsing android-22\android-wear\armeabi-v7a\devices.xml
5,956 views

View overrides onTouchEvent but not performClick

public class Panel extends SurfaceView implements SurfaceHolder.Callback { //…………… code //…………… some code /** * Process the MotionEvent. */ @Override public boolean onTouchEvent(MotionEvent event) {   synchronized (getHolder()) { if (event.getAction() == MotionEvent.ACTION_DOWN) { performClick(); } else if (event.getAction() == … Continue reading

Posted in Android Examples Code, Bugs, warnings, errors | Tagged , , , | Comments Off on View overrides onTouchEvent but not performClick
2,062 views

Importing google-play-service library project to workspace issue

Try two way in Eclipse IDE: 1.) Import the library project into your Eclipse workspace. Click File > Import, select Android > Existing Android Code into Workspace, and browse to the copy of the library project to import it. If … Continue reading

Posted in Android Examples Code, Eclipse | Tagged | Comments Off on Importing google-play-service library project to workspace issue
2,536 views

Import project Android Eclipse

Import a new Android project for example downloaded from internet via Eclipse into project folder. Right click into projects explorer in Eclipse and select Import Android Existing Android Code Into Workspace Root Directory (select folder of downloaded project) Check your … Continue reading

Posted in Android Examples Code, Eclipse | Tagged | Comments Off on Import project Android Eclipse
2,116 views

Eclipse Escape text when pasting into a string literal

Window>Preference>Java>Editor>Typing and check the “Escape text when pasting into a string literal“.

Posted in Eclipse | Tagged | Comments Off on Eclipse Escape text when pasting into a string literal
2,335 views

Open Close Hide Project in Eclipse – save memory

Close one project:¨ -right click on project – select Close project Close more projects: – right click on project – select Close Unrelated Projects Hide closed projects: – package explorer – view menu – select Closed projects

Posted in Android Examples Code, Eclipse | Tagged | Comments Off on Open Close Hide Project in Eclipse – save memory
1,944 views

Eclipse – How open deleted project from workspace

If project is in workspace and only not visible in project explorer using this: Click on some project in project explorer Menu: File Import project Existing Projects into Workspace

Posted in Android Examples Code, Eclipse | Tagged | Comments Off on Eclipse – How open deleted project from workspace
2,653 views

setTesting(boolean) from the type AdRequest is deprecated

Admob testing on emulator issue. Android Eclipse code warning: setTesting(boolean) from the type AdRequest is deprecated Solution: adRequest.addTestDevice(AdRequest.TEST_EMULATOR); AdView adView = new AdView(this, AdSize.BANNER, "a14d9……….");//MY_AD_UNIT_ID AdRequest adRequest = new AdRequest(); adRequest.setTesting(true); // deprecated   adRequest.addTestDevice(AdRequest.TEST_EMULATOR); // OK adView.loadAd(adRequest);

Posted in Android Examples Code | Tagged , , | Comments Off on setTesting(boolean) from the type AdRequest is deprecated
3,103 views

Eclipse revert old version Android Development Tools

If you have trouble with compilation of new project after you make a update of android development tools you can go back to old version of the tools. Open Help > About Eclipse… use the menu > About… Click the … Continue reading

Posted in Android Examples Code, Eclipse | Tagged | Comments Off on Eclipse revert old version Android Development Tools