Category Archives: Eclipse

Eclipse for Java Android developers

3,419 views

Android Studio Browse Files Data Device Emulator

1.) Open DDMS via Menu Tools > Android > Android Device Monitor 2.) Select Device 3.) In DDMS click Menu Window > Show View > File Exlporer 4.) Device > Storage folder 5.) Emulator > data > data folder

Posted in Android Studio, Eclipse | Comments Off on Android Studio Browse Files Data Device Emulator
1,103 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
9,494 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
4,604 views

Installation error: INSTALL_FAILED_CONTAINER_ERROR

1.) Try delete some apps from Android emulator (can from Eclipse DDMS perspective – File Explorer tab – data/apps folder path ) 2.) Try resize emulator internal storage or SD card storage to hight size 3.)Try add to AndroidManifest.xml android:installLocation=”preferExternal” … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Tagged | Comments Off on Installation error: INSTALL_FAILED_CONTAINER_ERROR
1,927 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,185 views

Set theme of AdActivity to @android:style/Theme.Translucent

AndroidManifest.xml <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" />

Posted in Android Examples Code, Bugs, warnings, errors, Eclipse | Tagged , , | Comments Off on Set theme of AdActivity to @android:style/Theme.Translucent
2,802 views

Admob ad not visible on Android Emulator

Try this solution: AdView adView = new AdView(getApplicationContext());//in menu inflater getActivity() adView.setAdUnitId("ca-app-pub-87***yourNumber"); adView.setAdSize(AdSize.BANNER); LinearLayout linLay = (LinearLayout)findViewById(R.id.idReklamaLayout); // Add the adView to it linLay.addView(adView); // Initiate a generic request to load it with an ad if(Build.MANUFACTURER.equals("unknown")) { // Emulator AdRequest.Builder.addTestDevice("B3EEABB8EE11C2BE770B684D95219ECB"); … Continue reading

Posted in Android Examples Code, Bugs, warnings, errors, Eclipse | Tagged , , | Comments Off on Admob ad not visible on Android Emulator
2,448 views

Unable to execute dex: Multiple dex files define Eclipse Android

Try each step separately: Restart Eclipse Clean project and rebuild Create a new project and try it if the problem persists, if no move copy project to other folder, delete project from workspace , create new project same name and … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Comments Off on Unable to execute dex: Multiple dex files define Eclipse Android
1,932 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,399 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