Tag Archives: eclipse error

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
1,708 views

Eclipse update failed folder in use

Failed to rename directory …. If using for update Android SDK manager, try close Eclipse if is open. Or change security settings of the folder which have problem. Or disable antivirus for a moment.

Posted in Bugs, warnings, errors | Tagged , | Comments Off on Eclipse update failed folder in use
2,039 views

layout id cannot be resolved or is not a field

1.) check your xml files in res/layout folder if contain errors or warnings, repair this 2.) try comment import R in Activity file // import com.mysite.packagename.R; 3.) every clean and rebuild project

Posted in Bugs, warnings, errors, Eclipse | Tagged , | Comments Off on layout id cannot be resolved or is not a field
2,961 views

Ad baner without GoogleAdMobAdsSdkAndroid-6.4.1 Android example

First: AdView is in XML file <com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto" android:id="@+id/adView" android:layout_width="match_parent" android:layout_height="wrap_content" ads:adUnitId="MY_AD_UNIT_ID" ads:adSize="BANNER"/>   // onResume AdView adView = (AdView)this.findViewById(R.id.adView); AdRequest adRequest = new AdRequest.Builder() .addTestDevice(AdRequest.DEVICE_ID_EMULATOR) .addTestDevice("TEST_DEVICE_ID") .build(); adView.loadAd(adRequest); Second: Using AdView in Fragment with LinearLayout Resolve error in ADT … Continue reading

Posted in Android Examples Code | Tagged , , , | Comments Off on Ad baner without GoogleAdMobAdsSdkAndroid-6.4.1 Android example
6,335 views

R cannot be resolved to a variable

Check your xml files in Eclipse Graphical Editor and fix problems. Check project setup, right click on project, select properties, Java build path and select correct Android version etc. Right click on project, Android Tools, Fix Project Properties Menu Eclipse … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Tagged , | Comments Off on R cannot be resolved to a variable
15,683 views

This version of the rendering library is more recent than

This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in Click on menu Help > Install New Software. In the Work with field, Add: https://dl-ssl.google.com/android/eclipse/ Select: Developer Tools / Android Development … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Tagged | Comments Off on This version of the rendering library is more recent than
4,216 views

How disable Choreographer in LogCat Eclipse Android

choreographer skipped frames Create filter with TAG regex to disable Choreographer messages, see code and picture below: ^((?!Choreographer).)*$

Posted in Bugs, warnings, errors, Eclipse | Tagged | Comments Off on How disable Choreographer in LogCat Eclipse Android
4,519 views

Call requires API level xx current min is xx android

Call requires API level 16 (current min is 4): android Change The SDK version in AndroidManifest.xml to higher <uses-sdk android:minSdkVersion="4" /> // <uses-sdk android:minSdkVersion="8" />

Posted in Android Examples Code | Tagged , , | Comments Off on Call requires API level xx current min is xx android
5,157 views

Eclipse – Java was started but returned exit code=13

Windows 7 64-bit version. Eclipse 64-bit – Java was started but returned exit code=13 Solution: Download and install 64-bit version of JDK http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Posted in Bugs, warnings, errors, Eclipse | Tagged | Comments Off on Eclipse – Java was started but returned exit code=13
5,721 views

AlertDialog setButton Deprecated

Solution: public void alertMy(String sTitle, String sMessage){ AlertDialog.Builder builder = new AlertDialog.Builder(Test.this); // activity builder.setTitle(sTitle) .setMessage(sMessage) .setCancelable(false) .setNegativeButton("Close",new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { dialog.cancel(); } }); AlertDialog alert = builder.create(); alert.show();   }

Posted in Bugs, warnings, errors | Tagged , , | Comments Off on AlertDialog setButton Deprecated